On Thu, Nov 3, 2016 at 1:23 PM, <[email protected]> wrote: > Hi, > I have been lurking about these boards asking a few questions about > beaglebone. Off and on when I have time I am evaluating the beaglebone for a > low latency audio application. > > > I am using the 4.4.20-ti-r44 build at the moment, in a previous post I have > swapped using RPMsg for the older uio_pruss library which was more flexible > for my needs. Thanks to a lot of help on the board I managed to get the PRUs > loaded and running. > > > The next thing I want to try is to get the TLV320AIC3204 codec working with > the beaglebone black. Looking at the forums there is a lot to do. > > > 1) Build a kernel module driver, install on target machine under > /lib/modules/(kernel name)/kernel/sound.soc.codecs > > 2) Look at the dts and disable hdmi support > > 3) Then start adding alsa support into the dts for pins, i2c config, links > to alsa , etc. > > > Unfortunately I am stuck at 1 8-(. Being a newbie I am not quie sure what to > do. > > > It looks like there is a driver for it: > > KERNEL/sound/soc/codecs/tlv320aic32x4.c > > > The current kernel has support for snd-soc-tlv320aic31xx.ko, and > snd-soc-tlv320aic32032x4.ko. I want to add snd-soc-tlv320aic32x4.ko, > > > So I cloned the bb kernel. git clone > https://github.com/RobertCNelson/bb-kernel , and tried to build > ./build_kernel I hoped I could run make menuconfig and enable it but it > is not an option. > > > So some question if anyone can help. > > > 1) There is no branch for 4.4.20-ti-r44 so I am a bit confused. It might be > obvious to guys with experience why but I don;t understand, am I looking at > the wrong repository. It looks like this repository is the main one for > beaglebone.
4.4.20-ti-r44 was generated from: https://github.com/RobertCNelson/ti-linux-kernel-dev/tree/ti-linux-4.4.y but don't use it, as "old tags" can't be used in that repo, instead grab yakbuild and follow the readme/recipe example https://github.com/RobertCNelson/yakbuild > > > 2) So I went for the current release branch at 4.4 just to get started. > Started the build and when the menu config came up there was no option to > select tlv320aic32032x4. So I looked at the Kconfig , and makefile in the > /sound.soc/codecs directory and the file exists, there is an option in the > makefile to build if the config is selected. The KConfig looks like it is > not selected. I tried to add an option in Kconfig and rebuild using > ./build_kernel but it looks like it overwrites my Kconfig when it patches > the bbb patch onto 4.4. if you make changes under ./KERNEL/ run: ./tools/rebuild.sh > > > 3) Can anyone help, Is there a way just to build the code without calling > the patch update ? Also can I add the configuration option into the menu, Regards, -- Robert Nelson https://rcn-ee.com/ -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CAOCHtYiOuP2n5OYEDUy95Qu1AXLLMrB3iZQ%3DbqLw5Kf3Te1JnA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
