J722SXH01EVM: Query regarding "IPC RP Message Linux Echo" example

Part Number: J722SXH01EVM

Hello,

We are trying to run the 'IPC RP Message Linux Echo' example application on the J722SXH01EVM. The freeRTOS projects for the remote-cores are available in the FreeRTOS SDK, but it is not clear what is the application that needs to be run on the A53 (with Linux) to get this example working. Basically, how does one get the Linux core to initiate the message exchange with the other cores ?

Regards,

Aparna

 

 

  • Hi Aparna,

    As i can see you have clarity about which application should be running on the remote cores.

    About the Linux side application,

    There are two ways to start the communication from Linux side - User space application and Kernel space module.

    User space Application needs to be implemented by you, SDK supports the API for the same - which is documented in the SDK .

    Kernel Space module can be run from linux as its loadable kernel module.

    This all is already documented in the j722s SDK doc, Link

    Regards,

    Vinit

  • Hi Vinit,

    Thanks for pointing out the doc link for IPC.
    Now I am able to establish IPC communication between A53 running linux and the DSP running FreeRTOS using the linux user-space application rpmsg_char_simple.
    I am also referring to the corresponding source code at git.ti.com/.../ti-rpmsg-char so that I can integrate it into our application.

    Initially I had some difficulty in booting the DSP firmware from linux due to incorrect memory map issues. This was apparently because the default SDK loads the vision-apps dtb which has a memory map incompatible with the IPC example. So I am working around this by avoiding loading this dtb (ie, disabling the overlay in uEnv.txt). Let me know if you have any inputs on this.

    Thanks and regards,
    Aparna

  • Hi Aparna,

    Glad that IPC communication between linux and remotecore is established.

    For the query specific to vision apps dtb, i am looping in expert on that.

    Regards,

    Vinit

  • Hi Aparna,

    but i guess you would want to eventually run some vision apps demo, isn't it? IPC Echo test is just test. In fact, when all the firmware boots up on the different cores, cores also runs ipc echo test with every other enabled cores.. 

    So my suggestion is to keep vision apps dtb file and use ipc echo test from visions apps. 

    Regards,

    Brijesh