Not to add add data points to the flames but -
That example code in that link works fine. Was able to use that sample code to
build a rpmsg simulator for other hw using the PRU. The PRU firmware creates 2
rpmsg channels that gets messages sent between then. Setup is:
Kernel driver A is a I2C driver attaches to one rpmsg channel. It reads data
from the I2C channel and forwards it to the PRU using that rpmsg channel.
Kernel driver B is rpmsg/IIO driver that attaches to the other rpmsg channel
and sends out IIO data based on the rpmsg packets from the PRU.
Having used both UIO_pruss and remote proc/rpmsg -
- remoteproc/rpmsg is a lot easier to use with standard kernel interfaces
(i.e. tying in I2C, etc).
- remoteproc/rpmsg really works better with the C compiler which adds a layer
of overhead compared to pure ASM. The UIO_pruss interface gives a raw
processor which simplifies pure ASM code.
- Passing large amounts of data using rpmsg could have considerable overhead.
For example, I would just do just pure remoteproc or stay with UIO for my
PRUSS driven video capture code. But for slower data rates, rpmsg could
simplify things as the buffer management/interrupt/driver attachment code is
done for you.
- Just keep in mind resources are limited on the PRUSS and accessing resources
outside of the PRUSS can be expensive.
On Wednesday, February 10, 2016 16:37:12 Soapy Smith wrote:
>
http://processors.wiki.ti.com/index.php/PRU_Training:_Hands-on_Labs#LAB_6:_B
> linking_LEDs_with_RPMsg_from_Linux_User_Space
>
> Hi William, please see the above. I have the PRU Cape, but I haven't got
> this far in the labs. The other labs with remoteproc and other associated
> modules works so far.
>
> Regards,
> Greg
>
> On Wednesday, February 10, 2016 at 7:25:27 PM UTC-5, William Hermans wrote:
> > *William, what are you talking about? Why would I take what you say
> >
> >> personally? You make these blanket statements about a technology you say
> >> you don’t know how to use and recommend that everyone else not use this
> >> technology. If you want to stay with a dead technology, that is your
> >> call,
> >> but there is no reason for anyone to stay away from RemoteProc/RPMSG.
> >> Manufacturers other than TI have embraced this technology which open up a
> >> range of cores you can interact with, such as DSP, CortexM4, PRU, etc.
> >> Yes,
> >> I know you told me you have no interest in the x15 so this is probably
> >> not
> >> important to you and I respect that. *
Hunyue Yau
http://www.hy-research.com/