sof/tools/ctl
Seppo Ingalsuo d013fbc6d7 Tools: Add current sof_abi_hdr struct print capability to sof-ctl
This patch adds command line option "-g" to generate and with help
of options "-o <file>" to store the current ABI version header data
into file. Use "-b" to change the default CSV format to binary.

It is used by external tools to create configuration data blobs for
SOF audio processing components.

The parameter for size is the configuration data payload size with
the size of sof_abi_hdr struct excluded. It does not impact the
the length of printed header. It just places the length into the
correct location in the header.

This patch also fixes the permissions of file output. The mode
need to be provided for open() to avoid having no access to
created file and allow overwrite of existing file.

Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
2019-09-13 10:25:58 +01:00
..
CMakeLists.txt tools: ctl: dump header information from CSV and DSP data 2019-06-05 10:04:39 +01:00
README ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01:00
ctl.c Tools: Add current sof_abi_hdr struct print capability to sof-ctl 2019-09-13 10:25:58 +01:00
eq_fir_flat.txt ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01:00
eq_fir_loudness.txt ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01:00
eq_fir_mid.txt ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01:00
eq_fir_pass.txt ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01:00
eq_iir_bandpass.txt ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01:00
eq_iir_bassboost.txt ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01:00
eq_iir_flat.txt ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01:00
eq_iir_loudness.txt ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01:00
eq_iir_pass.txt ctl: rename sof-eqctl to sof-ctl 2019-06-05 10:04:39 +01: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.