Skip to contentSkip to conversation

Samsung S5PV210 I2S DMA

DISCUSSION Mike Dyer 2 participants 3 messages Apr 7, 2013 – Jul 22, 2013 1 message not in the archive Arm Samsung Exynos

lore
Share & tools
lore

Mike Dyer

author
#0 lore raw

Hi All,

I'm attempting to play audio into a WM8960 codec attached to I2S 0 on a Samsung S5PV210.

The DMA engine emits a lot of messages complaining of (I think) a read fault:

dma-pl330 dma-pl330.0: Reset Channel-0 CS-20000f FTC-40000 dma-pl330 dma-pl330.0: Reset Channel-0 CS-20000f FTC-40000
...

I've had audio playing using the I2S idma driver, so I know clocks + mixer settings are OK. I'd like to get the external DMA working because I also need to do capture.

Any suggestions on how to debug?

Cheers,
Mike

author
#2 lore raw
In reply to a message not in the archive
Quoted 5 lines · Alexey Galakhov

Hi,

Quoted 2 lines

The DMA engine emits a lot of messages complaining of (I think) a read fault:

Quoted 8 lines
Quoted 2 lines

dma-pl330 dma-pl330.0: Reset Channel-0 CS-20000f FTC-40000 dma-pl330 dma-pl330.0: Reset Channel-0 CS-20000f FTC-40000

I'm debugging the same error right now. FTC-40000 means "Read error", i.e. invalid address of the DMA source block.

Regards,
Alex

In my case it turned out the TZPC hadn't been configured properly by the bootloader. I had to modify to the bootloader to make sure the I2S was non secured (it's secure by default).

Hope this helps,
Mike

#3 lore raw
Quoted 3 lines · Mike Dyer

In my case it turned out the TZPC hadn't been configured properly by the bootloader. I had to modify to the bootloader to make sure the I2S was non secured (it's secure by default).

Thank you! As I'm the one who ported the bootloader (barebox) to S5PV210, I think I should support generic TZPC configuration in the bootloader.

Regards,
Alex