-
Notifications
You must be signed in to change notification settings - Fork 302
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG][JSL]Failed to load FW on JSL #8625
Comments
@keqiaozhang I tried sof-v2.2 but it still doesn't work. |
I think something odd here as IIRC I2S and HDA may be using the same pins. I've also not seen both HDA and I2S codec used together on a device at the same time. There are codecs that can switch between I2S mode and HDA mode though,.
e.g. the NHLT is data supplied by the OEM and it can occasionally contain data errors and this makes me suspicious the NHLT is wrong.
@Henrythek are you able to describe the HW in more detail. What codec HDA or I2S does the device use, if its HDA you will need to override the NHLT data. @plbossart @ujfalusi fyi. |
@lgirdwood The device use ES8336 as IIS codec, here is the APIC NHLT DSDT, please check. |
Very interesting. I have one JSL device uses a ES8336 as HDA codec and I installed sof-bin
|
Something more fundamental is not quite right here. We are failing to enable DSP cores so the firmware is not even booting up.
The DSP is just not powered up.
|
I am with @ujfalusi it's more likely to be a power or signature issue. We've got countless reports of issues with ES8336, but it's mostly about the codec configuration. This is more of an ACPI or DSP configuration issue. I note that the kernel is not the mainline or stable, it's a derivative of 6.3,
so the first order of business is to update to the 6.6 kernel and re-check. We can't support a kernel we know nothing about. |
@plbossart The same in kernel 6.6. |
@Henrythek, can you please add create
It looks to me that the DSP control register is constant 0xffffffff, bits are not transitioning to 0. |
@ujfalusi The dmesg after add /etc/modprobe.d/sof-dyndbg.conf is here, please check: |
Thanks for the kernel log, it confirms my suspicion:
HDA_DSP_REG_ADSPCS never changes from 0xffffffff. |
Thank you for all the support. After further confirmation, it has been discovered that the issue is due to the absence of IIS in this Intel chip model. |
Describe the bug
The sof DSP failed to boot and the dmesg shows FW Poll Status: reg[0x4]=0xffffffff
timedout on JSL.
The problem looks like #4916 but the error code is different.
To Reproduce
Select to use sof on JSL.
Reproduction Rate
10/10
Expected behavior
DSP firmware boots normally and the start-up process goes on.
Impact
firmware boot failure.
Environment
Screenshots or console output
[ 4.523805] snd_sof_intel_hda_common:hda_dsp_core_reset_enter: sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xffffffff successful
[ 4.574055] snd_sof_intel_hda_common:hda_dsp_core_power_down: sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xffffffff timedout
[ 4.574062] sof-audio-pci-intel-icl 0000:00:1f.3: error: hda_dsp_core_power_down: timeout on HDA_DSP_REG_ADSPCS read
[ 4.574066] sof-audio-pci-intel-icl 0000:00:1f.3: error: dsp core power down fail mask 3: -110
[ 4.574069] snd_sof_intel_hda_common:hda_dsp_cl_boot_firmware: sof-audio-pci-intel-icl 0000:00:1f.3: Attempting iteration 2 of Core En/ROM load...
[ 4.574075] snd_sof_intel_hda_common:hda_dsp_core_power_up: sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xffffffff successful
[ 4.624432] snd_sof_intel_hda_common:hda_dsp_core_reset_leave: sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xffffffff timedout
[ 4.624440] sof-audio-pci-intel-icl 0000:00:1f.3: error: hda_dsp_core_reset_leave: timeout on HDA_DSP_REG_ADSPCS read
[ 4.624444] sof-audio-pci-intel-icl 0000:00:1f.3: error: dsp core start failed -110
[ 4.624449] sof-audio-pci-intel-icl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 4.624450] sof-audio-pci-intel-icl 0000:00:1f.3: Boot iteration failed: 3/3
[ 4.624452] sof-audio-pci-intel-icl 0000:00:1f.3: fw_state: SOF_FW_BOOT_IN_PROGRESS (2)
[ 4.624457] sof-audio-pci-intel-icl 0000:00:1f.3: 0xffffffff: unknown ROM status value
[ 4.624476] sof-audio-pci-intel-icl 0000:00:1f.3: extended rom status: 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff 0xffffffff
[ 4.624478] sof-audio-pci-intel-icl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 4.624485] snd_sof_intel_hda_common:hda_dsp_core_reset_enter: sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xffffffff successful
[ 4.674531] snd_sof_intel_hda_common:hda_dsp_core_power_down: sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x4]=0xffffffff timedout
[ 4.674540] sof-audio-pci-intel-icl 0000:00:1f.3: error: hda_dsp_core_power_down: timeout on HDA_DSP_REG_ADSPCS read
[ 4.674544] sof-audio-pci-intel-icl 0000:00:1f.3: error: dsp core power down fail mask 3: -110
[ 4.674547] sof-audio-pci-intel-icl 0000:00:1f.3: error: dsp init failed after 3 attempts with err: -5
[ 4.674566] sof-audio-pci-intel-icl 0000:00:1f.3: Failed to start DSP
[ 4.674568] sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to boot DSP firmware -5
[ 4.674571] snd_sof:sof_set_fw_state: sof-audio-pci-intel-icl 0000:00:1f.3: fw_state change: 2 -> 3
[ 4.725086] snd_sof_intel_hda_common:hda_dsp_core_reset_enter: sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x4]=0x1d003c timedout
[ 4.725094] sof-audio-pci-intel-icl 0000:00:1f.3: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
[ 4.725098] sof-audio-pci-intel-icl 0000:00:1f.3: error: dsp core reset failed: core_mask 3
[ 4.725293] snd_sof:sof_set_fw_state: sof-audio-pci-intel-icl 0000:00:1f.3: fw_state change: 3 -> 0
[ 4.725296] sof-audio-pci-intel-icl 0000:00:1f.3: error: sof_probe_work failed err: -5
dmesg1.log
The text was updated successfully, but these errors were encountered: