-
Notifications
You must be signed in to change notification settings - Fork 133
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ADL-N DSP boot failure #5104
Comments
Memory corruption is observed in dai_new() function. [ 799520.280730] ( 27.031248) c1 dai src/audio/dai.c:162 ERROR dai_new()
|
Add more debut output to confirm it's memory corruption: [ 465615.033581] ( 26.822916) c1 dai src/audio/dai.c:162 ERROR dai_new()
|
Can you double-check the topology settings @brentlu ? Wondering why what the changes are for this platform? |
There is nothing special for this topology. The only difference is that MCLK rate is 24.576MHz but this setting has been long used in max98373 topology.
|
DSP panic could be observed with same FW image. The exception cause LoadStorePIFDataErrorCause also suggests that there is problem with the memory. So my question would be "is there anything we can do / need to do about it?". If not, I would suggest ODM to go through CQE process for further analysis. [ 6.986281] sof-audio-pci-intel-tgl 0000:00:1f.3: ------------[ DSP dump start ]------------ |
My guess is that you have a conflict between SSPs, specifically I am not sure if you can have BT_OFFLOAD along with the MCLK at 24.576? Can you try and force the nocodec mode to see if you are able to use the SSPs in default mode? that would point to a problem in the topology or SSP setup. #define SOF_DBG_FORCE_NOCODEC BIT(10) /* ignore all codec-related configurations */ |
Memory corruption could be observed even on nocodec mode. I print the variables of same structure and found the value would change. It seems to me that there is something wrong with the memory. [ 5437.812284] ( 31.770832) c2 ipc src/ipc/ipc3/helper.c:329 INFO comp_dev(0x9e0fe080): |
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
The text was updated successfully, but these errors were encountered: