[alsa-devel] Audio driver for dbAu1250 Development board
Manjunath A M
manjunatham at tataelxsi.co.in
Thu Jun 4 11:28:06 CEST 2009
Hi
I am trying to make audio up in dbAu1250 Development board, I downloaded
linux-2.6.29.4 kernel from the site
"http://www.linux-mips.org/pub/linux/mips/kernel/v2.6/ " and
applied the patch "asoc-v2.6.29-rc8-2009-03-17.patch"downloaded from
"http://opensource.wolfsonmicro.com/~git/asoc/"
but while compiling i am getting the bellow errors
********Linux compilation errors*************
sound/soc/au1x/exmmb-ac97.c:24:38: error: asm/mach-exm1200/exm1200.h: No
such file or directory
sound/soc/au1x/exmmb-ac97.c:26:25: error: linux/exm32.h: No such file or
directory
sound/soc/au1x/exmmb-ac97.c:58: error: subscripted value is neither
array nor pointer
sound/soc/au1x/exmmb-ac97.c:65: error: variable âsnd_soc_machine_exm97â
has initializer but incomplete type
sound/soc/au1x/exmmb-ac97.c:66: error: unknown field ânameâ specified in
initializer
sound/soc/au1x/exmmb-ac97.c:66: warning: excess elements in struct
initializer
sound/soc/au1x/exmmb-ac97.c:66: warning: (near initialization for
âsnd_soc_machine_exm97â)
sound/soc/au1x/exmmb-ac97.c:67: error: unknown field âdai_linkâ
specified in initializer
sound/soc/au1x/exmmb-ac97.c:67: warning: excess elements in struct
initializer
sound/soc/au1x/exmmb-ac97.c:67: warning: (near initialization for
âsnd_soc_machine_exm97â)
sound/soc/au1x/exmmb-ac97.c:68: error: unknown field ânum_linksâ
specified in initializer
sound/soc/au1x/exmmb-ac97.c:68: warning: excess elements in struct
initializer
sound/soc/au1x/exmmb-ac97.c:68: warning: (near initialization for
âsnd_soc_machine_exm97â)
sound/soc/au1x/exmmb-ac97.c:73: error: unknown field âmachineâ specified
in initializer
sound/soc/au1x/exmmb-ac97.c:73: warning: initialization from
incompatible pointer type
sound/soc/au1x/exmmb-ac97.c:74: error: unknown field âplatformâ
specified in initializer
sound/soc/au1x/exmmb-ac97.c:74: warning: initialization from
incompatible pointer type
sound/soc/au1x/exmmb-ac97.c:80: error: âPSC1_BASEâ undeclared here (not
in a function)
sound/soc/au1x/exmmb-ac97.c: In function âpsc_to_ac97â:
sound/soc/au1x/exmmb-ac97.c:107: error: implicit declaration of function
âau_readlâ
sound/soc/au1x/exmmb-ac97.c:110: error: implicit declaration of function
âau_writelâ
sound/soc/au1x/exmmb-ac97.c:111: error: implicit declaration of function
âau_syncâ
sound/soc/au1x/exmmb-ac97.c:115: error: âPSC_CTLâ undeclared (first use
in this function)
sound/soc/au1x/exmmb-ac97.c:115: error: (Each undeclared identifier is
reported only once
sound/soc/au1x/exmmb-ac97.c:115: error: for each function it appears in.)
sound/soc/au1x/exmmb-ac97.c:117: error: âPSC_SELâ undeclared (first use
in this function)
sound/soc/au1x/exmmb-ac97.c:122: error: âPSC_AC97RSTâ undeclared (first
use in this function)
sound/soc/au1x/exmmb-ac97.c:124: error: implicit declaration of function
âmsleepâ
sound/soc/au1x/exmmb-ac97.c:133: error: âPSC_AC97STATâ undeclared (first
use in this function)
sound/soc/au1x/exmmb-ac97.c:140: error: âPSC_AC97CFGâ undeclared (first
use in this function)
sound/soc/au1x/exmmb-ac97.c: In function âexm1200_mobo_ac97_initâ:
sound/soc/au1x/exmmb-ac97.c:160: error: implicit declaration of function
âau_readwâ
sound/soc/au1x/exmmb-ac97.c:160: error: âEXM1200_FPGA_BRDCTRLâ
undeclared (first use in this function)
sound/soc/au1x/exmmb-ac97.c:162: error: implicit declaration of function
âau_writewâ
make[3]: *** [sound/soc/au1x/exmmb-ac97.o] Error 1
make[2]: *** [sound/soc/au1x] Error 2
****************************************************
before applying the patch the board was working but the audio was not
working..
can you suggest me which kernel source you used and how you got the
audio working for your board.
can you send me the sample kernel image "vmlinux.srec" image for testing..
Thanks
Manjunath.AM
The information contained in this electronic message and any attachments to this message are intended for the exclusive
use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended
recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy
all copies of this message and any attachments contained in it.
More information about the Alsa-devel
mailing list