Many thanks for the script. The blinking-led notes for UIO now point to it:
https://github.com/dinuxbg/pru-gcc-examples/tree/master/blinking-led#uio-host-driver

Regards,
Dimitar

On Saturday, November 26, 2016 at 9:49:57 PM UTC+2, Neil Jubinville wrote:
>
> Hi All,
>
> *Thanks for all the previous help*, I am happy to report that I have a 
> script that will download, install , configure a beaglebone for working pru 
> support.   It does this at the most basic level.  One blinking LED.
>
> Here is how to get a surefire setup if you are just learning about the PRU 
> and want to know you have a working base system.  Once you have a working 
> base you can build your knowledge from there and understand which pieces do 
> what.
>
> 1)    Get this image :   * 
> https://debian.beagleboard.org/images/bone-debian-8.4-lxqt-4gb-armhf-2016-05-13-4gb.img.xz
>  
> <https://debian.beagleboard.org/images/bone-debian-8.4-lxqt-4gb-armhf-2016-05-13-4gb.img.xz>*
> install it on SD card / flash it to emmc. It is the release I used.
>
> 2) Login into your beaglebone black and run:
> *git clone **https://github.com/Neil-Jubinville/pru 
> <https://github.com/Neil-Jubinville/pru> *
>
> 3)  Then    cd pru     followed by    ./prep_pru.sh      and that will 
> kickoff the automatic setup.
>
> You can view the script details here:     
> https://github.com/Neil-Jubinville/pru/blob/master/prep_pru.sh
>
> In a nutshell - it upgrades the kernel to a know working version, rebuilds 
> device tree overlays, disables cape universal,  enables PRU support, loads 
> the uio_pruss module, downloads examples and sets one of them to run at 
> start up.  It will reboot your beaglebone so make your you are watching it 
> start so you can see it blink.
>
> To see it work, ultimately you will need an LED hooked up to P9.27 to 
> ground (and an inline resister likely).   
>
> Thx,
>
> Neil
>

-- 
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/f150b4ba-eaf9-43cc-8a0b-8e620e8dd497%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to