[alsa-devel] alsa on Atmel at91
lg at opensource.wolfsonmicro.com
Wed Apr 18 11:52:31 CEST 2007
On Wed, 2007-04-18 at 11:18 +0200, Michel Benoit wrote:
> Hello again Liam,
> > Frank has written a codec driver for a dumb BT codec (attached and link
> > below). This could be renamed and with a little string changes could be
> > used as a generic dumb codec driver.
> > http://opensource.wolfsonmicro.com/~lg/tmp/asoc-codec-bluecore.patch
> > I would use the eti_b1_wm8731.c as an example machine driver for your
> > board. You will need to replace any WM8731 references and add your
> > boards own specific clocks, gpio's etc.
> I am able to build a soc driver for my hardware using the bluecore
> codec driver and et1_b1_wm8731 machine code as examples.
> The driver gets recognized by alsa at startup. The ssc registers are
> set correctly but my original problem still remains. I can play
> random noise with test/pcm_min but with test/pcm the alsa lib returns
> a period_size of 0, despite the fact I set period_time to 100000.
This maybe related to an ARM gcc bug :-
> I start to suspect that I have a problem with alsa lib. How did you
> cross compile alsa lib för the at91?
I use OpenEmbedded for all my cross compiling:-
OE has the bug fix for the above gcc bug in it's toolchain.
More information about the Alsa-devel