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
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).
Can anyone give me a hint on how to enable the overlay?
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?
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 Latest Software Images - BeagleBoard (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).
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