Repository navigation
Fail to config HDA DAI on UP2 platform with pcm512x codec #644
Copy link
Copy link
Closed
Labels
APLApplies to Apollolake platformApplies to Apollolake platformP1Blocker bugs or important featuresBlocker bugs or important featuresbugSomething isn't working as expectedSomething isn't working as expectedduplicateThis issue or pull request already existsThis issue or pull request already existsverifiedQA/Bug reporter verifies solution worked.QA/Bug reporter verifies solution worked.
Description
Summary:
Fail to config HDA DAI on UP2 platform with pcm512x codec.
This issue cannot be reproduced with the same kernel and firmware (443233c) on Nov. 27, so it seems to be a firmware regression.
dmesg:
[ 4.180155] sof-audio sof-audio: tplg: config SSP5 fmt 0x4001 mclk 24576000 bclk 3072000 fclk 48000 width (24)32 slots 2 mclk id 0
[ 4.180178] sof-audio sof-audio: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 4.180291] sof-audio sof-audio: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 4.180297] sof-audio sof-audio: warn: unexpected DAI config count 0!
[ 4.180299] sof-audio sof-audio: tplg: config HDA0 fmt 0x0
[ 4.180322] sof-audio sof-audio: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 4.180394] sof-audio sof-audio: ipc tx succeeded: 0x80010000: GLB_DAI_MSG: CONFIG
[ 4.180400] sof-audio sof-audio: warn: unexpected DAI config count 0!
[ 4.180402] sof-audio sof-audio: tplg: config HDA1 fmt 0x0
[ 4.180423] sof-audio sof-audio: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG
[ 4.180506] sof-audio sof-audio: error: ipc error for 0x80010000 size 0xc
[ 4.180560] sof-audio sof-audio: error: failed to set DAI config for HDA1
[ 4.180597] sof-audio sof-audio: ASoC: physical link loading failed
[ 4.180630] sof-audio sof-audio: error: tplg component load failed -5
[ 4.180679] sof-audio sof-audio: error: failed to load DSP topology -22
[ 4.180717] sof-audio sof-audio: ASoC: failed to probe component -22
[ 4.180779] bxt-pcm512x bxt-pcm512x: ASoC: failed to instantiate card -22
[ 4.180822] bxt-pcm512x bxt-pcm512x: Topology forgot to remove link Port5?
[ 4.180823] bxt-pcm512x bxt-pcm512x: Topology forgot to remove link HDMI1?
[ 4.180825] bxt-pcm512x bxt-pcm512x: Topology forgot to remove link HDMI2?
[ 4.180826] bxt-pcm512x bxt-pcm512x: Topology forgot to remove link HDMI3?
[ 4.180854] bxt-pcm512x bxt-pcm512x: snd_soc_register_card failed -22
[ 4.180904] bxt-pcm512x: probe of bxt-pcm512x failed with error -22
sof-logger:
CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT
0 1 DMA 159219.322917 159219.328125 hda-dma.c:448 hda-dmac: 7 no free channel 0
0 1 DAI 159225.260417 5.937500 dai.c:734 dai_config() error: dma_channel_get() failed
0 1 IPC 159229.791667 4.531250 ipc.c:361 eCD
Test steps:
aplay -l
aplay: device_list:270: no soundcards found...
Test env:
sof master: 31cde1c
sof tool: ad3f3e4
kernel sof-dev: 4fd5f87
tplg: sof-apl-pcm512x.tplg-ad3f3e4f
Log:
dmesg.log
logger-t.log
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
APLApplies to Apollolake platformApplies to Apollolake platformP1Blocker bugs or important featuresBlocker bugs or important featuresbugSomething isn't working as expectedSomething isn't working as expectedduplicateThis issue or pull request already existsThis issue or pull request already existsverifiedQA/Bug reporter verifies solution worked.QA/Bug reporter verifies solution worked.
Activity
keqiaozhang commentedon Nov 28, 2018
This issue is same as thesofproject/linux/issues/322.
[-]The firmware did not work on UP2 w/ pcm512x[/-][+]Fail to config HDA DAI on UP2 platform with pcm512x codec[/+]mengdonglin commentedon Nov 28, 2018
Closing this since it's a duplicate of thesofproject/linux/issues/322.
stevyan commentedon Nov 30, 2018
Summary:
This issue cannot be reproduced on UP2(pcm512x) with HDA configuration enabled.
Test env:
sof master: d189651
sof tool: d189651
kernel sof-dev: 2a93346
tplg: sof-apl-pcm512x.tplg-d189651d
Reference: