Skip to content

[Lenovo] Update with Meteorlake support not working on (proto system) ROM status: 0xd000000c, ROM error: 0x97 #8281

Closed

Description

@mrhpearson

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

  1. Branch name and commit hash of the 2 repositories: sof (firmware/topology) and linux (kernel driver).
    • Kernel: fedora 38 6.5.5
    • SOF: {SHA}
  2. Name of the topology file
    • Topology: {FILE}
  3. Name of the platform(s) on which the bug is observed.
    • Platform: < :) >

Activity

  1. added
    bugSomething isn't working as expected
    on Oct 2, 2023
  2. abonislawski commented on Oct 3, 2023

    @abonislawski
    Member

    Now with the newer sof-bin release adding support available

    This build is prepared for production platforms.

  3. added
    P1Blocker bugs or important features
    on Oct 3, 2023
  4. lgirdwood commented on Oct 3, 2023

    @lgirdwood
    Member

    @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.

  5. kv2019i commented on Oct 3, 2023

    @kv2019i
    Collaborator

    @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.

  6. marc-hb commented on Oct 4, 2023

    @marc-hb
    Collaborator

    So indeed, this looks like you'd need a differently signed binary for this proto system.

    https://thesofproject.github.io/latest/getting_started/intel_debug/introduction.html#firmware-binary

    Maybe ROM debug error: 0x97 means 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.

  7. added
    BootFirmware boot or code signing related.
    MTLApplies to Meteor Lake platform
    ROM error 0x97FW boot failure with ROM debug error 0x97
    on Oct 22, 2023
  8. changed the title [-][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[/+] on Oct 22, 2023
  9. mengdonglin commented on Oct 22, 2023

    @mengdonglin
    Collaborator

    @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: 0x97
    We observed the same issue on another proto device. And @tmleman confirmed this is key verification error.

    Debug status: 0x0C -> FSR_ROM_VALIDATE_PUB_KEY
    Debug error: 0x97 -> ADSP_MANIFEST_KEY_NOT_REGISTERED // Manifest key does not match any registered.
    
    Error is reported by the rom_ext during public key verification.
    
  10. lgirdwood commented on Oct 23, 2023

    @lgirdwood
    Member

    This is now a v2.7.1 blocker issue.

  11. self-assigned this
    on Oct 27, 2023
  12. abonislawski commented on Oct 27, 2023

    @abonislawski
    Member

    Fixed now on stable-v2.7 and v2.7.1 tag

  13. marc-hb commented on Oct 27, 2023

    @marc-hb
    Collaborator

    Fixed now on stable-v2.7 and v2.7.1 tag

    More precisely b028b2d

    Nothing on the main branch yet.

  14. marc-hb commented on Oct 30, 2023

    @marc-hb
    Collaborator

    More precisely b028b2d

    Nothing on the main branch yet.

    Now cherry-picked to the main branch:

  15. lgirdwood commented on Oct 31, 2023

    @lgirdwood
    Member

    More precisely b028b2d

    Nothing on the main branch yet.

    Now cherry-picked to the main branch:

    Now merged in main. @mrhpearson v2.7.2 coming soon.

  16. kv2019i commented on Oct 31, 2023

    @kv2019i
    Collaborator

    @lgirdwood wrote:

    Now merged in main. @mrhpearson v2.7.2 coming soon.

    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.

  17. keqiaozhang commented on Nov 6, 2023

    @keqiaozhang
    Collaborator

    The fix #8421 merged in stable-v2.7.

  18. keqiaozhang commented on Nov 6, 2023

    @keqiaozhang
    Collaborator
  19. mrhpearson commented on Nov 6, 2023

    @mrhpearson
    Author

    Thanks - we're testing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

BootFirmware boot or code signing related.MTLApplies to Meteor Lake platformP1Blocker bugs or important featuresROM error 0x97FW boot failure with ROM debug error 0x97bugSomething isn't working as expectedrimageIssues related to rimage

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions