Repository navigation
Description
Describe the bug
The sof DSP failed to boot and the dmesg shows FW Poll Status: reg[0x80000]=0x80000012 timedout on JSL.
The problem looks like #2888 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
- Kernel: 5.14.7
- SOF: 1:9:0-fa857
- Platform: JSL
Screenshots or console output
[ 6.833291] sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x80000]=0x80000012 timedout
[ 6.833296] sof-audio-pci-intel-icl 0000:00:1f.3: error: cl_copy_fw: timeout HDA_DSP_SRAM_REG_ROM_STATUS read
[ 6.833824] sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x160]=0x140000 successful
[ 6.833866] sof-audio-pci-intel-icl 0000:00:1f.3: unknown ROM status value 80000012
[ 6.833888] sof-audio-pci-intel-icl 0000:00:1f.3: error: extended rom status: 0x80000012 0x2c 0x0 0x0 0x0 0x0 0x2100186 0x0
[ 6.833890] sof-audio-pci-intel-icl 0000:00:1f.3: error: load fw failed ret: -110
[ 6.833917] sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to reset DSP
[ 6.833919] sof-audio-pci-intel-icl 0000:00:1f.3: error: failed to boot DSP firmware -110
[ 6.884371] sof-audio-pci-intel-icl 0000:00:1f.3: FW Poll Status: reg[0x4]=0x1d003c timedout
[ 6.884375] sof-audio-pci-intel-icl 0000:00:1f.3: error: hda_dsp_core_reset_enter: timeout on HDA_DSP_REG_ADSPCS read
[ 6.884378] sof-audio-pci-intel-icl 0000:00:1f.3: error: dsp core reset failed: core_mask 1
[ 6.884658] sof-audio-pci-intel-icl 0000:00:1f.3: error: sof_probe_work failed err: -110
Activity
keqiaozhang commentedon Oct 26, 2021
I found the same issue on ADLP chrome laptop. Our device is running with UbuntuOS, so I tested with latest kernel/sof-dev+ sof/master branch. This is not the key error and I have added
i915.force_probe=46a8to grub boot option.Full dmesg is attached:
dmesg.txt
mengdonglin commentedon Oct 26, 2021
@yangxiaohua2009 Can you clone https://github.com/thesofproject/sof-bin/? Please try 2 firmware binaries:
@keqiaozhang I feel the problem you observe on ADL-P Chrome book may be a different one. There is no "W Poll Status: reg[0x80000]=0x80000012" in your test. Can you please try adl-002 debug-signed FW release?
plbossart commentedon Oct 26, 2021
@yangxiaohua2009 are you using a JSL device with ES8336? We've got a similar report here thesofproject/linux#3210 of the same problem (EDIT closed as duplicate of #4916)
@keqiaozhang @mengdonglin I don't think we should add ADL information here, this cannot be the same issue and I don't think it's a Chrome problem either.
keqiaozhang commentedon Oct 27, 2021
yes, I have tried adl-002 debug-signed firmware binary, same one which chrome team is using, but this issue is still there.
I checked with Sathya yesterday, he also checked the coreboot image(except ubuntu payload) provide by Meera, adl-002 debug-signed firmware can be loaded with that coreboot under ChromeOS, so it seems like not a coreboot issue but something related to our driver or firmware.
keqiaozhang commentedon Oct 27, 2021
Sure, I will file a new bug to track the issue on ADLP and remove the adlp information form this bug.
keqiaozhang commentedon Oct 27, 2021
A new bug #4923 has been filed to track the issue on ADLP.
plbossart commentedon Nov 5, 2021
@lgirdwood @mwasko this problem was reproduced by @hli25, it would appear the firmware was signed either with the wrong key, wrong masks or wrong CSE tools.
mwasko commentedon Nov 8, 2021
@plbossart the JSL 1.9 FW signature looks ok, but I will take a closer look on that
4 remaining items
plbossart commentedon Nov 15, 2021
@tomty89 thanks for testing, much appreciated.
the latest code we have to support Intel platforms with the ES83316 device is here: thesofproject/linux#3107
You would need to pick this branch and install a custom kernel.
If you can give it a try and report your findings in thesofproject/linux#2955 that would be great.
tomty89 commentedon Nov 15, 2021
@plbossart I already did (please see the linked comment above to see what exactly I've applied), and the result is above -- I get an analog alsa device, but no sound actually coming out (other than the pops mentioned).
plbossart commentedon Nov 15, 2021
@hli25 did you get audible sound on the JSL platform you tested, if yes can you share the alsamixer settings used?
hli25 commentedon Nov 17, 2021
Please try to set "DAC" to 100 via alsamixser @tomty89
tomty89 commentedon Nov 17, 2021
Nope, it doesn't help (it's 100 by default anyway). And toggling/adjusting other mixer controls doesn't seem to help either. Btw I don't know if it's expected but there's no master volume control. There are only the Headphone and Speaker switches and the Headphone Mixer volume control (and a bunch of other whatsoever).
lgirdwood commentedon Nov 17, 2021
@tomty89 can you run
amixer contentsduring playback and paste the output here, it could be we are missing one mixer control setting.tomty89 commentedon Nov 19, 2021
marc-hb commentedon Nov 19, 2021
Please go to thesofproject/linux#2955 or file a different bug for problems happening after loading the firmware.
marc-hb commentedon Nov 19, 2021
v1.9.2 has been merged in sof-bin.git
All older
intel-signed/sof-jsl.rifiles had been signed with the(ICL Intel prod key)sof_ri_info: add JSL Intel prod key to list of known keys
olidietzel commentedon Dec 6, 2021
plbossart commentedon Dec 6, 2021
try thesofproject/linux#3107 and file a separate issue if this doesn't work for you.