2024-11-12 05:08 AM
Hello!
If I run the openAMP example I can see the two new devices appear in the linux /dev folder: ttyRPMSG0 and ttyRPMSG1, so that's fine!
I would like to give these entries another name, like instead of
ttyRPMSG0 --> KEYS
ttyRPMSG1 --> FRAM
Question 1: Can I "force" Linux somehow to use specific custom names that I supply via the M4 while creating an endpoint or does Linux name them always in its own way ("like ttyRPMSGxyz")?
I tried to use the parameter "name" of the function "rpmsg_create_ept()" but another value than the default "rpms-tty" leads to the strange effect, that the channel is created with the new name (checked with "dmesg") but in the /dev folder the device does not appear at all anymore. It only appears, if the default name "rpmsg-tty" is kept.
Question 2: Why does the device no longer appear in the /dev folder, if I give parameter "name" another value than "rpmsg-tty"?