2010-04-21 02:26:22     Add ad1938 alsa codec driver

Document created by Aaronwu Employee on Aug 21, 2013
Version 1Show Document
  • View in full screen mode

2010-04-21 02:26:22     Add ad1938 alsa codec driver

sabin Maniac (ROMANIA)

Message: 88693   

 

Hello, I am a newbie in linux and embedded architecture and I need help with this problem : I have a blackfin bf537-Stamp board and I want to do some applications with audio processing. I have done the basics, but I want to add an audio extender with ad1938 codec.I found a kernel with the driver included(a trunk version) but I don't know how to convert it into an uImage or how to add just the driver or the kernel to my uClinux-dist.R1.1-RC3 distribution.If you have any solutions please help.

QuoteReplyEditDelete

 

 

2010-04-21 02:43:12     Re: Add ad1938 alsa codec driver

Barry Song (CHINA)

Message: 88694   

 

Pls read

 

  docs.blackfin.uclinux.org/doku.php?id=the_linux_kernel for compiling kernel.

 

and read

 

  docs.blackfin.uclinux.org/doku.php?id=linux-kernel:drivers:ad193x&s[]=ad193x

 

for ad1938.

 

-barry

QuoteReplyEditDelete

 

 

2010-04-23 04:32:13     Re: Add ad1938 alsa codec driver

sabin Maniac (ROMANIA)

Message: 88811   

 

On the second page it shows that the kernel already has the support for this codec but my kernel doesn't. When I run menuconfig there is no driver for this codec  in the sound section.Sorry if I'm missing something.

QuoteReplyEditDelete

 

 

2010-04-23 11:03:53     Re: Add ad1938 alsa codec driver

Robin Getz (UNITED STATES)

Message: 88820   

 

Sabin:

 

Then upgrade.

 

-Robin

QuoteReplyEditDelete

 

 

2010-04-24 03:11:46     Re: Add ad1938 alsa codec driver

sabin Maniac (ROMANIA)

Message: 88844   

 

Yes I did.I took the kernel from trunk that has support for ad1938 codec driver.But got some errors at syscall.c .I going for the upgrade of the toolchain too.Hope this will solve the problem.

QuoteReplyEditDelete

 

 

2010-04-24 10:17:58     Re: Add ad1938 alsa codec driver

sabin Maniac (ROMANIA)

Message: 88859   

 

I am close to giving up.I took the latest release of toolchain and latest  uClinux distro I have replaced the kernel with one that has driver support for ad1938 but I get some errors in syscall.c or in some header files of sycall.c that say that the compiler cannot find some declaration of variables(I looked it up and I found that I have to renew the toolchain- with what? except the trunk).If someone can explain(with details) to me how can I get a distribution-toolchain combo that has support for ad1938 to work, please help.

QuoteReplyEditDelete

 

 

2010-04-24 21:35:02     Re: Add ad1938 alsa codec driver

Mike Frysinger (UNITED STATES)

Message: 88863   

 

we cant help if you dont actually post error messages.  vague references to random files is useless.

 

QuoteReplyEditDelete

 

 

2010-04-26 05:22:12     Re: Add ad1938 alsa codec driver

sabin Maniac (ROMANIA)

Message: 88900   

 

Thank you Mike, I have succeded in my objective.What have I done:

 

Downloaded the latest release of toolchain: 2009R1.1 .

 

Downoaded the latest uClinux-distribution:2009R1.1 and put in the kernel from the trunk with support for my codec.On the first menu after you do ''make menuconfig' I updated the vendors configuration.Did 'make' and voila.

Attachments

    Outcomes