This section describes the requirements and procedures to establish communication between the application processing unit (APU) (Cortex-A78 running Linux) and the real-time processing unit (RPU) ( Cortex®-R5F2 running Zephyr RTOS) on the AMD Versal™ 2 VEK385 board by using the OpenAMP framework. The key communication mechanisms include the following:
- Use the RPMsg protocol for message-based IPC over virtio.
- Use AMD inter-processor interrupt (IPI) as the hardware interrupt mechanism for notification.
- Use shared memory for virtio rings and buffers in DDR.
- Use the RemoteProc framework as the Linux subsystem for RPU lifecycle management