The i.MX31 Freescale's BSP does not have asoc support, just an interface for MC13783 (a Power Management IC from Freescale with integrated audio interface). The wolfsonmicro's tree is the only one that have support to asoc but it does not compiles using the mentioned steps. Am I missing something or may be these drivers broken?
Mark Brown escreveu:
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. _______________________________________________ Alsa-devel mailing list Alsa-devel@alsa-project.org http://mailman.alsa-project.org/mailman/listinfo/alsa-devel
--------------------------------------------- Tecnequip Tecnologia em Equipamentos Endere�o/Address: Rua Juno, 527 Cidade/City: S�o Paulo Estado/State: SP Pa�s/Country: Brasil CEP/Postal Code: 03445-000 Fone/Phone: 55-11-20937199 FAX: 55-11-29412289