[alsa-devel] Problem compiling soc - imx31 and wm8753

Mark Brown broonie at sirena.org.uk
Wed Mar 11 16:36:06 CET 2009

On Wed, Mar 11, 2009 at 11:47:25AM -0300, Marcelo Utikawa da Fonseca wrote:

> I am facing a problem while compiling the sound support for imx31ads board.
> I got the kernel from wolfsonmicro using the following command:

> git clone git://opensource.wolfsonmicro.com/linux-2.6-asoc linux-2.6-asoc

> After this I just copy the arch/arm/configs/mx31ads_defconfig to .config 
> and run:

> make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi- menuconfig

> I did not change nothing, just configure and compile...
> My gcc version is 4.1.2 from Freescale.
> What can be wrong? Could be this version of gcc a problem?
> I already tried to correct the missing include files but the other 
> errors are still there after the corrections...

The i.MX31 support that is present in ASoC git depends on underlying
support for the CPU which is not present in any mainline tree (which is
why this code has not been contributed to mainline yet).

Probably the easiest thing to do is to start from the BSP provided by
Freescale - I believe that most versions of that contain the CPU audio
drivers already, probably including a version of the WM8731 driver.  It
should be much easier to merge that driver (by itself, just wm8731.c and
wm8731.h) into the Freescale BSP than to merge the i.MX31 support into
the standard kernel.

More information about the Alsa-devel mailing list