alsa-devel.alsa-project.org archive mirror
 help / color / mirror / Atom feed
* Samsung S5PV210 I2S DMA
@ 2013-04-07 11:36 Mike Dyer
       [not found] ` <51D7EFEA.6040901@gmail.com>
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Dyer @ 2013-04-07 11:36 UTC (permalink / raw)
  To: linux-samsung-soc; +Cc: alsa-devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Samsung S5PV210 I2S DMA
       [not found] ` <51D7EFEA.6040901@gmail.com>
@ 2013-07-22  7:33   ` Mike Dyer
  2013-07-22 10:27     ` Alexey Galakhov
  0 siblings, 1 reply; 3+ messages in thread
From: Mike Dyer @ 2013-07-22  7:33 UTC (permalink / raw)
  To: Alexey Galakhov; +Cc: alsa-devel

On Sat, 2013-07-06 at 16:22 +0600, Alexey Galakhov wrote:
> Hi,
> 
> > 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'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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Samsung S5PV210 I2S DMA
  2013-07-22  7:33   ` Mike Dyer
@ 2013-07-22 10:27     ` Alexey Galakhov
  0 siblings, 0 replies; 3+ messages in thread
From: Alexey Galakhov @ 2013-07-22 10:27 UTC (permalink / raw)
  To: Mike Dyer; +Cc: alsa-devel

On 07/22/2013 01:33 PM, Mike Dyer wrote:

> 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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2013-07-22 10:27 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-07 11:36 Samsung S5PV210 I2S DMA Mike Dyer
     [not found] ` <51D7EFEA.6040901@gmail.com>
2013-07-22  7:33   ` Mike Dyer
2013-07-22 10:27     ` Alexey Galakhov

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).