Repository navigation
[Lenovo] Update with Meteorlake support not working on (proto system) ROM status: 0xd000000c, ROM error: 0x97 #8281
Copy link
Copy link
Closed
Labels
BootFirmware boot or code signing related.Firmware boot or code signing related.MTLApplies to Meteor Lake platformApplies to Meteor Lake platformP1Blocker bugs or important featuresBlocker bugs or important featuresROM error 0x97FW boot failure with ROM debug error 0x97FW boot failure with ROM debug error 0x97bugSomething isn't working as expectedSomething isn't working as expectedrimageIssues related to rimageIssues related to rimage
Description
Describe the bug
We've got our hands on early MTL HW and are working on bringing up Linux.
Audio wasn't working. Now with the newer sof-bin release adding support available, we tried that - but get the following error message.
I'm limited in what information I can share on this platform on a public forum (as it's not released yet), so if needed please ping me by email (mpearson-lenovo at squebb . ca is best, but markpearson,lenovo,com works if a Lenovo email is preferred).
[ 4.857331] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if info 0x040380
[ 4.857798] sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 4.858250] sof-audio-pci-intel-mtl 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040380
[ 66.901114] sof-audio-pci-intel-mtl 0000:00:1f.3: couldn't bind with audio component
[ 66.901196] sof-audio-pci-intel-mtl 0000:00:1f.3: init of i915 and HDMI codec failed
[ 66.903098] sof-audio-pci-intel-mtl 0000:00:1f.3: use msi interrupt mode
[ 66.939494] sof-audio-pci-intel-mtl 0000:00:1f.3: hda codecs found, mask 1
[ 66.939498] sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[ 66.939502] sof-audio-pci-intel-mtl 0000:00:1f.3: DMICs detected in NHLT tables: 2
[ 66.945277] sof-audio-pci-intel-mtl 0000:00:1f.3: Loaded firmware library: ADSPFW, version: 2.7.0.1
[ 69.948767] sof-audio-pci-intel-mtl 0000:00:1f.3: hda_cl_copy_fw: timeout with rom_status_reg (0x180000) read
[ 69.948779] sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ DSP dump start ]------------
[ 69.948781] sof-audio-pci-intel-mtl 0000:00:1f.3: Firmware download failed
[ 69.948783] sof-audio-pci-intel-mtl 0000:00:1f.3: fw_state: SOF_FW_BOOT_IN_PROGRESS (3)
[ 69.948790] sof-audio-pci-intel-mtl 0000:00:1f.3: ROM status: 0xffffffff, ROM error: 0xffffffff
[ 69.948791] sof-audio-pci-intel-mtl 0000:00:1f.3: ROM debug status: 0xd000000c, ROM debug error: 0x97
[ 69.948798] sof-audio-pci-intel-mtl 0000:00:1f.3: ROM feature bit enabled
[ 69.948799] sof-audio-pci-intel-mtl 0000:00:1f.3: ------------[ DSP dump end ]------------
[ 69.948811] sof-audio-pci-intel-mtl 0000:00:1f.3: Failed to start DSP
[ 69.948812] sof-audio-pci-intel-mtl 0000:00:1f.3: error: failed to boot DSP firmware -110
[ 69.953196] sof-audio-pci-intel-mtl 0000:00:1f.3: error: sof_probe_work failed err: -110
To Reproduce
Boot System
Reproduction Rate
100%
Expected behavior
working audio :)
Impact
showstopper
Environment
- Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
- Kernel: fedora 38 6.5.5
- SOF: {SHA}
- Name of the topology file
- Topology: {FILE}
- Name of the platform(s) on which the bug is observed.
- Platform: < :) >
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
BootFirmware boot or code signing related.Firmware boot or code signing related.MTLApplies to Meteor Lake platformApplies to Meteor Lake platformP1Blocker bugs or important featuresBlocker bugs or important featuresROM error 0x97FW boot failure with ROM debug error 0x97FW boot failure with ROM debug error 0x97bugSomething isn't working as expectedSomething isn't working as expectedrimageIssues related to rimageIssues related to rimage
Activity
abonislawski commentedon Oct 3, 2023
This build is prepared for production platforms.
lgirdwood commentedon Oct 3, 2023
@mrhpearson thanks, let me check - its sounds like the Fedora kernel could be missing a patch if FW loading is failing. There also seems to be an issue with HDMI too.
kv2019i commentedon Oct 3, 2023
@mrhpearson So indeed, this looks like you'd need a differently signed binary for this proto system. For display codec, with current vanilla upstream kernel, you need still need to use the "force_probe" i915 module option. With that display audio should work as well.
marc-hb commentedon Oct 4, 2023
https://thesofproject.github.io/latest/getting_started/intel_debug/introduction.html#firmware-binary
Maybe
ROM debug error: 0x97means something but I don't know what.EDIT: some cases/platforms can be configured to accept more than one key e.g. production and development. I've seen that working once.
[-][Lenovo] Update with Meteorlake support not working on (proto system)[/-][+][Lenovo] Update with Meteorlake support not working on (proto system) ROM status: 0xd000000c, ROM error: 0x97[/+]mengdonglin commentedon Oct 22, 2023
@mrhpearson @lgirdwood @kv2019i @marc-hb
For this FW boot failure
[ 69.948791] sof-audio-pci-intel-mtl 0000:00:1f.3: ROM debug status: 0xd000000c, ROM debug error: 0x97We observed the same issue on another proto device. And @tmleman confirmed this is key verification error.
lgirdwood commentedon Oct 23, 2023
This is now a v2.7.1 blocker issue.
abonislawski commentedon Oct 27, 2023
Fixed now on stable-v2.7 and v2.7.1 tag
marc-hb commentedon Oct 27, 2023
More precisely b028b2d
Nothing on the main branch yet.
marc-hb commentedon Oct 30, 2023
Now cherry-picked to the main branch:
lgirdwood commentedon Oct 31, 2023
Now merged in main. @mrhpearson v2.7.2 coming soon.
kv2019i commentedon Oct 31, 2023
@lgirdwood wrote:
Quick correction, @mrhpearson the fix is already in the tagged v2.7.1. Only missing thing is the signed binary and I'll upload a PR to sof-bin as soon as all process steps are done (community signed binaries already uploaded -> thesofproject/sof-bin#151 ).
If there's any hickup with 2.7.1, we'll do a 2.7.2 if needed before we tag sof-bin-2023.09.1 and release that to distros.
keqiaozhang commentedon Nov 6, 2023
The fix #8421 merged in stable-v2.7.
keqiaozhang commentedon Nov 6, 2023
@mrhpearson please check with https://github.com/thesofproject/sof-bin/releases/tag/v2023.09.1
mrhpearson commentedon Nov 6, 2023
Thanks - we're testing.