On Sun, Feb 28, 2016 at 9:24 AM, lucas <[email protected]> wrote: > I am trying to figure out the how to configure the device tree overlay for > the PRU-cape. > > I am using the latest recommended image from > http://beagleboard.org/latest-images (i.e. Debian 8.3 Linux beaglebone > 4.1.15-ti-rt-r43) without any changes. > > I uncommented the following line in uEnv.txt because I read that the HDMI > interface has to be disabled > ##BeagleBone Black: HDMI (Audio/Video)/eMMC disabled: > dtb=am335x-boneblack-overlay.dtb > > This is what works: > 1.) I can build and load the PRU_LED0.out from TI's software support package > onto PRU0 with remoteproc > 2.) Then I use the command "config-pin P9.30 pruout" and the led blinks > > But I this only works with this particular pin. I would actually like is to > enable all the pins for the PRU that are in defined > "am335x-boneblack-prucape.dtsi". I have tried a myriad things (I don't > really want to list all of them, but if it helps i will).
for reference: https://git.ti.com/pru-software-support-package/pru-software-support-package/trees/dev/pru_cape (i didn't realize this existed) > > Can anyone give me a hint on how to enable the overlay? Oh that's not an overlay.. Using the "dtb-rebuilder" just add: #include "am335x-boneblack-prucape.dtsi" > > There seem to be different ways to enable pins i.e. use "config-pin", > loading adding an overlay to "/sys/devices/platform/bone_capemgr/slots", > going to the "/opt/source/dtb-4.1-ti/" directory and changing and making the > files there. What is the recommended way? You do it anyway you want that works.. overlay is best for development, config-pin is nice if your doing lots of dynamic changes /opt/source/dtb-4.1-ti/ us nice if you just want to set and forget about it ;) 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]. For more options, visit https://groups.google.com/d/optout.
