Here’s an example I’d like to make share: how to use shared memory between PRU and ARM using uio_pruss and prussdrv:
http://catch22.eu/beaglebone/beaglebone-pru-ipc/
Feel free to comment here on this forum post. There’s also a git repository to download all code and/or further improve it.