Skip to content

Failed to load tplg on GLK #322

@keqiaozhang

Description

@keqiaozhang

Topology load failed on GLK.
This regression may caused by firmware PR: thesofproject/sof/pull/634 and some related changes in driver side are missed.

Dmesg error:

[    4.900960] sof-audio sof-audio: tplg: config HDA4 fmt 0x0
[    4.900986] sof-audio sof-audio: ipc tx: 0x80010000
[    4.901086] sof-audio sof-audio: error: ipc error for 0x80010000 size 0xc
[    4.901095] sof-audio sof-audio: error: failed to set DAI config for HDA4
[    4.901097] sof-audio sof-audio: ASoC: physical link loading failed
[    4.901100] sof-audio sof-audio: error: tplg component load failed -5
[    4.901110] sof-audio sof-audio: error: failed to load DSP topology -22
[    4.901113] sof-audio sof-audio: ASoC: failed to probe component -22
[    4.901143] sof-audio sof-audio: ipc rx: 0x90020000
[    4.901152] bxt_da7219_max98357a glk_da7219_max98357a: ASoC: failed to instantiate card -22
[    4.901163] bxt_da7219_max98357a glk_da7219_max98357a: Topology forgot to remove link Speakers?
[    4.901164] sof-audio sof-audio: ipc rx done: 0x90020000
[    4.901167] bxt_da7219_max98357a glk_da7219_max98357a: Topology forgot to remove link Headset?
[    4.901170] bxt_da7219_max98357a glk_da7219_max98357a: Topology forgot to remove link DMIC01?
[    4.901172] bxt_da7219_max98357a glk_da7219_max98357a: Topology forgot to remove link HDMI1?
[    4.901174] bxt_da7219_max98357a glk_da7219_max98357a: Topology forgot to remove link HDMI2?
[    4.901177] bxt_da7219_max98357a glk_da7219_max98357a: Topology forgot to remove link HDMI3?
[    4.906633] bxt_da7219_max98357a: probe of glk_da7219_max98357a failed with error -22

Trace log:
sudo sof-logger -l /root/sof-apl.ldc

CORE  LEVEL      COMP_ID                TIMESTAMP            DELTA                FILE_NAME    CONTENT
    0      1          DMA            231250.625000    231250.625000            hda-dma.c:448    hda-dmac: 7 no free channel 0
    0      1          DAI            231256.614583         5.989583                dai.c:734    dai_config() error: dma_channel_get() failed
    0      1          IPC            231261.718750         5.104167                ipc.c:361    eCD

sof-logger -t:

    0      2          DAI            230993.697917         3.437500                dai.c:708    dai_config(), dev->frame_bytes = 8
    0      2          DMA            230997.187500         3.489583             dw-dma.c:332    dw-dma: 0 channel 0 request
    0      2          IPC            231096.406250        99.218750            apl-ipc.c:114    ipc: msg rx -> 0x10000
    0      2          IPC            231102.239583         5.833333            handler.c:492    ipc: dai 3,3 -> config
    0      2          DAI            231106.406250         4.166667                dai.c:86     dai-get 0xbe04c3d4 sref 2
    0      2          DAI            231110.208333         3.802083                dai.c:110    dai-put 0xbe04c3d4 sref 1
    0      2          DMA            231121.666667        11.458333            hda-dma.c:432    hda-dmac: 7 channel 0 -> get
    0      2          IPC            231221.093750        99.427086            apl-ipc.c:114    ipc: msg rx -> 0x10000
    0      2          IPC            231226.562500         5.468750            handler.c:492    ipc: dai 3,4 -> config
    0      2          DAI            231230.572917         4.010417                dai.c:86     dai-get 0xbe04c420 sref 2
    0      2          DAI            231234.322917         3.750000                dai.c:110    dai-put 0xbe04c420 sref 1
    0      2          DMA            231246.979167        12.656250            hda-dma.c:432    hda-dmac: 7 channel 0 -> get
    0      1          DMA            231250.625000         3.645833            hda-dma.c:448    hda-dmac: 7 no free channel 0

Tested with:
Tested with:
kernel-cros-sof-v4.14-rebase: f8f388e
sof-master: 31cde1
tplg-master: ad3f3e4
tplg:sof-glk-da7219.tplg
dmesg.log
logger.log
logger-t.log

Metadata

Metadata

Assignees

Labels

GLKApplies to Gemini LakeP1Blocker bugs or important featuresbugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions