Part Number: AM625
Other Parts Discussed in Thread: AM6442
Dear TI,
I am trying to establish an RPMsg communication channel between Linux userspace and the M4F remote core.
The demo echo works fine, but when I use my own remote core firmware, it stops working. This is what I do:
1. I load my remote core firmware via CCS debugger
2. I run the following script:
rmmod virtio_rpmsg_bus
rmmod rpmsg_ctrl
rmmod rpmsg_char
rmmod rpmsg_ns
modprobe virtio_rpmsg_bus
modprobe rpmsg_ctrl
modprobe rpmsg_char
modprobe rpmsg_ns
which outputs
[ 9224.468197] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 9224.474779] virtio_rpmsg_bus virtio1: rpmsg host is online
3. I launch the remote core firmware via the debugger
4. I run rpmsg_char_simple on Linux
This is what I get:
root@am62xx-evm:~# ./rpmsg_char_simple -r 9 -n 3 -p 14
_rpmsg_char_find_ctrldev: could not find the matching rpmsg_ctrl device for virtio0.rpmsg_chrdev.-1.14
TEST STATUS: FAILED
My echo task on FreeRTOS calls RPMessage_waitForLinuxReady(SystemP_WAIT_FOREVER), then it creates the socket and calls RPMessage_announce(), just like in the demo project.
Can you tell me what I am missing?
Kind regards,
Leon Rigoni