Skip to content

ICL/nocodec: IPC errors and FW boot fail #838

Closed

Description

@plbossart

Kernel: 2de29fa ('ASoC: SOF: cnl: add pointer ops to use DPIB position')
Firmware: e14ab70 ('tools: logger: fix parsing of -s argument')
topology: sof-icl-nocodec.tplg

dmesg log:

[   22.081494] sof-audio-pci 0000:00:1f.3: PCI DSP detected
[   22.081526] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
[   22.081923] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
[   22.081931] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
[   22.082027] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0xc00
[   22.082036] sof-audio-pci 0000:00:1f.3: found ML capability at 0xc00
[   22.082041] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x800
[   22.082043] sof-audio-pci 0000:00:1f.3: found DSP capability at 0x800
[   22.082050] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x500
[   22.082052] sof-audio-pci 0000:00:1f.3: found GTS capability at 0x500
[   22.082063] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x1f00
[   22.082065] sof-audio-pci 0000:00:1f.3: found DRSM capability at 0x1f00
[   22.082075] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x700
[   22.082077] sof-audio-pci 0000:00:1f.3: found SPIB capability at 0x700
[   22.082091] sof-audio-pci 0000:00:1f.3: DMA mask is 64 bit
[   22.082099] sof-audio-pci 0000:00:1f.3: hda global caps = 0x1009701
[   22.082101] sof-audio-pci 0000:00:1f.3: detected 9 playback and 7 capture streams
[   22.082316] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
[   22.082318] sof-audio-pci 0000:00:1f.3: using HDA IRQ 140
[   22.082418] sof-audio-pci 0000:00:1f.3: using IPC IRQ 140
[   22.082501] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
[   22.082512] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000040 at  00000048
[   22.082517] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at  00000048
[   22.084655] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
[   22.084665] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000040 at  00000048
[   22.084690] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
[   22.084706] sof-audio-pci 0000:00:1f.3: loading firmware
[   22.086679] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000002 at  00000048
[   22.086689] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at  00000048
[   22.086701] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
[   22.086713] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000004 at  00000044
[   22.086714] sof-audio-pci 0000:00:1f.3: booting DSP firmware
[   22.086893] sof-audio-pci 0000:00:1f.3: period_bytes:0x0
[   22.086894] sof-audio-pci 0000:00:1f.3: periods:1
[   22.087031] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
[   22.087061] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0e successful
[   22.087073] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
[   22.087097] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
[   22.087981] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000000 successful
[   22.088004] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010e0e successful
[   22.088040] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x6000021 successful
[   22.088717] sof-audio-pci 0000:00:1f.3: unexpected ipc interrupt raised!
[   22.088719] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
[   25.088998] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000012 timedout
[   25.089018] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -110
[   25.089047] sof-audio-pci 0000:00:1f.3: unknown ROM status value 80000012
[   25.089067] sof-audio-pci 0000:00:1f.3: error: status = 0x0000002c panic = 0x00000000
[   25.089078] sof-audio-pci 0000:00:1f.3: unknown ROM status value 80000012
[   25.089090] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
[   25.089093] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -110
[   25.139479] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1d003c timedout
[   25.139488] sof-audio-pci 0000:00:1f.3: error: reset enter failed: core_mask f adspcs 0x1d003c
[   25.139491] sof-audio-pci 0000:00:1f.3: error: dsp core reset failed: core_mask f
[   25.140079] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
[   25.140271] sof-audio-pci: probe of 0000:00:1f.3 failed with error -110

I used nocodec since I am getting i915 errors otherwise.

Am I the first one to test this? @bardliao @libinyang I thought you had tested on ICL?

Activity

  1. added
    P1Blocker bugs or important features
    ICLApplies to Icelake platform
    on Apr 15, 2019
  2. ranj063 commented on Apr 15, 2019

    @ranj063
    Collaborator

    @fredoh9 had also tested ICL at some point I think

  3. plbossart commented on Apr 15, 2019

    @plbossart
    MemberAuthor

    FWIW, I am getting a similar issue with the kernel sof-dev-upstream-v5-patches, so the firmware hasn't booted on ICL for a solid month.

    [   22.627143] sof-audio-pci 0000:00:1f.3: PCI DSP detected
    [   22.627163] sof-audio-pci 0000:00:1f.3: enabling device (0000 -> 0002)
    [   22.627480] sof-audio-pci 0000:00:1f.3: warning: No matching ASoC machine driver found
    [   22.627483] sof-audio-pci 0000:00:1f.3: DSP detected with PCI class/subclass/prog-if 0x040100
    [   22.627549] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0xc00
    [   22.627550] sof-audio-pci 0000:00:1f.3: found ML capability at 0xc00
    [   22.627564] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x800
    [   22.627565] sof-audio-pci 0000:00:1f.3: found DSP capability at 0x800
    [   22.627576] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x500
    [   22.627577] sof-audio-pci 0000:00:1f.3: found GTS capability at 0x500
    [   22.627588] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x1f00
    [   22.627590] sof-audio-pci 0000:00:1f.3: found DRSM capability at 0x1f00
    [   22.627600] sof-audio-pci 0000:00:1f.3: checking for capabilities at offset 0x700
    [   22.627601] sof-audio-pci 0000:00:1f.3: found SPIB capability at 0x700
    [   22.627607] sof-audio-pci 0000:00:1f.3: DMA mask is 64 bit
    [   22.627613] sof-audio-pci 0000:00:1f.3: hda global caps = 0x1009701
    [   22.627614] sof-audio-pci 0000:00:1f.3: detected 9 playback and 7 capture streams
    [   22.627790] sof-audio-pci 0000:00:1f.3: use msi interrupt mode
    [   22.627791] sof-audio-pci 0000:00:1f.3: using HDA IRQ 140
    [   22.627835] sof-audio-pci 0000:00:1f.3: using IPC IRQ 140
    [   22.628052] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
    [   22.628066] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000040 at  00000048
    [   22.628078] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at  00000048
    [   22.630517] sdhci-pci 0000:00:14.5: SDHCI controller found [8086:34f8] (rev 10)
    [   22.630813] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000048
    [   22.630824] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000040 at  00000048
    [   22.630849] sof-audio-pci 0000:00:1f.3: No ASoC machine driver found - using nocodec
    [   22.630871] sof-audio-pci 0000:00:1f.3: loading firmware
    [   22.632992] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000002 at  00000048
    [   22.633001] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000000 at  00000048
    [   22.633013] sof-audio-pci 0000:00:1f.3: Debug PCIR: 00000000 at  00000044
    [   22.633020] sof-audio-pci 0000:00:1f.3: Debug PCIW: 00000004 at  00000044
    [   22.633021] sof-audio-pci 0000:00:1f.3: booting DSP firmware
    [   22.633142] sof-audio-pci 0000:00:1f.3: period_bytes:0x0
    [   22.633146] sof-audio-pci 0000:00:1f.3: periods:1
    [   22.633298] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
    [   22.633326] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0e successful
    [   22.633338] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
    [   22.633362] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
    [   22.634145] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000000 successful
    [   22.634167] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010e0e successful
    [   22.634197] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x6000021 successful
    [   22.634672] sof-audio-pci 0000:00:1f.3: error: no reply expected, received 0x0
    [   25.640728] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000012 timedout
    [   25.640761] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -62
    [   25.640789] sof-audio-pci 0000:00:1f.3: unknown ROM status value 80000012
    [   25.640812] sof-audio-pci 0000:00:1f.3: error: status = 0x0000002c panic = 0x00000000
    [   25.640824] sof-audio-pci 0000:00:1f.3: unknown ROM status value 80000012
    [   25.640836] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
    [   25.640839] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -62
    [   25.691250] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1d003c timedout
    [   25.691347] sof-audio-pci 0000:00:1f.3: error: reset enter failed: core_mask f adspcs 0x1d003c
    [   25.691351] sof-audio-pci 0000:00:1f.3: error: dsp core reset failed: core_mask f
    [   25.693725] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
    [   25.698055] sof-audio-pci: probe of 0000:00:1f.3 failed with error -62
    
  4. plbossart commented on Apr 15, 2019

    @plbossart
    MemberAuthor

    same with integration/sound-trigger from early March.

    [   49.819590] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0f successful
    [   49.819618] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0xf0f0f0e successful
    [   49.819629] sof-audio-pci 0000:00:1f.3: unstall/run core: core_mask = 1
    [   49.819653] sof-audio-pci 0000:00:1f.3: DSP core(s) enabled? 1 : core_mask 1
    [   49.820576] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000000 successful
    [   49.820600] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1010e0e successful
    [   49.820688] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x6000021 successful
    [   49.820739] sof-audio-pci 0000:00:1f.3: error: rx list empty but received 0x0
    [   49.820742] sof-audio-pci 0000:00:1f.3: error: can't find message header 0x0
    [   49.845998] sdhci-pci 0000:00:14.5: SDHCI controller found [8086:34f8] (rev 10)
    [   52.829931] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000012 timedout
    [   52.829940] sof-audio-pci 0000:00:1f.3: error: load fw failed ret: -62
    [   52.829965] sof-audio-pci 0000:00:1f.3: unknown ROM status value 80000012
    [   52.829989] sof-audio-pci 0000:00:1f.3: error: status = 0x0000002c panic = 0x00000000
    [   52.830000] sof-audio-pci 0000:00:1f.3: unknown ROM status value 80000012
    [   52.830005] sof-audio-pci 0000:00:1f.3: error: failed to reset DSP
    [   52.830006] sof-audio-pci 0000:00:1f.3: error: failed to boot DSP firmware -62
    [   52.886864] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x1d003c timedout
    [   52.886871] sof-audio-pci 0000:00:1f.3: error: reset enter failed: core_mask f adspcs 0x1d003c
    [   52.886874] sof-audio-pci 0000:00:1f.3: error: dsp core reset failed: core_mask f
    [   52.887072] sof-audio-pci 0000:00:1f.3: error: failed to probe DSP hardware!
    [   52.887204] sof-audio-pci: probe of 0000:00:1f.3 failed with error -62
    
  5. xiulipan commented on Apr 15, 2019

    @xiulipan

    @plbossart

    [ 25.088998] sof-audio-pci 0000:00:1f.3: FW Poll Status: reg=0x80000012 timedout

    You need to inject the OEM key into the BIOS or use some other BIOS.

    @fredoh9
    This is what I have talked to you about enable platforms.

  6. wenqingfu commented on Apr 17, 2019

    @wenqingfu

    is it clarified? @plbossart anything can be translated into a PR or close this issue?

  7. plbossart commented on Apr 17, 2019

    @plbossart
    MemberAuthor

    no. It's not clear if my board has the right key and/or if the SOF signing actually works.

  8. xiulipan commented on Apr 18, 2019

    @xiulipan

    @plbossart
    The 0x8000012 the error message the key is invalid.
    @bardliao @stevyan @DarrenxWang
    Could you help to check if current code work on ICL RVP. Only boot test is needed

  9. stevyan commented on Apr 24, 2019

    @stevyan

    Summary
    Not reproduce, the DUT can boot normally on ICL RVP nocodec.

    Step
    aplay -l

    Actual Result

    ubuntu@cd-icl-rvp-nocodec-01:~$ aplay -l
    **** List of PLAYBACK Hardware Devices ****
    card 0: sofnocodec [sof-nocodec], device 0: Passthrough (*) []
      Subdevices: 1/1
      Subdevice #0: subdevice #0
    

    Test recipe
    Date: 2019-04-24
    sof (master): e4c1651
    kernel (topic/sof-dev): 2e94569
    topology: sof-icl-nocodec.tplg

    dmesg.log

  10. plbossart commented on Apr 24, 2019

    @plbossart
    MemberAuthor

    Thanks for testing, I'll try and check with an updated BIOS.

  11. plbossart commented on Jun 10, 2019

    @plbossart
    MemberAuthor

    closed, was firmware authentication issue

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    ICLApplies to Icelake platformP1Blocker bugs or important features

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions