On Sun, Dec 28, 2014 at 9:47 PM, Rick Mann <[email protected]> wrote:
>
>> On Dec 27, 2014, at 16:23 , Robert Nelson <[email protected]> wrote:
>>
>> git clone https://github.com/beagleboard/linux
>> cd linux
>>
>> git checkout origin/3.14.26-ti-r43 -b tmp
>> make ARCH=arm bb.org_defconfig
>>
>> ./scripts/config --disable CONFIG_USB_TI_CPPI41_DMA
>> ./scripts/config --enable CONFIG_MUSB_PIO_ONLY
>>
>> fakeroot make ARCH=arm  LOCALVERSION=-ti-r43-tmp
>> CROSS_COMPILE=/usr/bin/arm-linux-gnueabihf-  KDEB_PKGVERSION=1cross
>> KBUILD_DEBARCH=armhf deb-pkg
>>
>> cp *.deb to bbb, then run:
>>
>> sudo dpkg -i linux-image-*
>> sudo reboot
>
> Okay, audio seems to work, but of course now I don't know how to enable the 
> ADCs. Is this where I have to make a complete dtb that's loaded at boot? This 
> is what I'd use dtb-rebuilder for, right, but that's in 3.19?
>
> I'm sorry, there are so many moving parts to this project, I'm having a hard 
> time remembering where I was before I last downgraded to 3.8. I need to read 
> two ADCs and read and set a handful of GPIOs (via sysfs is fine), and 
> eventually I need some PRU code to be able to write quickly to one GPIO.

So the ADC is pretty straight forward, for example the proxy cape uses
3 adc channels..

https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-bone-basic-proto-cape.dtsi

So if you add that node (with the 2 adc channels you need) to:

https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-boneblack.dts

then it's just

make
sudo make install
sudo reboot

(this is with the 3.14-ti branch of dtb-rebuilder)

The best gpio example is in the argus dtsi

https://github.com/RobertCNelson/dtb-rebuilder/blob/3.14-ti/src/arm/am335x-bone-argus.dtsi

Regards,

-- 
Robert Nelson
http://www.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].
For more options, visit https://groups.google.com/d/optout.

Reply via email to