Part Number: J721S2XSOMXEVM
Hello,
I'm running J721S2 based custom board. C7 DSPs are used for some signal processing and have been set up to use rpmsg_char to communicate with Linux cores.
This is a log of working setup with ti-linux-staging 6.6.58
ls /dev/rpmsg*
/dev/rpmsg0 /dev/rpmsg1 /dev/rpmsg_ctrl0 /dev/rpmsg_dsp_msg
[ 1.096355] systemd[1]: Expecting device /dev/rpmsg_dsp_msg...
[ 4.548066] k3_r5_rproc bus@100000:bus@28380000:r5fss@41000000: MCU cluster requires both R5F cores to be enabled but num_cores is set to = 0
[ 4.549775] k3_r5_rproc bus@100000:r5fss@5c00000: MCU cluster requires both R5F cores to be enabled but num_cores is set to = 0
[ 4.553250] k3_r5_rproc bus@100000:r5fss@5e00000: MCU cluster requires both R5F cores to be enabled but num_cores is set to = 0
[ 4.605403] k3-dsp-rproc 64800000.dsp: assigned reserved memory node c71-dma-memory@a6000000
[ 4.607359] k3-dsp-rproc 64800000.dsp: configured DSP for IPC-only mode
[ 4.607668] remoteproc remoteproc0: 64800000.dsp is available
[ 4.607763] remoteproc remoteproc0: attaching to 64800000.dsp
[ 4.608078] remoteproc remoteproc0: unsupported resource 65538
[ 4.608112] rproc-virtio rproc-virtio.0.auto: assigned reserved memory node c71-dma-memory@a6000000
[ 4.610186] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 4.610272] rproc-virtio rproc-virtio.0.auto: registered virtio0 (type 7)
[ 4.610279] remoteproc remoteproc0: remote processor 64800000.dsp is now attached
[ 4.610560] virtio_rpmsg_bus virtio0: creating channel rpmsg_chrdev addr 0x21
[ 4.611527] k3-dsp-rproc 65800000.dsp: assigned reserved memory node c71-dma-memory@a7000000
[ 4.613220] k3-dsp-rproc 65800000.dsp: configured DSP for IPC-only mode
[ 4.617164] remoteproc remoteproc1: 65800000.dsp is available
[ 4.617223] remoteproc remoteproc1: attaching to 65800000.dsp
[ 4.617239] remoteproc remoteproc1: remote processor 65800000.dsp is now attached
after updating to 6.12 kernel version (I tried various SRCREVs but let's say 6.12.57) there's only /dev/rpmsg_ctrl0 device available, the other ones are missing.
The DSP firmware is the same and I also tested it with ipc_echo_test_c7x_1_release_strip.xe71 from ti-rtos-firmware package.
With 6.6 rpmsg devices are created while 6.12 aren't there.
Were there any updates with remoteproc/rpmsg framework between the kernel versions and what is additonally needed with 6.12 to communicate with the DSP core over rpmsg?
Thank you,
Darko