I am trying to find out an efficient way to transfer buffer data from ARM to PRU. I am using linux kernel 3.14 on AM572 processor.
My initial idea was that I could access X PRU local memory using global address from ARM and fill the data. On the PRU side, it will access its local memory and the read the data from the same X memory location.
But after doing some research online, it looks like there are more than a couple of ways to handle this case in software.
1. Using uio_pruss driver
2. Using remoteproc and rpmsg
3. Using Virtio
I do not know which one is the efficient way of achieving what I am trying to do.
Could some one point me in the right direction here? Is there any merit for my initial idea?
If not, how can I do this the right way? Is there a right way?
Thanks!