Describe the bug
Currently SOF Zephyr builds use "TEXT" logging output by default.
One alternative to text logging is the MIPI SYS-T Catalog logging backend which is found in Zephyr upstream:
zephyrproject-rtos/zephyr#19841
https://docs.zephyrproject.org/latest/samples/subsys/logging/syst/README.html
There are currently some issues enabling this build with SOF:
To Reproduce
Add following to work/sof/app/prj.conf
CONFIG_LOG_BACKEND_ADSP_MTRACE=y
CONFIG_LOG_BACKEND_ADSP_MTRACE_OUTPUT_SYST=y
CONFIG_LOG_MIPI_SYST_ENABLE=y
CONFIG_LOG_MIPI_SYST_USE_CATALOG=n
And rebuild SOF. Capture log with "mtrace-reader.py" to a file "dsplog.bin" and post-process with upstream mipi-syst tools like:
systprint -c ../../work/build-tgl/zephyr/mipi_syst_collateral.xml dsplog.bin
Reproduction Rate
100%
Expected behavior
Sys-T Catalog logging can be enabled for all support logging backends.
Impact
Inability to use more effiecient standard dictionary format.
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: n/a
- SOF: e7fc334
- Zephyr: 7d54586751cfe405d2cdcfd850f8100bc9844f63
- Name of the topology file
- Name of the platform(s) on which the bug is observed.
Screenshots or console output
Describe the bug
Currently SOF Zephyr builds use "TEXT" logging output by default.
One alternative to text logging is the MIPI SYS-T Catalog logging backend which is found in Zephyr upstream:
zephyrproject-rtos/zephyr#19841
https://docs.zephyrproject.org/latest/samples/subsys/logging/syst/README.html
There are currently some issues enabling this build with SOF:
To Reproduce
Add following to work/sof/app/prj.conf
And rebuild SOF. Capture log with "mtrace-reader.py" to a file "dsplog.bin" and post-process with upstream mipi-syst tools like:
systprint -c ../../work/build-tgl/zephyr/mipi_syst_collateral.xml dsplog.bin
Reproduction Rate
100%
Expected behavior
Sys-T Catalog logging can be enabled for all support logging backends.
Impact
Inability to use more effiecient standard dictionary format.
Environment
Screenshots or console output