This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

AM335x PRU to ARM interrupt support



Hello,


I am using the PRU to read in an MPEG2 transport stream(190 Mbs), a call to the RPMsg drivers to signal data is available is to slow and messes up the read timing of the data. I would like to simply generate an PRU to ARM interrupt and write a handler for this event. The RPMsg driver is fine otherwise.

The example PRU_PRUtoARM_Interrupt shows how to generate the event, but there does not appear to be any user-land routines showing the how to handle this event on the ARM side using RPMsg.

The older PRU support package has support for this, I had a working version using uio_pruss. This is not available in the latest SDK and cannot be enabled using make -menuconfig, it no longer appears as an option.

Is there any documentation on using the RPMsg code to handle these events or is it possible to enable the installation of uio_pruss. Both do not have to be available in this application.


Also, I prefer the newest SDK and do not want to revert to an older version (2 years older or so).

Thanks,

Mike

Novra Technologies Inc.

  • Hi,

    I will ask the PRU experts to comment.
  • Mike,

    Exposing PRU-ICSS events to user space is currently a gap that we have in the TI supported PRU drivers (remoteproc/rpmsg). This is something that we are discussing internally but it doesn't exist yet.

    As you noticed, TI no longer provides uio_pruss but it is still available in the BeagleBoard community. Check out this patch from the community on the 4.1 kernel: 

    This patch will allow you to enable the uio_pruss support from menuconfig. Keep in mind you will probably need to remove remoteproc/rpmsg support using menuconfig as well as remove the pruss device tree node that goes along with remoteproc in order to get things working.

    Since uio_pruss is no longer supported through TI this has not been tested and any further uio_pruss support (once you get it working) will come from the BeagleBoard community.

    Jason Reeder