-
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 firmware on JSL #4916
Comments
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
Full dmesg is attached: |
@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? |
@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. |
yes, I have tried adl-002 debug-signed firmware binary, same one which chrome team is using, but this issue is still there. |
Sure, I will file a new bug to track the issue on ADLP and remove the adlp information form this bug. |
A new bug #4923 has been filed to track the issue on ADLP. |
@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. |
@plbossart the JSL 1.9 FW signature looks ok, but I will take a closer look on that |
@yangxiaohua2009 @tomty89 @systematicat can you unzip this file |
@marc-hb fyi - will need a release update. |
Indeed it looks like JSL was signed with the ICL key:
|
@plbossart Yeah the errors are gone with the firmware you linked. However, I can't actually get proper sound out of my laptop when I have kernel 5.15.2 patched in the way I mentioned in thesofproject/linux#3210 (comment). All I get is a "pop" when the device is opened (when on headphone) and closed. (But well, I suppose I'll won't actually use the internal card anyway unless a driver from the codec vendor is mainlined...) |
@tomty89 thanks for testing, much appreciated. the latest code we have to support Intel platforms with the ES83316 device is here: thesofproject/linux#3107 If you can give it a try and report your findings in thesofproject/linux#2955 that would be great. |
@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). |
@hli25 did you get audible sound on the JSL platform you tested, if yes can you share the alsamixer settings used? |
Please try to set "DAC" to 100 via alsamixser @tomty89 |
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). |
@tomty89 can you run |
This comment has been minimized.
This comment has been minimized.
Please go to thesofproject/linux#2955 or file a different bug for problems happening after loading the firmware. |
v1.9.2 has been merged in sof-bin.git
All older |
Extracted from https://github.com/thesofproject/sof-bin/blob/main/v1.9.x/sof-v1.9.2/intel-signed/sof-jsl.ri Note previous sof-jsl.ri releases were signed with the ICL key: thesofproject#4916 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
Extracted from https://github.com/thesofproject/sof-bin/blob/main/v1.9.x/sof-v1.9.2/intel-signed/sof-jsl.ri Note previous sof-jsl.ri releases were signed with the ICL key: #4916 Signed-off-by: Marc Herbert <marc.herbert@intel.com>
This comment has been minimized.
This comment has been minimized.
try thesofproject/linux#3107 and file a separate issue if this doesn't work for you. |
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
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
dmesg2.log
The text was updated successfully, but these errors were encountered: