ADL-N DSP boot failure
We received a broken ALD-N Chromebook device which audio DSP always fails to boot. The failure rate is 100% and so far we couldn't find another device with same symptoms.
Linux kernel log suggests there is error returns from SOF_IPC_DAI_CONFIG(0x80010000) command: linux.txt
[ 6.995494] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx: 0x30100000: GLB_TPLG_MSG: PIPE_NEW [ 6.996259] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx: 0x30010000: GLB_TPLG_MSG: COMP_NEW [ 6.996622] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx: 0x80010000: GLB_DAI_MSG: CONFIG [ 6.996971] sof-audio-pci-intel-tgl 0000:00:1f.3: ipc tx error for 0x80010000 (msg/reply size: 216/12): -19 [ 6.996977] sof-audio-pci-intel-tgl 0000:00:1f.3: Failed to set dai config for SSP1-Codec
FW log shows that there is problem in ipc_comp_dai_config() function: fw-org.txt
[ 672435.546196] ( 521.822876) c0 ipc src/ipc/ipc3/handler.c:1605 INFO ipc: new cmd 0x80010000 [ 672461.900362] ( 26.354166) c0 ipc src/ipc/ipc3/handler.c:595 INFO ipc: dai 1.1 -> config [ 672481.900361] ( 20.000000) c0 dai src/lib/dai.c:166 INFO dai_get type 1 index 1 new sref 2 [ 672502.681610] ( 20.781250) c0 ssp-dai 1.1 /drivers/intel/ssp/ssp.c:302 INFO ssp_set_config(), config->format = 0x4001 [ 672529.764943] ( 27.083332) c0 ssp-dai 1.1 /drivers/intel/ssp/ssp.c:729 INFO ssp_set_config(), sscr0 = 0xc1d00037, sscr1 = 0xd0400000, ssto = 0x00000000, sspsp = 0xa200000 [ 672548.671192] ( 18.906250) c0 ssp-dai 1.1 /drivers/intel/ssp/ssp.c:731 INFO ssp_set_config(), sscr2 = 0x00004002, sspsp2 = 0x00000000, sscr3 = 0x07070000, ssioc = 0x00000020 [ 672567.525358] ( 18.854166) c0 ssp-dai 1.1 /drivers/intel/ssp/ssp.c:733 INFO ssp_set_config(), ssrsa = 0x00000003, sstsa = 0x00000003 [ 672589.817024] ( 22.291666) c0 mn ./drivers/intel/ssp/mn.c:259 INFO mclk_rate 24576000, mclk_source_clock 0 [ 672609.035773] ( 19.218750) c0 mn ./drivers/intel/ssp/mn.c:220 INFO mclk_id 0 mdivr_val 1 [ 672628.775355] ( 19.739582) c0 ssp-dai 1.1 /drivers/intel/ssp/ssp.c:747 INFO ssp_set_config(): enable MCLK for SSP1 [ 672649.296188] ( 20.520832) c0 dai src/lib/dai.c:190 INFO dai_put type 1 index 1 new sref 1 [ 672669.087854] ( 19.791666) c0 ipc src/ipc/ipc3/dai.c:185 INFO ipc_comp_dai_config() dai type = 1 index = 1 [ 672697.212853] ( 28.124998) c1 idc ......./intel/cavs/idc.c:58 INFO idc_irq_handler(), IPC_IDCTFC_BUSY [ 672721.275352] ( 24.062498) c1 idc ......./intel/cavs/idc.c:186 INFO idc_do_cmd() [ 672748.098267] ( 26.822916) c1 ipc src/ipc/ipc3/handler.c:595 INFO ipc: dai 1.1 -> config [ 672766.639933] ( 18.541666) c1 ipc src/ipc/ipc3/dai.c:185 INFO ipc_comp_dai_config() dai type = 1 index = 1 [ 672791.327432] ( 24.687498) c1 ipc src/ipc/ipc3/dai.c:210 ERROR ipc_comp_dai_config(): comp_dai_config() failed