How to communicate with M4 on the Verdin AM62 through ttyRPMSG

Hello @buw3,

I would recommend that you use Torizon OS 6.6.1 or newer when using the Cortex-M4 in the Verdin AM62.
The reason for this is that the overlay verdin-am62_hmp_overlay.dts was only officially introduced on BSP 6.6, therefore previous versions may not work with it.
The overlay is also included by default with the Torizon OS 6.6.1 release.

In this overlay, some necessary reserved memory areas are defined, as @RudolfStreif mentioned, and the required mailbox is setup.


This example is not applicable to the Verdin AM62, as it contains quite a lot of NXP-specific information and code.

Also, as you saw in the kernel configuration, the generic driver for RPMSG tty is not enabled on Torizon OS.
If this ends up being a requirement for your project, we can evaluate enabling it by default.


The topic of development for the Cortex-M4 of the Verdin AM62 is still unfortunately not documented on our side.
My recommendation is that you look at the TI documentation on the topic.

Best Regards,
Bruno