Hi Rudy! I'm not sure where the link was supposed to point to but I found the following an excellent guide to experimenting the PRU's using the 4.14 series kernel. (you would have to update for this to apply) (https://github.com/MarkAYoder/PRUCookbook)
Bill Bitner On Thu, Oct 25, 2018 at 7:41 PM <[email protected]> wrote: > Hi Wesley, > > I'm interested in checking this out! > > The download links are broken, are you able to post new links? > > Hope you're having a top day :D > > -Rudy. > > On Friday, August 31, 2012 at 7:04:39 AM UTC+10, Wesley wrote: >> >> Hey, >> >> So I tested to see how fast the GPIO toggle rate of the Beaglebone could >> get when using a kernel module. When using user space it was only about 4-5 >> MHz and once I did the kernel module it got up to 25 MHz. Since I had a >> difficult time getting the kernel source tree on the beaglebone and >> compiling everything here is some documentation and code for those who want >> to build kernel modules/device drivers on the beaglebone and also user >> program interaction with the kernel module. >> >> gpio.c is the kernel code >> gpio.h is the header file for both gpio.c and ioctl.c >> ioctl.c is the user code >> >> Here is my Makefile in case you want it also >> >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> obj-m := gpio.o >> >> KERNELDIR := /usr/src/linux-3.2.23 >> >> default: >> $(MAKE) -C $(KERNELDIR) M=$(PWD) modules >> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >> >> Also, the websites that I used that helped me get here were mainly these: >> https://groups.google.com/forum/#!msg/beagleboard/BKnNkP3qzQs/PNloua3737MJ >> http://www.cemetech.net/forum/viewtopic.php?t=7814 >> and the Linux Device Drivers book >> >> ~Wesley >> >> -- > 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/a282b742-f1db-4fc6-afa9-2c15599c5f59%40googlegroups.com > <https://groups.google.com/d/msgid/beagleboard/a282b742-f1db-4fc6-afa9-2c15599c5f59%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/CAOYP4dhSp%3Dnbnq7BwYKb2vhpmKVCapfNyRPayC7q2nvDWvNN7A%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
