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.

Linux/PROCESSOR-SDK-AM335X: PRU communication in SDK 7.0

Part Number: PROCESSOR-SDK-AM335X

Tool/software: Linux

Hello,

How does pru communicate with Linux in SDK v7.0 ? Using UIO?

  • Hi,

    SDK 7.0 has been obsoleted. It's no longer maintained by TI or supported on this forum.
  • You will need to download and install the PRU software package: software-dl.ti.com/.../index_FDS.html
    This is the wiki guide: processors.wiki.ti.com/.../
  • Hi,Biser Gatchev-XID
    I have installed the PRU software package,I want to send messages from pru to Linux and Linux to pru
  • Hello,

    We no longer support SDK 7.0. I can tell you that RPMsg (and potentially RemoteProc) had not been developed at that time, so I would imagine that UIO was used. However, I cannot tell you for sure.

    Keep in mind that our current PRU Software Support Package may or may not work with that version of the SDK.

    There are two legacy code samples in the Software Support package which are not supported any more, but they might be helpful: examples/am335x/PRU_ARMtoPRU_Interrupt and PRU_PRUtoARM_Interrupt. Those examples have not been tested for years, but I think they were written in 2014/2015. Those might have been used with UIO, or perhaps they were used directly with interrupts (again, I am not sure). The ARM code that interacted with those examples disappeared years ago.

    Summary:
    We cannot help you implement Linux-pru communication on Linux SDK 7.0. UIO would probably be the easiest to get working, but we do not support UIO on these forums (even on current SDKs). There are some PRU-side code examples in the Software Support Package which might be helpful.

    Regards,
    Nick
  • Thanks,Nick Saulnier
    I have seen that the ti-processor SDK v01.00.03 version supports RPMsg, and there is icgraphs_sdk_setuplinux_hardfp_5_01_01_01_01_02.bin (which enables me to use qt4 powervr in this version), but there is no real-time version of the ti-processor SDK v01.r00.03.However, there is no real-time version of ti-processor SDK v01.00.03. I want to change this version of Linux to rtlinux. Is there any relevant reference document
  • Hello,

    It looks like RT Linux was first introduced for SDK v2.00, and then another version of RT Linux did not come out until SDKv3.00. After that point, TI has released both Linux and RT Linux for each version of the SDK that came out.

    TI does not provide any reference documents on the difference between our RT Linux releases and our Linux releases. We also do not have any guides on changing a release of regular Linux to RT Linux. It looks like TI assumed it would be easier for customers to just use one of TI's releases of RT Linux rather than trying to change a regular Linux release to RT Linux.

    Both SDKs are open source, so you could technically look up the patches to see what changed between Linux and RT Linux. I do not know specifically what was done, but once Linux itself was converted to RT Linux they also had to rewrite many of the drivers to reduce latency. I have been told it would be difficult to make so many changes, and that we would not be able to support you on that process.

    Regards,
    Nick