Switch branches/tags
Nothing to show
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
host-remoteproc
host-uio
pru
README.md

README.md

blinking-led

Firmware

To build the PRU firmware:

cd blinking-led/pru
make

UIO host driver

There is a nice automated script to configure the latest Beaglebone Debian image to enable the UIO host driver.

git clone https://github.com/Neil-Jubinville/pru
cd pru
./prep_pru.sh

Remoteproc host driver

First setup remoteproc driver by following ../REMOTEPROC.md.

Build and install firmware:

cd blinking-led/pru
make
sudo cp out/pru-core0.elf /lib/firmware/am335x-pru0-fw
sudo cp out/pru-core1.elf /lib/firmware/am335x-pru1-fw
sync

In order to see the blinking led you'll need to configure the pin mux. Example for P9_27:

sudo sh -c "echo 'pruout' > /sys/devices/platform/ocp/ocp:P9_27_pinmux/state"

Acknowledgements