Here's my starting point that should work with newer images than the one documented:
https://gist.github.com/jadonk/2ecf864e1b3f250bad82c0eae12b7b64 It is just a simple LED blinking demo. You can still use mmap to access the shared memory for communications. On Thu, Sep 7, 2017 at 12:09 PM Kasimir <[email protected]> wrote: > > Hi Jason, > > have to start again from scratch. Have no preference for a specific kernel > / distribution, as long > I can write C-code for ARM & PRU .... and they are able to communicate via > shared ram. > At least pru1 should have influence to the P8_43 .... P8_46 outputs. No > HDMI required. > > I have a blank Beaglebone black now. > > Thanks again and have a good day > > Kasimir > > > Am Dienstag, 5. September 2017 18:55:37 UTC+2 schrieb Kasimir: > >> I want to use the HDMI outputs to drive external circuit. Required toggle >> rate is between 1MHz and 10MHz. >> Have BB black. >> uname -a >> Linux beaglebone 4.4.84-ti-r120 #1 SMP Sun Aug 27 03:11:07 UTC 2017 >> armv7l GNU/Linux >> cat /etc/debian_version >> 9.1 >> So I have to use the PRU unit. >> I was searching example to have a starting point. >> But it sucks already with the first step. >> >> ll /sys/devices/bone_capemgr* >> ls: cannot access '/sys/devices/bone_capemgr*': No such file or directory >> >> I load the image from here: >> http://debian.beagleboard.org/images/bone-debian-9.1-iot-armhf-2017-08-31-4gb.img.xz >> >> What is my mistake? >> Device tree compiler is up to date >> device-tree-compiler is already the newest version (1.4.4-0rcnee3~stretch >> +20170719). >> 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. >> >> Found a lot of hints to use the 3.8 kernel. Think that one is already >> some years old, can't be true. >> >> Question: How to create the required device tree overlay, because /sys/ >> devices/bone_capemgr* is not existing? >> >> Thanks for help >> >> >> >> >> -- > 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/525d7b19-1557-4038-abd0-d4fe23276049%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/525d7b19-1557-4038-abd0-d4fe23276049%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- https://beagleboard.org/about -- 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/CA%2BT6QPnhpoEZJeL5ADrYUXAv%3DNguhY6F5vS9AprsVgfZE61Gug%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
