Verdin Am62: Support for IPC

Hi, I’m the Toradex AI Assistant. The Toradex Support team will follow up with you shortly!

Did you like my answer?

:+1: :-1:


Yes, the Verdin AM62 supports IPC (Inter-Processor Communication). You can run Linux on the A53 core and FreeRTOS on the Cortex-M4F MCU. The BSP for Verdin AM62 is capable of IPC, and you can use the RPMsg protocol for communication between the cores.

To enable the remoteproc driver, you can follow these steps:

  1. Device Tree Overlays: Use the device tree overlays provided by Toradex to enable the remoteproc framework. These overlays are pre-compiled into Torizon OS and the BSP reference images. You can find the source code in the Toradex device-tree-overlays.git repository.

  2. Enable the Overlay: Replace the appropriate *.dtbo file in the overlays.txt file to enable the related device tree overlay. You can verify if it was correctly enabled using the dmesg command.

  3. Firmware Management: The remoteproc driver looks for a *.elf firmware file in the /lib/firmware directory. Since Torizon OS has a read-only filesystem, you should copy the firmware to a writable location like /tmp/ and update the path accordingly.

  4. Starting the Remote Processor: Ensure the remote processor’s state is offline before proceeding. Load the firmware by writing its name to /remoteproc/remoteprocX/firmware. Start the remote processor by writing “start” to the state file. To stop it, write “stop” to the state file. You can check the state by reading the content of the state file.

These steps should help you set up IPC on the Verdin AM62 using the remoteproc framework.

Please, also check if these links can help you solve your problem:

Colibri iMX8X Cortex M4 FreeRTOS.