Project

General

Profile

AM57x PRU RP Msg Driver Functionality

Added by Nathan Wright 9 days ago

Hi,

We are in the process of switching to yocto for our new platform based on Mity-Som. In the interim, to give our porting team earlier access to new c++ features, we attempted to move from version 6 of the ti sdk to version 9 of the ti sdk only to find out that apparently the PRU system is broken and wont be fixed until early 2025.

https://e2e.ti.com/support/processors-group/processors/f/processors-forum/1426063/processor-sdk-am57x-beyond-sdk-v08-02-00-04-where-did-the-pru-doc-and-examples-go

My question, does the PRU system, specifically RP Message driver that creates the /sys/class/remoteproc/remoteproc* stuff available and functioning on the critical link target? We use the PRU to clock an external processor from PTP, if it doesn't function it will be a blocker.

Thanks,
Nathan


Replies (8)

RE: PRU RP Msg Driver Functionality - Added by Michael Williamson 9 days ago

Hi Nathan,

You are asking about PRU support for the AM62x platforms, correct? (I am asking because we also have AM57x platforms, and your thread is referring to AM57x support).

Thanks,
Mike

RE: PRU RP Msg Driver Functionality - Added by Joshua Bourgeot 9 days ago

I've tested the PRU support for the 10 and 9.2 sdk on the am62x following these instructions and did not run into any problems.

RPMsg echo test: https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/10_00_07_04/exports/docs/linux/Foundational_Components/PRU-ICSS/RPMsg_Quick_Start_Guide.html#booting-the-board-and-testing-rpmsg (note you will need to correct the references to "am335x")

Here's the source code if it is needed: https://git.ti.com/cgit/pru-software-support-package/pru-software-support-package/tree/examples/am62x

Best,
Josh

RE: PRU RP Msg Driver Functionality - Added by Nathan Wright 9 days ago

Thank you. I can sleep better knowing that.

RE: PRU RP Msg Driver Functionality - Added by Joshua Bourgeot 9 days ago

Perfect, just a heads up that we are currently testing to release the 10 sdk, which TI highly recommends using. It may be better to wait and move to that instead of the 9.

Best,
Joshua

RE: PRU RP Msg Driver Functionality - Added by Nathan Wright 9 days ago

Thanks Joshua,

We are currently on a 57x. It seems version 10 of that sdk will not drop until next year. My plan is to go back to 8. The PRUs still worked there and some c++ features my team wants are supported there.

RE: PRU RP Msg Driver Functionality - Added by Bob Duke 9 days ago

Nathan, some of the confusion is due to the fact that it looks like your e2e post and the documentation you linked to was for the AM57x (this is easy to miss).

The similar release notes for the Processor SDK for the AM62x are here: https://software-dl.ti.com/processor-sdk-linux/esd/AM62X/10_00_07_04/exports/docs/devices/AM62X/linux/Release_Specific_Release_Notes.html

The 62x release notes do not mention any removed or unsupported features.

Once we release the 10.x-based MDK you should be able to test the PRU features you need with our devkit. Please let us know if you need help with this.

RE: PRU RP Msg Driver Functionality - Added by Bob Duke 9 days ago

Nathan Wright wrote in RE: PRU RP Msg Driver Functionality:

Thanks Joshua,

We are currently on a 57x. It seems version 10 of that sdk will not drop until next year. My plan is to go back to 8. The PRUs still worked there and some c++ features my team wants are supported there.

(I see that your use of the 57x documentation was not really a mistake. I didn't know you were testing with that platform.)

    (1-8/8)
    Go to top
    Add picture from clipboard (Maximum size: 1 GB)