Skip to content

Conversation

@fredoh9
Copy link
Collaborator

@fredoh9 fredoh9 commented Nov 5, 2020

Extend manifest replace extended FW boot data(in fw_ready section). This is obsolete from SOF firmware.

Fixes : #2491

@fredoh9
Copy link
Collaborator Author

fredoh9 commented Nov 13, 2020

I checked with SOF FW v1.6 and v1.5.1.
Without sdev->info_windows, there are many IPC errors. This prevent having sof soundcard. I will close this PR.

[    9.140006] sof-audio-pci 0000:00:0e.0: error: have no window info
[    9.140096] sof-audio-pci 0000:00:0e.0: ipc rx done: 0x70000000: FW_READY
[    9.140126] sof-audio-pci 0000:00:0e.0: firmware boot complete

[    9.140768] sof-audio-pci 0000:00:0e.0: error: reply expected 12 got 0 bytes
[    9.140881] sof-audio-pci 0000:00:0e.0: error: ipc error for 0x90030000 size 12
[    9.140958] sof-audio-pci 0000:00:0e.0: error: can't set params for DMA for trace -22
[    9.141172] sof-audio-pci 0000:00:0e.0: warning: failed to initialize trace -22
[    9.141579] sof-audio-pci 0000:00:0e.0: created machine sof_pcm512x
[    9.141590] sof-audio-pci 0000:00:0e.0: Completing SOF PCI probe
[    9.174622] sof-audio-pci 0000:00:0e.0: loading topology:intel/sof-tplg/sof-apl-pcm512x.tplg
[    9.176148] sof-audio-pci 0000:00:0e.0: Topology: ABI 3:17:0 Kernel ABI 3:18:0
[    9.176178] sof-audio-pci 0000:00:0e.0: tplg: ready widget id 0 pipe 1 type 23 name : PCM0P stream Low Latency Playback 0
[    9.176194] sof-audio-pci 0000:00:0e.0: loaded host PCM0P
[    9.176204] sof-audio-pci 0000:00:0e.0:  config: periods snk 2 src 0 fmt 0
[    9.176227] sof-audio-pci 0000:00:0e.0: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW
[    9.680074] sof-audio-pci 0000:00:0e.0: error: ipc timed out for 0x30010000 size 92
[    9.680164] sof-audio-pci 0000:00:0e.0: info: preventing DSP entering D3 state to preserve context
[    9.680179] sof-audio-pci 0000:00:0e.0: status: fw entered - code 00000005
[    9.680261] sof-audio-pci 0000:00:0e.0: invalid header size 0x1010000. FW oops is bogus
[    9.680372] sof-audio-pci 0000:00:0e.0: error: unexpected fault 0x00000000 trace 0x00004000
[    9.680456] sof-audio-pci 0000:00:0e.0: error: hda irq intsts 0x00000000 intlctl 0xc0000000 rirb 00
[    9.680537] sof-audio-pci 0000:00:0e.0: error: dsp irq ppsts 0x00000000 adspis 0x00000000
[    9.680621] sof-audio-pci 0000:00:0e.0: error: host status 0x4b9d100c dsp status 0x00000000 mask 0x00000000
[    9.680716] sof-audio-pci 0000:00:0e.0: error: DSP failed to add widget id 0 type 23 name : PCM0P stream Low Latency Playback 0 reply 0
[    9.680829] sof-audio-pci 0000:00:0e.0: ASoC: failed to load widget PCM0P
[    9.680894] sof-audio-pci 0000:00:0e.0: ASoC: topology: could not load header: -110
[    9.681017] sof-audio-pci 0000:00:0e.0: error: tplg component load failed -110
[    9.683623] sof-audio-pci 0000:00:0e.0: error: failed to load DSP topology -22
[    9.683714] sof-audio-pci 0000:00:0e.0: ASoC: error at snd_soc_component_probe on 0000:00:0e.0: -22
[    9.683797] sof-audio-pci 0000:00:0e.0: ASoC: failed to probe component -22
[    9.684056] sof_pcm512x sof_pcm512x: ASoC: failed to instantiate card -22
[    9.691177] sof_pcm512x: probe of sof_pcm512x failed with error -22

@fredoh9 fredoh9 closed this Nov 13, 2020
@fredoh9 fredoh9 reopened this Nov 16, 2020
Use explicit number to define elem_type eunm instead of using
SOF_IPC_EXT_*.

Signed-off-by: Fred Oh <fred.oh@linux.intel.com>
@fredoh9 fredoh9 force-pushed the fix/clean_config_data branch from bf4b822 to 763f291 Compare November 16, 2020 22:11
@fredoh9 fredoh9 changed the title [DONOT Merge] Clean up parsing the extended FW boot data ASoC: SOF: ext_manifest: use explicit number for elem_type Nov 16, 2020
@fredoh9
Copy link
Collaborator Author

fredoh9 commented Nov 16, 2020

I dropped cleaning up extended data after fw_ready because it breaks backward compatibility. But setting explicit numbers for ext manifest enum is good to go.

@fredoh9 fredoh9 requested review from ktrzcinx and lyakh November 16, 2020 22:16
@kv2019i kv2019i merged commit 958115a into thesofproject:topic/sof-dev Nov 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ext_manifest: clean up IPC extended data and handle PROBE_INFO

4 participants