[Sound-open-firmware] logger & Zephyr
Kai Vehmanen
kai.vehmanen at linux.intel.com
Mon Feb 7 13:59:18 CET 2022
Hi,
On Thu, 3 Feb 2022, Daniel Baluta wrote:
> Hi Marc,
>
> Is sof-logger and logging system working with sof/zephyr?
>
> For i.MX8 i get this error:
>
> [ 15.513398] sof-audio-of-imx8m 3b6e8000.dsp: error: can't set
> params for DMA for trace -19
> [ 15.524768] sof-audio-of-imx8m 3b6e8000.dsp: warning: failed to
> initialize trace -19
there are some quirks with sof-logger (most notably that you cannot see
messages from Zephyr, just the SOF side traces), but otherwise it should
work. The main bit was enabled with "trace: add _log_nodict() and enable
DMA trace for Zephyr".
The Zephyr side traces are visible via "etrace" (SRAM window), but not via
sof-logger.
In future, for platforms with DMA drivers in Zephyr upstreams, a Zephyr
DMA log backend could be also used with SOF and this would allow to get
both OS and SOF application traces via the same "delivery path" (and using
same dictionary to parse the traces).
Br, Kai
More information about the Sound-open-firmware
mailing list