root@j784s4-evm:~# rpmsg_char_simple -r0 -n10 file_deref_link: readlink failed for /sys/bus/platform/devices/41000000.r5f Can't create an endpoint device: No such file or directory TEST STATUS: FAILED root@j784s4-evm:~# rpmsg_char_simple -r1 -n10 file_deref_link: readlink failed for /sys/bus/platform/devices/41400000.r5f Can't create an endpoint device: No such file or directory TEST STATUS: FAILED root@j784s4-evm:~# rpmsg_char_simple -r2 -n10 _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio2.rpmsg_chrdev.-1.14 Can't create an endpoint device: Invalid argument TEST STATUS: FAILED root@j784s4-evm:~# rpmsg_char_simple -r3 -n10 _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio3.rpmsg_chrdev.-1.14 Can't create an endpoint device: Invalid argument TEST STATUS: FAILED root@j784s4-evm:~# rpmsg_char_simple -r4 -n10 _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio4.rpmsg_chrdev.-1.14 Can't create an endpoint device: Invalid argument TEST STATUS: FAILED root@j784s4-evm:~# rpmsg_char_simple -r5 -n10 _rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio5.rpmsg_chrdev.-1.14 Can't create an endpoint device: Invalid argument TEST STATUS: FAILED root@j784s4-evm:~# rpmsg_char_simple -r6 -n10 _rpmsg_char_find_rproc: SoC doesn't have rproc id 6 Can't create an endpoint device: Success TEST STATUS: FAILED root@j784s4-evm:~# rpmsg_char_simple -r7 -n10 _rpmsg_char_find_rproc: SoC doesn't have rproc id 7 Can't create an endpoint device: Success TEST STATUS: FAILED root@j784s4-evm:~# rpmsg_char_simple -r8 -n10 Created endpt device rpmsg-char-8-1275, fd = 3 port = 1025 Exchanging 10 messages with rpmsg device rpmsg-char-8-1275 on rproc id 8 ... Sending message #0: hello there 0! Received message #0: round trip delay(usecs) = 98035 hello there 0! Sending message #1: hello there 1! Received message #1: round trip delay(usecs) = 59470 hello there 1! Sending message #2: hello there 2! Received message #2: round trip delay(usecs) = 65430 hello there 2! Sending message #3: hello there 3! Received message #3: round trip delay(usecs) = 58115 hello there 3! Sending message #4: hello there 4! Received message #4: round trip delay(usecs) = 57170 hello there 4! Sending message #5: hello there 5! Received message #5: round trip delay(usecs) = 55610 hello there 5! Sending message #6: hello there 6! Received message #6: round trip delay(usecs) = 58915 hello there 6! Sending message #7: hello there 7! Received message #7: round trip delay(usecs) = 54585 hello there 7! Sending message #8: hello there 8! Received message #8: round trip delay(usecs) = 56135 hello there 8! Sending message #9: hello there 9! Received message #9: round trip delay(usecs) = 56980 hello there 9! Communicated 10 messages successfully on rpmsg-char-8-1275 TEST STATUS: PASSED root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc8/trace0 IPC_Setup (core : mcu3_0) ..... mcu3_0 <--> mcu2_0, Ping- 1000, pong - 1000 completed mcu3_0 <--> mcu4_0, Ping- 1000, pong - 1000 completed mcu3_0 <--> mcu1_0, Ping- 1000, pong - 1000 completed root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc0/trace0 IPC_Setup (core : mcu2_0) ..... mcu2_0 <--> mcu3_0, Ping- 1000, pong - 1000 completed mcu2_0 <--> mcu4_0, Ping- 1000, pong - 1000 completed mcu2_0 <--> mcu1_0, Ping- 1000, pong - 1000 completed root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc1/trace0 IPC_Setup (core : mcu4_0) ..... mcu4_0 <--> mcu2_0, Ping- 1000, pong - 1000 completed mcu4_0 <--> mcu3_0, Ping- 1000, pong - 1000 completed mcu4_0 <--> mcu1_0, Ping- 1000, pong - 1000 completed root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc2/trace0 root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc3/trace0 root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc4/trace0 cat: can't open '/sys/kernel/debug/remoteproc/remoteproc4/trace0': No such file or directory root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc8/trace0 IPC_Setup (core : mcu3_0) ..... mcu3_0 <--> mcu2_0, Ping- 1000, pong - 1000 completed mcu3_0 <--> mcu4_0, Ping- 1000, pong - 1000 completed mcu3_0 <--> mcu1_0, Ping- 1000, pong - 1000 completed root@j784s4-evm:~# dmesg | grep virtio dmesg | grep remoteproc [ 6.525465] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node r5f-dma-memory@a0000000 [ 6.543983] virtio_rpmsg_bus virtio0: rpmsg host is online [ 6.544022] rproc-virtio rproc-virtio.8.auto: registered virtio0 (type 7) [ 6.546789] rproc-virtio rproc-virtio.9.auto: assigned reserved memory node r5f-dma-memory@a6000000 [ 6.550338] virtio_rpmsg_bus virtio1: rpmsg host is online [ 6.550380] rproc-virtio rproc-virtio.9.auto: registered virtio1 (type 7) [ 6.559746] rproc-virtio rproc-virtio.8.auto: assigned reserved memory node r5f-dma-memory@a7000000 [ 6.562644] virtio_rpmsg_bus virtio0: rpmsg host is online [ 6.562679] rproc-virtio rproc-virtio.8.auto: registered virtio0 (type 7) [ 6.748590] rproc-virtio rproc-virtio.10.auto: assigned reserved memory node r5f-dma-memory@a2000000 [ 6.749201] virtio_rpmsg_bus virtio2: rpmsg host is online [ 6.749235] rproc-virtio rproc-virtio.10.auto: registered virtio2 (type 7) [ 6.754588] rproc-virtio rproc-virtio.11.auto: assigned reserved memory node r5f-dma-memory@a3000000 [ 6.755463] virtio_rpmsg_bus virtio3: rpmsg host is online [ 6.755530] rproc-virtio rproc-virtio.11.auto: registered virtio3 (type 7) [ 6.992341] rproc-virtio rproc-virtio.12.auto: assigned reserved memory node r5f-dma-memory@a4000000 [ 6.993292] virtio_rpmsg_bus virtio4: rpmsg host is online [ 6.993323] rproc-virtio rproc-virtio.12.auto: registered virtio4 (type 7) [ 6.996612] rproc-virtio rproc-virtio.13.auto: assigned reserved memory node r5f-dma-memory@a5000000 [ 6.997299] virtio_rpmsg_bus virtio5: rpmsg host is online [ 6.997324] rproc-virtio rproc-virtio.13.auto: registered virtio5 (type 7) [ 7.194533] rproc-virtio rproc-virtio.14.auto: assigned reserved memory node c71-dma-memory@a8000000 [ 7.195718] virtio_rpmsg_bus virtio6: rpmsg host is online [ 7.195752] rproc-virtio rproc-virtio.14.auto: registered virtio6 (type 7) [ 7.228389] virtio_rpmsg_bus virtio6: creating channel ti.ipc4.ping-pong addr 0xd [ 7.228582] virtio_rpmsg_bus virtio6: creating channel rpmsg_chrdev addr 0xe [ 7.281478] rproc-virtio rproc-virtio.15.auto: assigned reserved memory node c71-dma-memory@a9000000 [ 7.282560] virtio_rpmsg_bus virtio7: rpmsg host is online [ 7.282599] rproc-virtio rproc-virtio.15.auto: registered virtio7 (type 7) [ 7.290220] rproc-virtio rproc-virtio.16.auto: assigned reserved memory node c71-dma-memory@aa000000 [ 7.291537] virtio_rpmsg_bus virtio8: rpmsg host is online [ 7.291570] rproc-virtio rproc-virtio.16.auto: registered virtio8 (type 7) [ 7.310308] virtio_rpmsg_bus virtio7: creating channel ti.ipc4.ping-pong addr 0xd [ 7.310451] virtio_rpmsg_bus virtio7: creating channel rpmsg_chrdev addr 0xe [ 7.311523] rproc-virtio rproc-virtio.17.auto: assigned reserved memory node c71-dma-memory@ab000000 [ 7.313215] virtio_rpmsg_bus virtio9: rpmsg host is online [ 7.313254] rproc-virtio rproc-virtio.17.auto: registered virtio9 (type 7) [ 7.319366] virtio_rpmsg_bus virtio8: creating channel ti.ipc4.ping-pong addr 0xd [ 7.319559] virtio_rpmsg_bus virtio8: creating channel rpmsg_chrdev addr 0xe [ 7.340544] virtio_rpmsg_bus virtio9: creating channel ti.ipc4.ping-pong addr 0xd [ 7.340721] virtio_rpmsg_bus virtio9: creating channel rpmsg_chrdev addr 0xe cat /sys/class/remoteproc/remoteproc*/state cat /sys/class/remoteproc/remoteproc*/name cat /sys/kernel/debug/remoteproc/remoteproc3/trace0 root@j784s4-evm:~# dmesg | grep remoteproc [ 6.472853] remoteproc remoteproc0: releasing 41000000.r5f [ 6.491158] remoteproc remoteproc0: releasing 5c00000.r5f [ 6.506991] remoteproc remoteproc0: releasing 5e00000.r5f [ 6.523632] remoteproc remoteproc0: 41000000.r5f is available [ 6.523724] remoteproc remoteproc0: attaching to 41000000.r5f [ 6.544028] remoteproc remoteproc0: remote processor 41000000.r5f is now attached [ 6.544136] remoteproc remoteproc1: 5900000.r5f is available [ 6.544199] remoteproc remoteproc1: attaching to 5900000.r5f [ 6.547224] remoteproc remoteproc2: 41400000.r5f is available [ 6.547597] remoteproc remoteproc2: attaching to 41400000.r5f [ 6.547617] remoteproc remoteproc2: Carveout already associated to resource table [ 6.547621] remoteproc remoteproc2: Failed to process resources: -12 [ 6.550386] remoteproc remoteproc1: remote processor 5900000.r5f is now attached [ 6.558462] remoteproc remoteproc0: detached remote processor 41000000.r5f [ 6.559297] remoteproc remoteproc3: 5a00000.r5f is available [ 6.559382] remoteproc remoteproc3: attaching to 5a00000.r5f [ 6.562685] remoteproc remoteproc3: remote processor 5a00000.r5f is now attached [ 6.738906] remoteproc remoteproc2: releasing 41400000.r5f [ 6.739038] remoteproc remoteproc0: releasing 41000000.r5f [ 6.747698] remoteproc remoteproc0: 5c00000.r5f is available [ 6.747786] remoteproc remoteproc0: attaching to 5c00000.r5f [ 6.749242] remoteproc remoteproc0: remote processor 5c00000.r5f is now attached [ 6.753735] remoteproc remoteproc2: 5d00000.r5f is available [ 6.753806] remoteproc remoteproc2: attaching to 5d00000.r5f [ 6.755538] remoteproc remoteproc2: remote processor 5d00000.r5f is now attached [ 6.768795] k3-dsp-rproc 64800000.dsp: configured DSP for remoteproc mode [ 6.769391] remoteproc remoteproc4: 64800000.dsp is available [ 6.778632] k3-dsp-rproc 65800000.dsp: configured DSP for remoteproc mode [ 6.779463] remoteproc remoteproc5: 65800000.dsp is available [ 6.783721] k3-dsp-rproc 66800000.dsp: configured DSP for remoteproc mode [ 6.784013] remoteproc remoteproc6: 66800000.dsp is available [ 6.788467] k3-dsp-rproc 67800000.dsp: configured DSP for remoteproc mode [ 6.789177] remoteproc remoteproc7: 67800000.dsp is available [ 6.991813] remoteproc remoteproc8: 5e00000.r5f is available [ 6.991876] remoteproc remoteproc8: attaching to 5e00000.r5f [ 6.993352] remoteproc remoteproc8: remote processor 5e00000.r5f is now attached [ 6.996174] remoteproc remoteproc9: 5f00000.r5f is available [ 6.996235] remoteproc remoteproc9: attaching to 5f00000.r5f [ 6.997329] remoteproc remoteproc9: remote processor 5f00000.r5f is now attached [ 7.193220] remoteproc remoteproc4: powering up 64800000.dsp [ 7.193244] remoteproc remoteproc4: Booting fw image j784s4-c71_0-fw, size 10489000 [ 7.193594] remoteproc remoteproc4: unsupported resource 65538 [ 7.195757] remoteproc remoteproc4: remote processor 64800000.dsp is now up [ 7.280036] remoteproc remoteproc5: powering up 65800000.dsp [ 7.280055] remoteproc remoteproc5: Booting fw image j784s4-c71_1-fw, size 10489000 [ 7.280459] remoteproc remoteproc5: unsupported resource 65538 [ 7.282604] remoteproc remoteproc5: remote processor 65800000.dsp is now up [ 7.288813] remoteproc remoteproc6: powering up 66800000.dsp [ 7.288832] remoteproc remoteproc6: Booting fw image j784s4-c71_2-fw, size 10489000 [ 7.289247] remoteproc remoteproc6: unsupported resource 65538 [ 7.291577] remoteproc remoteproc6: remote processor 66800000.dsp is now up [ 7.310119] remoteproc remoteproc7: powering up 67800000.dsp [ 7.310138] remoteproc remoteproc7: Booting fw image j784s4-c71_3-fw, size 10489000 [ 7.310486] remoteproc remoteproc7: unsupported resource 65538 [ 7.313261] remoteproc remoteproc7: remote processor 67800000.dsp is now up root@j784s4-evm:~# cat /sys/class/remoteproc/remoteproc*/state attached attached attached attached running running running running attached attached root@j784s4-evm:~# cat /sys/class/remoteproc/remoteproc*/name 5c00000.r5f 5900000.r5f 5d00000.r5f 5a00000.r5f 64800000.dsp 65800000.dsp 66800000.dsp 67800000.dsp 5e00000.r5f 5f00000.r5f root@j784s4-evm:~# cat /sys/kernel/debug/remoteproc/remoteproc3/trace0 root@j784s4-evm:~#