Tool/software:
Hi,
I'm trying to test the Linux <-> M4 zero-copy example on my AM62x board running kernel 6.12.13-ti. I downloaded the code from:
https://git.ti.com/cgit/rpmsg/rpmsg_char_zerocopy/
The M4 code loads fine and gets to the point where it is waiting for Linux to connect. On the Linux side, however, when I run the command:
./rpmsg_char_zerocopy -r 9 -e linux,cma
I get this error:
----------------------------------
./rpmsg_char_zerocopy -r 9 -e linux,cma
Created endpt device rpmsg-char-9-394, fd = 4 port = 1025
Exchanging 1 messages with rpmsg device on rproc id 9 ...
Failed to open /dev/remoteproc9: -2
-----------------------------------
The function dmabuf_heap_alloc() is passed rproc_id=9 for M4, but my /dev only has:
crw------- 1 root root 248, 0 Dec 31 18:00 /dev/remoteproc0
crw------- 1 root root 248, 1 Dec 31 18:00 /dev/remoteproc1
crw------- 1 root root 248, 2 Dec 31 18:00 /dev/remoteproc2
Am I supposed to have remoteproc9 under /dev? If so, who creates that device file and at what point?
Thanks.
Ayman