[Sound-open-firmware] logger & Zephyr
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
I remember you were working on something about logging.
Also, if it is working can you point me the source versions are you using.
thanks, Daniel
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
participants (2)
-
Daniel Baluta
-
Kai Vehmanen