Hello, could you help me with how to access the shared memory (IPC) of the PRU's RPMsg from the MPU? Here, in the RPMsg char library (print below, with the git link), there is this enum to deal with remoteproc, however, there is no support for the PRU. How could I add it here? Is there a default value that can handle it? Would I have to change the logic for PRU addressing? Would I have to access it as a pointer to the protocol's shared memory area?
Can be found at: rproc_id.h « include - rpmsg/ti-rpmsg-char - Unnamed repository; edit this file 'description' to name the repository.
If I need to access with a pointer to the address. In this case, the addressing is 30, isn't it (in this case, the port)? How could I directly reference this address? I'm used to dealing with pointers to hexa content, like, for example ( * (volatile uint32_t*) 0x000123 ). How would I refer to this port 30? I say this since, from what I understand, the PRU's RPMsg communication channel is not started when the board boots, and I have to create it directly within /dev/ to access it. Git and print repository link below:
This also opens up another question for me: could I change the channel port to, for example, 15? Or is 30 the default allocated memory from the shared memory devkit and I just create a way to access it?