Part Number: AM625
Other Parts Discussed in Thread: SYSCONFIG, , CCSTUDIO
Hi,
If tried the unbind/bind and it shows the message " received echo reply from 78000000.r5f".
echo bus@f0000:bus@b00000:r5fss@78000000 > unbind
echo bus@f0000:bus@b00000:r5fss@78000000 > bind
[ 1451.970517] platform 78000000.r5f: R5F core may have been powered on by a different host, programmed state (0) != actual state (1)
[ 1451.992884] platform 78000000.r5f: configured R5F for IPC-only mode
[ 1452.003087] platform 78000000.r5f: assigned reserved memory node r5f-dma-memory@93580000
[ 1452.016055] remoteproc remoteproc1: 78000000.r5f is available
[ 1452.023320] remoteproc remoteproc1: attaching to 78000000.r5f
[ 1452.035250] platform 78000000.r5f: received echo reply from 78000000.r5f
[ 1452.042054] platform 78000000.r5f: R5F core initialized in IPC-only mode
[ 1452.053766] rproc-virtio rproc-virtio.4.auto: assigned reserved memory node r5f-dma-memory@93580000
[ 1452.070839] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 1452.083705] rproc-virtio rproc-virtio.4.auto: registered virtio0 (type 7)
[ 1452.101198] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
So, I was trying to use 'rpmsg_char_simple' to talk to DM R5F and I got an error.
$ rpmsg_char_simple -r 15
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio0.rpmsg_chrdev.-1.14
So, I checked the /sys/bus/virtio/devices/virtio0 directory and it didn't show the rpmsg_chrdev device.
ls -l /sys/bus/virtio/devices/virtio0/
-r--r--r-- 1 root root 4096 Jan 1 00:19 device
lrwxrwxrwx 1 root root 0 Jan 1 00:19 driver -> ../../../../../../../../../../bus/virtio/drivers/virtio_rpmsg_bus
-r--r--r-- 1 root root 4096 Jan 1 00:19 features
-r--r--r-- 1 root root 4096 Jan 1 00:19 modalias
drwxr-xr-x 2 root root 0 Jan 1 00:19 power
-r--r--r-- 1 root root 4096 Jan 1 00:19 status
lrwxrwxrwx 1 root root 0 Jan 1 00:08 subsystem -> ../../../../../../../../../../bus/virtio
-rw-r--r-- 1 root root 4096 Jan 1 00:08 uevent
-r--r--r-- 1 root root 4096 Jan 1 00:19 vendor
drwxr-xr-x 4 root root 0 Jan 1 00:08 virtio0.rpmsg_ctrl.0.0
drwxr-xr-x 3 root root 0 Jan 1 00:08 virtio0.rpmsg_ns.53.53
I wonder if I am missing some configuration/settings in the kernel and that's the reason why it's not showing the virtio0.rpmsg_chrdev or if rpmsg_char_simple is the right tool to use to talk to the DM R5F?. Is there any other tool available that I can use?.
Regards,
john tobias

