K3CONF(1)

πŸ’– NAME πŸ’–

okay so welcome to the manual page for k3conf, bestie β€” it lives in section 1 of the General Commands Manual, and its whole government name is k3conf - TI K3 Configuration Diagnostic Tool. that's it, that's the name, slay. ✨


πŸŽ€ SYNOPSIS πŸŽ€

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

πŸ¦‹ DESCRIPTION πŸ¦‹

so like, k3conf is a standalone application, and its whole vibe is being a quick'n easy way to diagnose / debug / audit the configuration of TI K3 based architecture processors at runtime. and the iconic part? it has no particular kernel dependency. periodt.

it's designed to be as platform-agnostic as possible β€” like, it can run on any Linux platform, and it's easy to port to literally any other OS. and even though k3conf today focuses on TISCI related functionality, it's intended for any other area too. main character energy that keeps its options open πŸ’…


πŸ‘‘ 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 🌈

here's the whole menu, no cap. every single one:

  • k3conf show hosts β€” prints all the available TISCI hosts
  • k3conf show threads β€” prints all available TISCI threads
  • k3conf show device β€” prints all 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 clock for corresponding device id
  • k3conf show processor β€” prints all the available TISCI processors
  • k3conf show rm β€” prints the 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 TISCI devices
  • k3conf dump device <dev_id> β€” prints device status of corresponding TISCI device
  • k3conf dump clock β€” prints clock status of all TISCI devices
  • k3conf dump clock <dev_id> β€” prints clock status of corresponding TISCI device.
  • k3conf dump parent_clock <dev_id> <clk_id> β€” prints the clock parent of corresponding clock
  • k3conf dump processors β€” prints status of all available processors
  • k3conf dump processor <dev_id> β€” prints status of corresponding processor
  • k3conf dump rm [OPTIONS] β€” prints resource allocation for all utypes / hosts
  • k3conf dump rm [OPTIONS] <type> β€” prints resource allocation for corresponding utype
  • k3conf dump rm [OPTIONS] <type> <subtype> β€” prints resource allocation for corresponding type and subtype

and the OPTIONS for dump rm are:

  • -h <host_id> β€” filter only corresponding host_id πŸ”
  • k3conf enable device <dev_id> β€” enables TISCI device and prints the status
  • k3conf enable clock <dev_id> <clk_id> β€” enables TISCI clock and prints the status
  • k3conf disable device <dev_id> β€” disables TISCI device and prints the status
  • k3conf disable clock device <dev_id> <clk_id> β€” disables TISCI clock and prints the status
  • k3conf set clock <dev_id> <clk_id> <freq> β€” sets TISCI clock's frequency and prints the status
  • k3conf set parent_clock <dev_id> <clk_id> <freq> β€” sets the parent clock for a clock mux and prints the mux status
⚠️ bestie, refer to the following documentation for preconditions before you go touching this one: http://downloads.ti.com/tisci/esd/latest/2_tisci_msgs/pm/clocks.html#power-management-clock-frequency-configure http://downloads.ti.com/tisci/esd/latest/2_tisci_msgs/pm/clocks.html#tisci-msg-set-clock-parent
  • k3conf read <addr> [<size>] β€” no. of bits to be read is given in the size argument. expected input size is 8,16,32,64. prints the value at the specified io memory 🧚
  • k3conf write <addr> <val> [<size>] β€” no. of bits to be written is given in the size argument. expected input size is 8,16,32,64. writes the value at the specified io memory

and that's the whole page, fr fr. this was K3CONF(1) from the General Commands Manual β€” that's the section 1, general commands girlies. thanks for reading, ily, go diagnose something gorgeous πŸ’œπŸ«Ά

πŸ“¦ where this page comes from