>
> Yes there is:
>

 https://git.ti.com/pru-software-support-package

The above support package includes two directories:  examples and labs.
The examples are a bunch of "building blocks" which illustrate how to do 
various important sub-tasks with the PRU + remoteproc/rpmsg/virtio.

The instructions on the labs:

http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs

Use the above only as a general guide on the labs.  The Beaglebone images 
already have the "CLI" (command line interface) PRU tools (C compiler etc) 
installed.

Look for the compiler named clpru.  There are a couple of small hacks to 
get the Labs to "make" and run:

1.  You will need to add a bin directory and a soft link to the clpru 
binary from the CLI package directory.  You need to find a directory like: 
 /usr/share/ti/cgt-pru.
     The make file is looking for a bin with the clpru executable in it, 
but there isn't one.  So mkdir bin and ln -s (path to clpru).
2.  The make file will look for an environment variable PRU_CGT which 
points to /usr/share/ti/cgt-pru.  I recommend adding this to your login 
set-up in .profile or however you do it.

You can set-up the GPIOs for PRU direct access using the Universal IO, an 
example command:  config-pin P8.44 pruout

When you start up your board with the Debian image, try the lsmod command 
and see if you already have remoteproc drivers running.
You will need to use the commands  dmesg, lsmod, rmmod -f, and insmod a lot.
I'm using one of Robert Nelson's TI images, some of the details above may 
be slightly different with the "recommended" Debian image, but they will be 
similar.
I've noticed the remoteproc (and friends) driver names may different 
depending on which flavor and version of distribution you are using.

Good luck, the PRUs are very challenging, but I think very entertaining to 
program!
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/beagleboard/fa62d890-67a3-428a-84f9-f4eb88eb9404%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to