sof/tools/ctl
Peter Ujfalusi 3bc70b6251 sof-ctl: Add initial support for handling blobs for IPC4
For IPC4 we are re-using the sof_abi_hdr to encapsulate the blob from/to
user space with minor deviation from IPC3:
- ABI magic is different
- the type is used as param_id in IPC4 (it carries the same functionality)

The IPC type can be specified with -i and defaults to 3 (IPC3).

-p is added as a new option for param_id, but -t and -p will do the same
thing.

After reading a blob, print a message for unexpected ABI magic number, but
do not block the execution.

To generate a header for 100 bytes payload:

For IPC3:
sof-ctl -g 100 -t 2
sof-ctl -i 3 -g 100 -t 2

For IPC4:
sof-ctl -i 4 -g 100 -p 2

Signed-off-by: Peter Ujfalusi <peter.ujfalusi@linux.intel.com>
2023-02-10 10:53:55 +00:00
..
ipc3 Tools: sof-ctl: Move IPC3 examples to subdirectory 2023-02-08 12:01:32 +02:00
ipc4 Tools: sof-ctl: Add IPC4 EQ blobs for testing 2023-02-08 12:01:32 +02:00
CMakeLists.txt
README
ctl.c sof-ctl: Add initial support for handling blobs for IPC4 2023-02-10 10:53:55 +00:00

README

How to use sof-ctl tool
=========================

This tool helps to access the ext bytes or tlv bytes control of SOF
components (like equalizer eq_iir and eq_fir). Please find the documentation
in https://thesofproject.github.io/latest/getting_started/index.html for
more information.