I would like to write a user space application on the A7 linux side of the iMX7 and talk with the M4 using rpmsg.
I have used and analyzed the imx_rpmsg_pingpong LKM and looked carefully at the other rpmsg modules but cannot seem to make the leap to what I want to do.
I noticed for example that the imx_rpmsg_tty LKM when installed allows you to access it from the command line which makes it fairly generic.
The pingpong example is done entirely within an LKM but I don’t want to do that because I have a large application that needs to use it and I want to have it run from user space.
So, what is the expected mechanism for sending and receiving generic data of my choosing across the interface to the M4 without incorporating it all into an LKM? Is there an LKM I can install that will provide me an open/close/read/write rpmsg interface from user space for example?