-
Notifications
You must be signed in to change notification settings - Fork 349
Description
Describe the bug
Hi, I'm trying an Elkhart lake CRB devkit, with slimbootloader and ubuntu 22.04.5 (kernel 6.8). This board uses an I2S codec (rt5660). When it tries to load SOF firmware, it panics on init:
[ 21.606869] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040100
[ 21.606897] sof-audio-pci-intel-tgl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 21.607522] sof-audio-pci-intel-tgl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[ 21.607764] sof-audio-pci-intel-tgl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[ 21.615420] sof-audio-pci-intel-tgl 0000:00:1f.3: use msi interrupt mode
[ 25.636581] sof-audio-pci-intel-tgl 0000:00:1f.3: codec #2 probe error, ret: -5
[ 25.636790] sof-audio-pci-intel-tgl 0000:00:1f.3: NHLT_DEVICE_I2S detected, ssp_mask 0x1
[ 25.636796] sof-audio-pci-intel-tgl 0000:00:1f.3: no hda codecs found!
[ 27.943913] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware paths/files for ipc type 0:
[ 27.943927] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware file: intel/sof/sof-ehl.ri
[ 27.943933] sof-audio-pci-intel-tgl 0000:00:1f.3: Topology file: intel/sof-tplg/sof-ehl-rt5660.tplg
[ 27.945350] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware info: version 2:0:0-b678a
[ 27.945358] sof-audio-pci-intel-tgl 0000:00:1f.3: Firmware: ABI 3:20:0 Kernel ABI 3:23:0
[ 27.945372] sof-audio-pci-intel-tgl 0000:00:1f.3: unknown sof_ext_man header type 3 size 0x30
[ 28.850584] sof-audio-pci-intel-tgl 0000:00:1f.3: cl_dsp_init: timeout with rom_status_reg (0x80000) read
[ 28.850607] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 28.850613] sof-audio-pci-intel-tgl 0000:00:1f.3: Boot iteration failed: 3/3
[ 28.850618] sof-audio-pci-intel-tgl 0000:00:1f.3: fw_state: SOF_FW_BOOT_IN_PROGRESS (3)
[ 28.850635] sof-audio-pci-intel-tgl 0000:00:1f.3: 0x06000021: module: ROM, state: CSE_IPC_RESET_PHASE_1, waiting for: CSE_CSR, running
[ 28.850666] sof-audio-pci-intel-tgl 0000:00:1f.3: extended rom status: 0x6000021 0x0 0x0 0x0 0x0 0x0 0x25401c8 0x0
[ 28.850671] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 28.850694] sof-audio-pci-intel-tgl 0000:00:1f.3: error: dsp init failed after 3 attempts with err: -110
[ 28.850790] sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to start DSP
[ 28.850795] sof-audio-pci-intel-tgl 0000:00:1f.3: error: failed to boot DSP firmware -110
[ 28.905151] sof-audio-pci-intel-tgl 0000:00:1f.3: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
[ 28.905168] sof-audio-pci-intel-tgl 0000:00:1f.3: error: dsp core reset failed: core_mask 1
[ 28.905644] sof-audio-pci-intel-tgl 0000:00:1f.3: error: sof_probe_work failed err: -110
To Reproduce
Simply startup ubuntu 22.04.5 on this board, with enabled AUDIO DSP
Reproduction Rate
Always
Expected behavior
SOF DSP firmware intel/sof/sof-ehl.ri successfully startup DSP
Impact
No audio
Environment
-
Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: the official ubuntu 22.04.5 kernel (I have tried with 6.8.0-59-generic, then 6.8.0-40-generic; also I built a kernel -40 based named -41 for my convenience where I print some debug info)
-
Name of the topology file
- Topology: intel/sof-tplg/sof-ehl-rt5660.tplg
-
Name of the platform(s) on which the bug is observed.
- Platform: intel CRB