RPMSG Receive on Linux side

Hi @swiss,

don’t worry, feel free to send as many messages as you want.

I made a quick test here:

I created a simple container running C and exposed the ttyRPMSG30 (you can see in the left image the “devices” configuration). Then I deployed pressing F5 and it worked.

However, using the ttyRPMSG is not the best solution here. It’s a little hard to read and write to the tty environment, I agree with you that using the kernel libraries and the functions from RPMsg directly to your code is better. Have you checked how it’s done inside the tty driver? Check it here, maybe it will give some insights into your code: imx_rpmsg_tty.c « rpmsg « drivers - linux-toradex.git - Linux kernel for Apalis, Colibri and Verdin modules

Meanwhile, I will try to run my C code with the kernel libraries as well, and see if I can help you in any way here.

Also, take a look into RPMsg from NXP: GitHub - nxp-mcuxpresso/rpmsg-lite: RPMsg implementation for small MCUs

Best Regards,
Hiago.