[Sound-open-firmware] Status of Braswell
Hello SOF team,
I am just curious what the status of Braswell devices are right now. If the status is unknown that is fine. I may be doing some experimenting with them in the near future. Any known issues or caveats would be appreciated. :)
Curtis
Hi Curtis,
I am just curious what the status of Braswell devices are right now. If the status is unknown that is fine. I may be doing some experimenting with them in the near future. Any known issues or caveats would be appreciated. :)
braswell is essentially cherrytrail which is very nearly identical to baytrail except for an oscillator frequency. I tested SOF on Cyan a number of times in the past, so all the plumbing should already be there. The only caveat is that there is quite a bit of DMA rework at the moment so there might be some re-testing required if you take the latest development branch. Also our module load/reload tests failed, but it's more of a dependency with the max98080/TI aux chip that's not well handled than SOF proper. -Pierre
Thanks Pierre,
I am working off the CML branch right now as we are using the same kernel. I think I am seeing the DMA issues you are referring to.
CORE LEVEL COMP_ID TIMESTAMP DELTA FILE_NAME CONTENT 0 1 WAIT 36873616.250000 36873616.000000 src/lib/wait.c:118 ewt 0 1 DMA 36873622.291667 6.041667 src/drivers/dw/dma.c:478 dw_dma_stop() error: dma 1 channel 0 timeout 0 1 DMA 66669445.312500 29795824.000000 src/drivers/dw/dma.c:309 dw_dma_start() error: dma 1 channel 0 not ready ena 0x1 status 0x3 0 1 PIPE 66669456.406250 11.093750 src/audio/pipeline.c:808 pipeline_copy() error: ret = -16, start->comp.id = 9, dir = 1 0 1 PIPE 1.10 66669465.833333 9.427083 src/audio/pipeline.c:920 pipeline_xrun_recover() 0 1 COMP 66669474.322917 8.489583 rc/audio/component.c:197 comp_set_state() error: wrong state = 5, COMP_TRIGGER_PREPARE 0 1 PIPE 66669481.614583 7.291667 src/audio/pipeline.c:411 pipeline_prepare() error: ret = -22,dev->comp.id = 1 0 1 PIPE 1.10 66669490.052083 8.437500 src/audio/pipeline.c:927 pipeline_xrun_recover() error: pipeline_prepare() failed, ret = -22 0 1 PIPE 1.10 66669497.135417 7.083333 src/audio/pipeline.c:998 pipeline_task(): xrun recover failed! pipeline will be stopped! 0 1 WAIT 67675418.072917 1005920.937500 src/lib/wait.c:118 ewt 0 1 DMA 67675424.166667 6.093750 src/drivers/dw/dma.c:478 dw_dma_stop() error: dma 1 channel 0 timeout 0 1 DMA 75861656.458333 8186232.500000 src/drivers/dw/dma.c:309 dw_dma_start() error: dma 1 channel 0 not ready ena 0x1 status 0x3 0 1 PIPE 75861667.552083 11.093750 src/audio/pipeline.c:808 pipeline_copy() error: ret = -16, start->comp.id = 9, dir = 1 0 1 PIPE 1.10 75861676.979167 9.427083 src/audio/pipeline.c:920 pipeline_xrun_recover() 0 1 COMP 75861685.468750 8.489583 rc/audio/component.c:197 comp_set_state() error: wrong state = 5, COMP_TRIGGER_PREPARE 0 1 PIPE 75861692.760417 7.291667 src/audio/pipeline.c:411 pipeline_prepare() error: ret = -22,dev->comp.id = 1 0 1 PIPE 1.10 75861701.197917 8.437500 src/audio/pipeline.c:927 pipeline_xrun_recover() error: pipeline_prepare() failed, ret = -22 0 1 PIPE 1.10 75861708.229167 7.031250 src/audio/pipeline.c:998 pipeline_task(): xrun recover failed! pipeline will be stopped! 0 1 WAIT 76871284.687500 1009576.437500 src/lib/wait.c:118 ewt 0 1 DMA 76871290.781250 6.093750 src/drivers/dw/dma.c:478 dw_dma_stop() error: dma 1 channel 0 timeout
I also was unable to load the topology until I removed the media pipline since the sname on the pipeline was not being loaded and therefore the pipeline refused to load. We are upreving the driver here soon and will report back if that fixes anything. Thanks for the heads up.
Curtis
On Mon, Aug 26, 2019 at 12:02 PM Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com wrote:
Hi Curtis,
I am just curious what the status of Braswell devices are right now. If the status is unknown that is fine. I may be doing some experimenting with them in the near future. Any known issues or caveats would be appreciated. :)
braswell is essentially cherrytrail which is very nearly identical to baytrail except for an oscillator frequency. I tested SOF on Cyan a number of times in the past, so all the plumbing should already be there. The only caveat is that there is quite a bit of DMA rework at the moment so there might be some re-testing required if you take the latest development branch. Also our module load/reload tests failed, but it's more of a dependency with the max98080/TI aux chip that's not well handled than SOF proper. -Pierre
On 8/26/19 2:02 PM, Pierre-Louis Bossart wrote:
Hi Curtis,
I am just curious what the status of Braswell devices are right now. If the status is unknown that is fine. I may be doing some experimenting with them in the near future. Any known issues or caveats would be appreciated. :)
braswell is essentially cherrytrail which is very nearly identical to baytrail except for an oscillator frequency. I tested SOF on Cyan a number of times in the past, so all the plumbing should already be there. The only caveat is that there is quite a bit of DMA rework at the moment so there might be some re-testing required if you take the latest development branch. Also our module load/reload tests failed, but it's more of a dependency with the max98080/TI aux chip that's not well handled than SOF proper.
well, it's really bad with the latest firmware and kernel:
[ 16.264301] sof-audio-acpi 808622A8:00: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW [ 16.264399] sof-audio-acpi 808622A8:00: error: ipc error for 0x30200000 size 20 [ 16.264404] sof-audio-acpi 808622A8:00: error: buffer BUF3.2 load failed [ 16.264408] sof-audio-acpi 808622A8:00: error: DSP failed to add widget id 0 type 31 name : BUF3.2 stream none reply -12 [ 16.264413] sof-audio-acpi 808622A8:00: ASoC: failed to load widget BUF3.2 [ 16.264426] sof-audio-acpi 808622A8:00: error: tplg component load failed -12 [ 16.264435] sof-audio-acpi 808622A8:00: error: failed to load DSP topology -22 [ 16.264438] sof-audio-acpi 808622A8:00: ASoC: failed to probe component -22 [ 16.264464] cht-bsw-max98090 cht-bsw-max98090: ASoC: failed to instantiate card -22 [ 16.264493] cht-bsw-max98090 cht-bsw-max98090: snd_soc_register_card failed -22
I don't know when things went south so spectacularly but clearly the Intel validation isn't up to snuff. Gah.
On 8/29/19 7:38 PM, Pierre-Louis Bossart wrote:
On 8/26/19 2:02 PM, Pierre-Louis Bossart wrote:
Hi Curtis,
I am just curious what the status of Braswell devices are right now. If the status is unknown that is fine. I may be doing some experimenting with them in the near future. Any known issues or caveats would be appreciated. :)
braswell is essentially cherrytrail which is very nearly identical to baytrail except for an oscillator frequency. I tested SOF on Cyan a number of times in the past, so all the plumbing should already be there. The only caveat is that there is quite a bit of DMA rework at the moment so there might be some re-testing required if you take the latest development branch. Also our module load/reload tests failed, but it's more of a dependency with the max98080/TI aux chip that's not well handled than SOF proper.
well, it's really bad with the latest firmware and kernel:
[ 16.264301] sof-audio-acpi 808622A8:00: ipc tx: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW [ 16.264399] sof-audio-acpi 808622A8:00: error: ipc error for 0x30200000 size 20 [ 16.264404] sof-audio-acpi 808622A8:00: error: buffer BUF3.2 load failed [ 16.264408] sof-audio-acpi 808622A8:00: error: DSP failed to add widget id 0 type 31 name : BUF3.2 stream none reply -12 [ 16.264413] sof-audio-acpi 808622A8:00: ASoC: failed to load widget BUF3.2 [ 16.264426] sof-audio-acpi 808622A8:00: error: tplg component load failed -12 [ 16.264435] sof-audio-acpi 808622A8:00: error: failed to load DSP topology -22 [ 16.264438] sof-audio-acpi 808622A8:00: ASoC: failed to probe component -22 [ 16.264464] cht-bsw-max98090 cht-bsw-max98090: ASoC: failed to instantiate card -22 [ 16.264493] cht-bsw-max98090 cht-bsw-max98090: snd_soc_register_card failed -22
I don't know when things went south so spectacularly but clearly the Intel validation isn't up to snuff. Gah.
not much better with the 1.3 release...
18.483671] sof-audio-acpi 808622A8:00: ipc tx succeeded: 0x30200000: GLB_TPLG_MSG: BUFFER_NEW [ 18.483678] sof-audio-acpi 808622A8:00: tplg: ready widget id 25 pipe 3 type 32 name : PIPELINE.3. stream none [ 18.483685] sof-audio-acpi 808622A8:00: error: widget PIPELINE.3. refers to non existent widget [ 18.483693] sof-audio-acpi 808622A8:00: error: DSP failed to add widget id 0 type 32 name : PIPELINE.3. stream none reply 0 [ 18.483699] sof-audio-acpi 808622A8:00: ASoC: failed to load widget PIPELINE.3. [ 18.483717] sof-audio-acpi 808622A8:00: error: tplg component load failed -22 [ 18.483729] sof-audio-acpi 808622A8:00: error: failed to load DSP topology -22 [ 18.483734] sof-audio-acpi 808622A8:00: ASoC: failed to probe component -22 [ 18.483766] cht-bsw-max98090 cht-bsw-max98090: ASoC: failed to instantiate card -22 [ 18.483802] cht-bsw-max98090 cht-bsw-max98090: snd_soc_register_card failed -22 [ 18.483821] cht-bsw-max98090: probe of cht-bsw-max98090 failed with error -22
On Thu, 2019-08-29 at 19:41 -0500, Pierre-Louis Bossart wrote:
not much better with the 1.3 release...
18.483671] sof-audio-acpi 808622A8:00: ipc tx succeeded:
0x30200000: GLB_TPLG_MSG: BUFFER_NEW [ 18.483678] sof-audio-acpi 808622A8:00: tplg: ready widget id 25 pipe 3 type 32 name : PIPELINE.3. stream none [ 18.483685] sof-audio-acpi 808622A8:00: error: widget PIPELINE.3. refers to non existent widget [ 18.483693] sof-audio-acpi 808622A8:00: error: DSP failed to add widget id 0 type 32 name : PIPELINE.3. stream none reply 0 [ 18.483699] sof-audio-acpi 808622A8:00: ASoC: failed to load widget PIPELINE.3. [ 18.483717] sof-audio-acpi 808622A8:00: error: tplg component load failed -22 [ 18.483729] sof-audio-acpi 808622A8:00: error: failed to load DSP topology -22 [ 18.483734] sof-audio-acpi 808622A8:00: ASoC: failed to probe component -22 [ 18.483766] cht-bsw-max98090 cht-bsw-max98090: ASoC: failed to instantiate card -22 [ 18.483802] cht-bsw-max98090 cht-bsw-max98090: snd_soc_register_card failed -22 [ 18.483821] cht-bsw-max98090: probe of cht-bsw-max98090 failed with error -22
Gah, I have an UP. Let me give this a try, looks like topology is out of sync with BYT version....
Liam
I can take a look into the topologies and see if I can get that fixed.
On Fri, Aug 30, 2019 at 8:22 AM Liam Girdwood liam.r.girdwood@linux.intel.com wrote:
On Thu, 2019-08-29 at 19:41 -0500, Pierre-Louis Bossart wrote:
not much better with the 1.3 release...
18.483671] sof-audio-acpi 808622A8:00: ipc tx succeeded:
0x30200000: GLB_TPLG_MSG: BUFFER_NEW [ 18.483678] sof-audio-acpi 808622A8:00: tplg: ready widget id 25 pipe 3 type 32 name : PIPELINE.3. stream none [ 18.483685] sof-audio-acpi 808622A8:00: error: widget PIPELINE.3. refers to non existent widget [ 18.483693] sof-audio-acpi 808622A8:00: error: DSP failed to add widget id 0 type 32 name : PIPELINE.3. stream none reply 0 [ 18.483699] sof-audio-acpi 808622A8:00: ASoC: failed to load widget PIPELINE.3. [ 18.483717] sof-audio-acpi 808622A8:00: error: tplg component load failed -22 [ 18.483729] sof-audio-acpi 808622A8:00: error: failed to load DSP topology -22 [ 18.483734] sof-audio-acpi 808622A8:00: ASoC: failed to probe component -22 [ 18.483766] cht-bsw-max98090 cht-bsw-max98090: ASoC: failed to instantiate card -22 [ 18.483802] cht-bsw-max98090 cht-bsw-max98090: snd_soc_register_card failed -22 [ 18.483821] cht-bsw-max98090: probe of cht-bsw-max98090 failed with error -22
Gah, I have an UP. Let me give this a try, looks like topology is out of sync with BYT version....
Liam
Hey Liam,
Friendly ping to see if there are any updates or if you could point me in the right direction to help out if possible to get cherrytrail back on its feet.
On Fri, Aug 30, 2019 at 9:42 AM Curtis Malainey cujomalainey@google.com wrote:
I can take a look into the topologies and see if I can get that fixed.
On Fri, Aug 30, 2019 at 8:22 AM Liam Girdwood liam.r.girdwood@linux.intel.com wrote:
On Thu, 2019-08-29 at 19:41 -0500, Pierre-Louis Bossart wrote:
not much better with the 1.3 release...
18.483671] sof-audio-acpi 808622A8:00: ipc tx succeeded:
0x30200000: GLB_TPLG_MSG: BUFFER_NEW [ 18.483678] sof-audio-acpi 808622A8:00: tplg: ready widget id 25 pipe 3 type 32 name : PIPELINE.3. stream none [ 18.483685] sof-audio-acpi 808622A8:00: error: widget PIPELINE.3. refers to non existent widget [ 18.483693] sof-audio-acpi 808622A8:00: error: DSP failed to add widget id 0 type 32 name : PIPELINE.3. stream none reply 0 [ 18.483699] sof-audio-acpi 808622A8:00: ASoC: failed to load widget PIPELINE.3. [ 18.483717] sof-audio-acpi 808622A8:00: error: tplg component load failed -22 [ 18.483729] sof-audio-acpi 808622A8:00: error: failed to load DSP topology -22 [ 18.483734] sof-audio-acpi 808622A8:00: ASoC: failed to probe component -22 [ 18.483766] cht-bsw-max98090 cht-bsw-max98090: ASoC: failed to instantiate card -22 [ 18.483802] cht-bsw-max98090 cht-bsw-max98090: snd_soc_register_card failed -22 [ 18.483821] cht-bsw-max98090: probe of cht-bsw-max98090 failed with error -22
Gah, I have an UP. Let me give this a try, looks like topology is out of sync with BYT version....
Liam
On 9/10/19 7:54 PM, Curtis Malainey wrote:
Hey Liam,
Friendly ping to see if there are any updates or if you could point me in the right direction to help out if possible to get cherrytrail back on its feet.
Sorry Curtis, I thought you provided a topology fix, so assumed things were ok. Still problematic? Thanks -Pierre
participants (3)
-
Curtis Malainey
-
Liam Girdwood
-
Pierre-Louis Bossart