Loading .out onto PRU

Hi,

I’m looking for the most up-to-date instructions on updating the device tree, and loading a .out file onto the BBB’s PRU(s).

There’s a ton of information on the web, but so much is obsolete, or as in the case of TI’s super-helpful hands-on-labs (http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs#LAB_4:_Introduction_to_Linux_driver) not targeted at the stock eMMC Debian distro.

I’m hoping someone super-familiar with developing on the PRUs can link me to a resource that is the most modern approach to loading a compiled .out file (from CCS, if it matters) onto the PRUs first, then get it to load at boot every boot.

Thank you in advance

(also, sorry if this is a double post, I believe I posted earlier, but didn’t see it pop up on the list)

Hi Justyn-

There are of course many ways to work with the PRU, but if you want “latest and greatest” that would be via RemoteProc framework. And if you are working with the TI labs, you have already been exposed to it.

I don’t work with CCS (might in the future as I saw recently there is no longer a license fee), but instead I did everything at the command line via SSH.
And I used the Beaglebone Green with Debian based IOT image (TI kernel). If you look at this project, there is a link to a github repository which has a PDF file in the doc folder.
There are a couple of sections in the PDF which show how to configure it all on the BBG Debian IOT:

https://www.hackster.io/Greg-R/pru-pid-motor-speed-controller-with-beaglebone-green-ccb805

RemoteProc framework does the work of loading the PRU firmwares into the PRUs and starting the processors.

It’s just an example, have a look and it might give you an idea where to go next.

Regards,
Greg