Hi All, I'm a little confused as to how to get data into the PRU using remoteproc/vrings.
Background: I have successfully adapted the remoteproc examples to get an LED matrix scrolling message board working with an initial test image. I can also send data to /dev/rpmsg_pru30 to turn the display on and off (echo B >> /dev/rpmsg_pru30). Now, I want to send the display new display data, which is approximately 1152 bytes (144 pixels by 8 rows). Trying to follow the pru_rpmsg.h/.c code, I see a constant called RPMSG_BUF_SIZE 512 with note that this size includes the header overhead (pru_rpmsg_hdr looks like 17 bytes). So, if I want to use virtqueues, it looks like I will have to invent some kind of protocol to transmit chunks of data at a time until I get the whole image transferred. Is this correct? Can I use the /dev/rpmsg_pru30 device for this purpose? Is this the standard way to get this kind of data into the PRU, or am I thinking about this incorrectly. Thanks! --David -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/CALMFhSyqP5Z6BeKM6e8qiZWP6MxPJx4UGHrxFw0-kWNV05ihDA%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
