Part Number: DRA829V
Hello experts!
I'm setting up a build system for colleagues to work on the r5f cores on this SoC. I have a custom
board that is built upon SDK 8.6. I have downloaded the latest RTOS PDK version 09_01_00_06.
Building the echo tests goes fine, and I get a lot of echo binaries in the binary build folder:
bomellberg@bosse-buildcom:~/se3linux/ti-processor-sdk-rtos-j721e-evm-09_01_00_06/pdk_jacinto_09_01_00_22/packages/ti$ find . -name "ipc_echo_*xer5f"./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu3_0_release_strip.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu1_1_release_strip.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu2_1_release_strip.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu2_0_release_strip.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu1_1_release.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu1_0_release.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu2_0_release.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu3_0_release.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu3_1_release_strip.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu1_0_release_strip.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu3_1_release.xer5f./binary/ipc_echo_test_freertos/bin/j721e_evm/ipc_echo_test_freertos_mcu2_1_release.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu3_0_release_strip.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu1_0_release.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu3_1_release.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu2_1_release_strip.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu1_1_release_strip.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu1_1_release.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu3_0_release.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu2_1_release.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu1_0_release_strip.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu3_1_release_strip.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu2_0_release.xer5f./binary/ipc_echo_baremetal_test/bin/j721e_evm/ipc_echo_baremetal_test_mcu2_0_release_strip.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu1_1_release_strip.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu1_0_release.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu2_0_release_strip.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu2_1_release_strip.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu1_0_release_strip.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu3_1_release_strip.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu3_1_release.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu2_1_release.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu3_0_release.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu3_0_release_strip.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu1_1_release.xer5f./binary/ipc_echo_testb_freertos/bin/j721e_evm/ipc_echo_testb_freertos_mcu2_0_release.xer5f
I have tried adding both the barebone and the freertos variants. They are added fine and can be started:
root@AS-3-P-BEEFF1:/lib/firmware# lltotal 252drwxr-xr-x 5 root root 1024 Jan 23 15:38 .drwxr-xr-x 8 root root 3072 Mar 9 2018 ..drwxr-xr-x 2 root root 1024 Mar 9 2018 cadencelrwxrwxrwx 1 root root 57 Jan 23 15:33 j7-main-r5f0_0-fw -> ti-ipc/ipc_echo_testb_freertos_mcu2_0_release_strip.xer5flrwxrwxrwx 1 root root 57 Jan 23 15:38 j7-main-r5f0_1-fw -> ti-ipc/ipc_echo_testb_freertos_mcu2_1_release_strip.xer5f-rw-r--r-- 1 root root 247469 Mar 9 2018 pvdec_full_bin.fw-rw-r--r-- 1 root root 4728 Mar 9 2018 regulatory.db-rw-r--r-- 1 root root 1182 Mar 9 2018 regulatory.db.p7sdrwxr-xr-x 3 root root 1024 Mar 9 2018 ti-ethdrwxr-xr-x 2 root root 1024 Jan 23 15:31 ti-ipc
[ 43.857589] remoteproc remoteproc0: powering up 5c00000.r5f[ 43.858760] remoteproc remoteproc0: Booting fw image j7-main-r5f0_0-fw, size 88408[ 43.860138] rproc-virtio rproc-virtio.1.auto: assigned reserved memory node r5f-dma-memory@a2000000[ 43.860215] rproc-virtio rproc-virtio.1.auto: registered virtio0 (type 7)[ 43.860219] remoteproc remoteproc0: remote processor 5c00000.r5f is now up[ 273.384556] remoteproc remoteproc1: powering up 5d00000.r5f[ 273.389843] remoteproc remoteproc1: Booting fw image j7-main-r5f0_1-fw, size 88408[ 273.391152] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@a3000000[ 273.391226] rproc-virtio rproc-virtio.2.auto: registered virtio1 (type 7)[ 273.391230] remoteproc remoteproc1: remote processor 5d00000.r5f is now up
root@AS-3-P-BEEFF1:/lib/firmware# cat /sys/class/remoteproc/remoteproc*/staterunningrunningofflineoffline
But, neither of the versions actually echo anything when I modprobe the client from Linux:
root@AS-3-P-BEEFF1:/lib/firmware# modprobe rpmsg_client_sample count=5root@AS-3-P-BEEFF1:/lib/firmware# dmesg|tail[ 273.384556] remoteproc remoteproc1: powering up 5d00000.r5f[ 273.389843] remoteproc remoteproc1: Booting fw image j7-main-r5f0_1-fw, size 88408[ 273.391152] rproc-virtio rproc-virtio.2.auto: assigned reserved memory node r5f-dma-memory@a3000000[ 273.391226] rproc-virtio rproc-virtio.2.auto: registered virtio1 (type 7)[ 273.391230] remoteproc remoteproc1: remote processor 5d00000.r5f is now up
There is no output in the dmesg.
Regards,
/Bo