On Wed, 2020-04-22 at 00:05 +0300, Daniel Baluta wrote:
On Tue, Apr 21, 2020 at 11:59 PM Ranjani Sridharan ranjani.sridharan@linux.intel.com wrote:
On Tue, 2020-04-21 at 23:55 +0300, Daniel Baluta wrote:
Hi Tomasz,
Running aplay I get this timeout, on kernel side:
sof-audio-of 3b6e8000.dsp: error: ipc timed out for 0x60040000 size 12 This is the command for SOF_IPC_STREAM_TRIG_START.
Hi Daniel,
Do you have any further logs in dmesg? Usually, timeouts are followed by any DSP FW exceptions IIRC. Is the DSP still after you see the timeout?
Indeed, it could make sense that DSP has crashed. The infrastructure for traces when DSP crashes is not quite implemented on IMX.
Let me try to add something adhoc.
Trace on the kernel side is not very helpful:
60.140624] sof-audio-of 3b6e8000.dsp: error: ipc timed out for 0x60040000 size 12 [ 60.148212] sof-audio-of 3b6e8000.dsp: error: waking up any trace sleepers [ 60.155150] Port0: ASoC: trigger FE cmd: 1 failed: -110 [ 60.155433] sof-audio-of 3b6e8000.dsp: error: trace IO error [ 60.684636] sof-audio-of 3b6e8000.dsp: error: ipc timed out for 0x60050000 size 12 [ 60.692227] sof-audio-of 3b6e8000.dsp: error: waking up any trace
You could try sedning a "ping" with the FLOOD_TEST IPC if you have the debug option enabled to check quickly if the DSP is still alive.
Thanks, Ranjani