Hi,
I was trying to establish communication between R5F-0 and R5F-1 using message queues. However, it appears that R5F-0 is unable to successfully open the message queue created by R5F-1. I have attached the trace logs from both processors below:
root@am65xx-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc1/trace0
[ 0.000] 3 Resource entries at 0xb1100000
[ 0.000] [t=0x0003bf64] xdc.runtime.Main: --> main:
[ 0.000] registering rpmsg-proto:rpmsg-proto service on 61 with HOST
[ 0.000] [t=0x000b3868] xdc.runtime.Main: NameMap_sendMessage: HOST 53, port=61
[ 0.000] [t=0x000cd8ca] xdc.runtime.Main: --> smain:
[ 0.000] [t=0x000e9390] Server: Server_create: server is ready
[ 0.000] [t=0x000f1042] Server: Server_create: Created R5F-1:MsgQ:01
[ 0.000] [t=0x000f7705] Server: <-- Server_create: 0
[ 0.000] [t=0x000fc0ae] Server: --> Server_exec:
root@am65xx-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0
[ 0.000] 3 Resource entries at 0xa0100000
[ 0.000] [t=0x0003b31d] xdc.runtime.Main: --> main:
[ 0.000] [t=0x0006370c] xdc.runtime.Main: created Tsk_200msCycle :......
[ 0.000]
[ 0.000] registering rpmsg-proto:rpmsg-proto service on 61 with HOST
[ 0.000] [t=0x000d2808] xdc.runtime.Main: NameMap_sendMessage: HOST 53, port=61
[ 0.000] [t=0x000ebbac] xdc.runtime.Main: Tsk_200msCycle starting point!
[ 0.000] [t=0x000f8134] xdc.runtime.Main: --> Rtu_comms: 1
[ 201.708] [t=0x27caf942] xdc.runtime.Main: Created message queue R5F-0:MsgQ:01
[ 201.708] [t=0x27cc3d26] xdc.runtime.Main: Opening R5F-1:MsgQ:01 ....
Here R5F-1:MsgQ:01 is created by R5F-1 and R5F-0:MsgQ:01 is created by R5F-0.
The R5F-0 code simply does not find R5F-1:MsgQ:01.
I was wondering if there is any additional configurations that needs to be done to allow Message queue communication between the two R5F cores.
Message queue between R5F-0<->A53 and R5F-1<->A53 work perfectly fine.
Thanks in advance