This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

[FAQ] TDA4VM: K3conf: Capabilities with options(help)

Part Number: TDA4VM

The k3conf readme does not give out the details of its usage. Can we have all the options and arguments?
A dump of help file.

  • Hello,

    Here is a dump of k3conf help from the target:

    k3conf --help

    |--------------------------------------------------------------------------------|
    | VERSION INFO |
    |--------------------------------------------------------------------------------|
    | K3CONF | (version v0.1-64-g48cb8e8 built Fri Dec 16 11:42:13 UTC 2022) |
    | SoC | J7200 SR1.0 |
    | SYSFW | ABI: 3.1 (firmware version 0x0008 '8.5.2--v08.05.02 (Chill Capybar)') |
    |--------------------------------------------------------------------------------|


    NAME
    k3conf - TI K3 Configuration Diagnostic Tool

    SYNOPSIS
    k3conf [--host <id>] [--version] [--help] [--cpuinfo] <command> [<args>]

    DESCRIPTION

    k3conf is standalone application designed to provide a quick'n easy way to
    diagnose/debug/audit TI K3 architecture based processors configuration at
    runtime, with no particular kernel dependency.
    k3conf is designed to be as much platform-agnostic as possible, being able to
    run on any Linux platform and easily ported to other OS.
    Even if k3conf today focuses mainly on TISCI related functionality, it is
    intended to be extended to any other area.

    OPTIONS
    --host <id>
    Use this host id for communicating with sysfw

    --help
    Print k3conf help.

    --version
    Print k3conf version.

    --cpuinfo
    Print the host processor information.

    COMMANDS

    k3conf show hosts
    Prints all the available TISCI hosts

    k3conf show threads
    Prints all the available TISCI secure proxy threads

    k3conf show device
    Prints all the available TISCI devices

    k3conf show device <dev_id>
    Prints the corresponding device id information

    k3conf show clock
    Prints all the available TISCI clocks

    k3conf show clock <dev_id>
    Prints the clocks for corresponding device id

    k3conf show processor
    Prints all the available TISCI processors

    k3conf show rm
    Prints resources managed by System firmware

    k3conf show rm <dev_id>
    Prints resources managed by System firmware for corresponding device

    k3conf dump device
    Prints device status of all the TISCI devices

    k3conf dump device <dev_id>
    Prints the corresponding device id status

    k3conf dump clock
    Prints clock status all the available TISCI clocks

    k3conf dump clock <dev_id>
    Prints the available clock status for corresponding device id

    k3conf dump processor
    Prints status of all the available TISCI processors

    k3conf dump processor <proc_id>
    Prints status of the given TISCI processors

    k3conf dump rm [OPTIONS]
    Prints resource allocation for all utypes / hosts

    k3conf dump rm [OPTIONS] <type>
    Prints resource allocation for corresponding type

    k3conf dump rm [OPTIONS] <type> <subtype>
    Prints resource allocation for corresponding device/type

    [OPTIONS]
    -h <host_id>
    Filter only for corresponding host_id

    k3conf enable device <dev_id>
    Enables the TISCI device and prints the status

    k3conf enable clock <dev_id> <clk_id>
    Enables the TISCI clock and prints the status

    k3conf disable device <dev_id>
    Disables the TISCI device and prints the status

    k3conf disable clock <dev_id> <clk_id>
    Disables the TISCI clock and prints the status

    k3conf set clock <dev_id> <clk_id> <freq>
    Sets the clock frequency and prints the status

    k3conf read <addr>
    Prints the value at the specified io memory

    k3conf write <addr> <val>
    Writes the value at the specified io memory

    Best Regards,
    Keerthy