I am working on a generic * 0x1A4 0x05* mode setting, just sitting down now for some more punishment.
two other good resources on this are http://www.ofitselfso.com/BeagleNotes/UsingDeviceTreesToConfigurePRUIOPins.php and this video at this time https://youtu.be/wui_wU1AeQc?t=630 it talks about the config pin byte structure. I read another post about a guy having a similar issue to me in that the pin was not responding on the dtb/o at https://groups.google.com/forum/?hl=en#!category-topic/beagleboard/pru/k6RACGRSwfc turns out he was blocked by the HDMI - on P8 Make me wonder if some how these P9 pins in Roberts base dtb are somehow allocated. I'll have to dig in deeper. Neil On Monday, November 7, 2016 at 7:40:21 PM UTC-7, William Hermans wrote: > > Then here: http://beaglebone.cameon.net/home/pin-muxing says a couple of >> my assumptions were wrong. 0x25h seems correct. > > > > Blah, I got it wrong again. Seems 0xD was correct. But anyway, you have > the means to do what you need. Just make sure you read the second link > correctly. I got it wrong at first look because instead of reading what > each bit Fields is intended to mean, I made assumptions again . . . like > disabled = 0 when actually according to that page disabled = 1 . . . > > On Mon, Nov 7, 2016 at 7:22 PM, Greg <[email protected] <javascript:>> > wrote: > >> YES, that is the rub! >> >> Robert's description of what to do had to be stared at a bit, but >> actually it is very easy and it worked first time. >> >> I've got a BB Green, so I will re-iterate the particular steps required >> for Remoteproc: >> >> 1. Clone Robert's github repository: >> git clone https://github.com/RobertCNelson/dtb-rebuilder >> >> 2. cd dtb-rebuilder/ >> cd src/arm >> >> 3. Now you will need to find and edit the top of the device tree dts >> file. >> For BBG, this is: >> am335x-bonegreen.dts >> >> The only thing you have to do is to uncomment: >> /* #include "am33xx-pruss-rproc.dtsi" */ >> >> unquote the line: >> #include "am33xx-pruss-rproc.dtsi" >> >> Save and exit. >> >> 4. cd /etc/modprobe.d >> Create a new file named: >> pruss-blacklist.conf >> >> Add this single line to the file: >> blacklist uio_pruss >> >> Save and exit. >> >> 5. cd back to dtb-rebuilder >> >> make >> sudo make install >> sudo reboot >> >> After the above process, PRUs entries appear in >> /sys/bus/platform/devices, and the RPMsg example with character device in >> /dev is working! >> >> I will add the above process steps to the chapter on PRU compiler set-up >> in my Remoteproc ADC github project. >> >> Thanks! >> Greg >> >> -- >> 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] <javascript:>. >> To view this discussion on the web visit >> https://groups.google.com/d/msgid/beagleboard/4431b19a-668e-44bc-890d-9b2dc92c46b8%40googlegroups.com >> >> <https://groups.google.com/d/msgid/beagleboard/4431b19a-668e-44bc-890d-9b2dc92c46b8%40googlegroups.com?utm_medium=email&utm_source=footer> >> . >> >> For more options, visit https://groups.google.com/d/optout. >> > > -- 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/490d71a3-a570-4b1a-8f07-f7bacd9492e0%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
