Tool/software:
Is it possible to broadcast or send the same RPMsg message to multiple remote cores simultaneously from the Linux side?"
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Is it possible to broadcast or send the same RPMsg message to multiple remote cores simultaneously from the Linux side?"
Hello Marymol,
Short answer: no
You could do a separate RPMsg call to each remote core, one after the other. However, there is no infrastructure to send a single RPMsg message from the Linux userspace side, and then in the kernel driver copy that message and put it into multiple different VIRTIO buffers addressed to multiple different RPMsg endpoints.
Some more information about how VIRTIO buffers are used
Note that Linux sets up a different set of VIRTIO buffers for each remote core that Linux is communicating with. So if you have multiple endpoints on the same remote core (e.g., R5F0_0), then the RPMessages sent to all of those different endpoints will go into the same set of VIRTIO buffers. However, if you are sending RPMessages to endpoints on 2 separate remote cores, then those RPMessages will go into 2 different sets of VIRTIO buffers (e.g., 1 set of VIRTIO buffers for R5F0_0, 1 set of VIRTIO buffers for R5F0_1).
For more information about RPMsg memory allocation, refer to the AM64x academy:
Multicore > Memory > Allocating memory in Linux
https://dev.ti.com/tirex/explore/node?node=A__AczQXYYQuDrYh5SEg4bt3w__AM64-ACADEMY__WI1KRXP__LATEST
Regards,
Nick