[Sound-open-firmware] Problems booting byt in qemu

Dragos Tarcatu dragos_tarcatu at mentor.com
Thu Jun 6 08:39:08 CEST 2019


Hi Kai,

Thanks for the hint!

On 05.06.2019 14:29, Kai Vehmanen wrote:
>>      [    3.070623] sof-audio-acpi 80860F28:00: booting DSP firmware
>>      [    3.172697] sof-audio-acpi 80860F28:00: error: firmware boot failure
>>      [    3.176674] sof-audio-acpi 80860F28:00: error: unexpected fault
>>      0x70028800 trace 0x00000000
> First a simple test to do is to increase the boot timeout in
> driver loader.c:
>
> »       ret = wait_event_timeout(sdev->boot_wait, sdev->boot_complete,
> »       »       »       »        msecs_to_jiffies(sdev->boot_timeout));
>
> I did hit occasionally that the DSP-side QEMU was too slow to respond
> and simply bumping this timeout help.

Indeed, after increasing the values for the default ipc and boot 
timeouts (TIMEOUT_DEFAULT_IPC_MS, TIMEOUT_DEFAULT_BOOT_MS, 
IPC_TIMEOUT_MS) I got it it to boot. I'm still getting errors when 
loading the topology, though:

[    6.143276] sof-audio-acpi 80860F28:00: Firmware: ABI 3:7:0 Kernel 
ABI 3:7:0
[    6.143505] sof-audio-acpi 80860F28:00: found ext header type 1 size 0xa0
[    6.143545] sof-audio-acpi 80860F28:00:  mailbox upstream 0x144000 - 
size 0x400
[    6.143547] sof-audio-acpi 80860F28:00:  mailbox downstream 0x144400 
- size 0x400
[    6.143548] sof-audio-acpi 80860F28:00:  stream region 0x144a00 - 
size 0x200
[    6.143552] sof-audio-acpi 80860F28:00: ipc rx done: 0x70000000
[    6.143600] sof-audio-acpi 80860F28:00: firmware boot complete
[    6.143611] sof-audio-acpi 80860F28:00: generating page table for 
000000002b80db03 size 0x10000 pages 16
[    6.143612] sof-audio-acpi 80860F28:00: dma_trace_pages: 16
[    6.143616] sof-audio-acpi 80860F28:00: stream_tag: 0
[    6.175313] sof-audio-acpi 80860F28:00: error: ipc error for 
0x90030000 size 12
[    6.175818] sof-audio-acpi 80860F28:00: error: can't set params for 
DMA for trace -22
[    6.176265] sof-audio-acpi 80860F28:00: warning: failed to initialize 
trace -22
[    6.176269] sof-audio-acpi 80860F28:00: ASoC: dai register 80860F28:00 #3
[    6.176270] sof-audio-acpi 80860F28:00: ASoC: dynamically register 
DAI 80860F28:00
[    6.176272] sof-audio-acpi 80860F28:00: ASoC: Registered DAI 'ssp0-port'
[    6.176273] sof-audio-acpi 80860F28:00: ASoC: dynamically register 
DAI 80860F28:00
[    6.176274] sof-audio-acpi 80860F28:00: ASoC: Registered DAI 'ssp1-port'
[    6.176275] sof-audio-acpi 80860F28:00: ASoC: dynamically register 
DAI 80860F28:00
[    6.176276] sof-audio-acpi 80860F28:00: ASoC: Registered DAI 'ssp2-port'
[    6.176325] sof-nocodec sof-nocodec: info: override FE DAI link NoCodec-0
[    6.176326] sof-nocodec sof-nocodec: info: override FE DAI link NoCodec-1
[    6.176327] sof-nocodec sof-nocodec: info: override FE DAI link NoCodec-2
[    6.176328] sof-nocodec sof-nocodec: ASoC: binding NoCodec-0
[    6.176332] sof-nocodec sof-nocodec: ASoC: binding NoCodec-1
[    6.176333] sof-nocodec sof-nocodec: ASoC: binding NoCodec-2
[    6.176358] sof-audio-acpi 80860F28:00: loading 
topology:intel/sof-tplg/sof-byt-nocodec.tplg
[    6.182808] sof-audio-acpi 80860F28:00: Topology: ABI 3:7:0 Kernel 
ABI 3:7:0
[    6.182832] sof-audio-acpi 80860F28:00: ASoC: adding 11 DAPM widgets
[    6.182864] sof-audio-acpi 80860F28:00: ASoC: creating DAPM widget 
codec_out0 id 1
[    6.182888] sof-audio-acpi 80860F28:00: tplg: ready widget id 0 pipe 
1 type 1 name : codec_out0 stream none
[    6.182890] sof-audio-acpi 80860F28:00: warning: widget type 1 name 
codec_out0 not handled
[    6.182902] sof-audio-acpi 80860F28:00: ASoC: creating DAPM widget 
PCM0P id 11
[    6.182925] sof-audio-acpi 80860F28:00: tplg: ready widget id 1 pipe 
1 type 23 name : PCM0P stream Low Latency Playback 0
[    6.182937] sof-audio-acpi 80860F28:00: loaded host PCM0P
[    6.182949] sof-audio-acpi 80860F28:00:  config: periods snk 2 src 0 
fmt 0
[    6.183174] sof-audio-acpi 80860F28:00: ipc tx: 0x30010000
[    8.216550] sof-audio-acpi 80860F28:00: error: ipc timed out for 
0x30010000 size 76
[    8.217275] sof-audio-acpi 80860F28:00: error: unexpected fault 
0x70028800 trace 0x00000000
[    8.217683] sof-audio-acpi 80860F28:00: error: DSP failed to add 
widget id 0 type 23 name : PCM0P stream Low Latency Playback 0 reply 0
[    8.218139] sof-audio-acpi 80860F28:00: ASoC: failed to load widget PCM0P
[    8.218419] sof-audio-acpi 80860F28:00: error: tplg component load 
failed -110
[    8.218810] sof-audio-acpi 80860F28:00: error: failed to load DSP 
topology -22
[    8.219179] sof-audio-acpi 80860F28:00: ASoC: failed to probe 
component -22
[    8.219472] sof-nocodec sof-nocodec: ASoC: failed to instantiate card -22



More information about the Sound-open-firmware mailing list