-
1Step 1
Kernel Module.
- Install the correct kernel headers
sudo apt-get install linux-headers-uname -r
- Make backup of existing pruss_remoteproc driver (if any)
sudo cp /lib/modules/$(uname -r)/kernel/drivers/remoteproc/pruss_remoteproc.ko /lib/modules/$(uname -r)/kernel/drivers/remoteproc/pruss_remoteproc.ko.back
- cd to /drivers/remoteproc in cloned repo and run 'make' command
make
- Install the compiled module
PRU firmwaremake install
- Install TI-PRU Code generation tool from this link
- Clone TI's PRU software package library from this link to any suitable directory.
Example
cd /usr/share
git clone git://git.ti.com/pru-software-support-package/pru-software-support-package.git
- Edit /firmware/Makefile variable SWDIR to the directory in which you cloned repo in Step 2 (skip this step if you cloned in /usr/share)
- cd to /firmware
make
- Install firmware
if above steps are performed on host PC
make install-tobb
if above steps are perfomed on BBBmake install-frombb
- cd to /userspace and run 'make' command. This will compile the library and examples
make
Discussions
Become a Hackaday.io Member
Create an account to leave a comment. Already have an account? Log In.