Tool/software:
Hi!
I'm working with Variscite's am62x som & it's PRU. I'm using the kernel on the SD card that it was shipped with.
I'm trying to see the basic PRU example working. I'm greeted with the following debug message:root@am62x-var-som:~# echo start > /sys/class/remoteproc/remoteproc2/state
[ 178.729240] remoteproc remoteproc2: powering up 30074000.pru
[ 178.740398] remoteproc remoteproc2: Booting fw image am62x-pru0-fw, size 81344
[ 178.747778] remoteproc remoteproc2: invalid resource table: forced to NULL
[ 178.755124] remoteproc remoteproc2: remote processor 30074000.pru is now up
Sanity-checks below:root@am62x-var-som:~# uname -a
Linux am62x-var-som 6.1.83-ti-g055ead3d5359 #1 SMP PREEMPT Mon Oct 28 14:56:49 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
root@am62x-var-som:~# ls -l /sys/class/remoteproc/
total 0
lrwxrwxrwx 1 root root 0 Jan 1 00:00 remoteproc0 -> ../../devices/platform/bus@f0000/bus@f0000:bus@4000000/5000000.m4fss/remote0
lrwxrwxrwx 1 root root 0 Jan 1 00:00 remoteproc1 -> ../../devices/platform/bus@f0000/bus@f0000:bus@b00000/bus@f0000:bus@b00000:1
lrwxrwxrwx 1 root root 0 Jan 1 00:00 remoteproc2 -> ../../devices/platform/bus@f0000/30040000.pruss/30074000.pru/remoteproc/rem2
lrwxrwxrwx 1 root root 0 Jan 1 00:00 remoteproc3 -> ../../devices/platform/bus@f0000/30040000.pruss/30078000.pru/remoteproc/rem3
root@am62x-var-som:~# lsmod | grep pru
irq_pruss_intc 16384 0
pru_rproc 24576 0
pruss 16384 1 pru_rproc
root@am62x-var-som:~# cat /sys/class/remoteproc/remoteproc2/firmware
am62x-pru0-fw
root@am62x-var-som:~# ls -l /lib/firmware/
total 10792
-rw-r--r-- 1 root root 4178 Mar 9 2018 LICENCE.broadcom_bcm43xx
-rw-r--r-- 1 root root 8914 Mar 9 2018 LICENCE.cypress
lrwxrwxrwx 1 root root 68 Mar 9 2018 am62-main-r5f0_0-fw -> /lib/firmware/ti-ipc/am62xx/ipc_echo_test_mcu2_0_release_strif
lrwxrwxrwx 1 root root 75 Mar 9 2018 am62-main-r5f0_0-fw-sec -> /lib/firmware/ti-ipc/am62xx/ipc_echo_test_mcu2_0_release_d
lrwxrwxrwx 1 root root 68 Mar 9 2018 am62-mcu-m4f0_0-fw -> /lib/firmware/ti-ipc/am62xx/ipc_echo_test_mcu2_0_release_stripf
lrwxrwxrwx 1 root root 75 Mar 9 2018 am62-mcu-m4f0_0-fw-sec -> /lib/firmware/ti-ipc/am62xx/ipc_echo_test_mcu2_0_release_sd
lrwxrwxrwx 1 root root 47 Mar 9 2018 am62x-pru0-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt0.out
lrwxrwxrwx 1 root root 47 Mar 9 2018 am62x-pru1-fw -> /lib/firmware/pru/PRU_RPMsg_Echo_Interrupt1.out
-rw-r--r-- 1 root root 478552 Mar 9 2018 bl32.bin
-rw-r--r-- 1 root root 4320000 Mar 9 2018 bl32.elf
drwxr-xr-x 2 root root 4096 Mar 9 2018 brcm
drwxr-xr-x 2 root root 4096 Mar 9 2018 cypress
drwxr-xr-x 2 root root 4096 Mar 9 2018 pru
-rw-r--r-- 1 root root 4896 Mar 9 2018 regulatory.db
-rw-r--r-- 1 root root 1085 Mar 9 2018 regulatory.db.p7s
-rw-r--r-- 1 root root 126976 Mar 9 2018 rgx.fw.33.15.11.3
-rw-r--r-- 1 root root 126976 Mar 9 2018 rgx.fw.33.15.11.3.64k
-rw-r--r-- 1 root root 387960 Mar 9 2018 rgx.sh.33.15.11.3
-rw-r--r-- 1 root root 28 Mar 9 2018 tee-header_v2.bin
-rw-r--r-- 1 root root 0 Mar 9 2018 tee-pageable_v2.bin
-rw-r--r-- 1 root root 478552 Mar 9 2018 tee-pager_v2.bin
-rw-r--r-- 1 root root 478552 Mar 9 2018 tee-raw.bin
-rw-r--r-- 1 root root 478580 Mar 9 2018 tee.bin
-rw-r--r-- 1 root root 4320000 Mar 9 2018 tee.elf
drwxr-xr-x 3 root root 4096 Mar 9 2018 ti-ipc
root@am62x-var-som:~# dmesg | grep remoteproc
[ 6.190854] k3-m4-rproc 5000000.m4fss: configured M4 for remoteproc mode
[ 6.213952] remoteproc remoteproc0: 5000000.m4fss is available
[ 6.225414] remoteproc remoteproc0: powering up 5000000.m4fss
[ 6.234374] remoteproc remoteproc0: Booting fw image am62-mcu-m4f0_0-fw, size 54860
[ 6.273679] remoteproc remoteproc0: remote processor 5000000.m4fss is now up
[ 6.475541] remoteproc remoteproc1: 78000000.r5f is available
[ 6.489070] remoteproc remoteproc1: attaching to 78000000.r5f
[ 6.540836] remoteproc remoteproc1: remote processor 78000000.r5f is now attached
[ 7.528869] remoteproc remoteproc2: 30074000.pru is available
[ 7.536289] remoteproc remoteproc3: 30078000.pru is available
[ 178.729240] remoteproc remoteproc2: powering up 30074000.pru
[ 178.740398] remoteproc remoteproc2: Booting fw image am62x-pru0-fw, size 81344
[ 178.747778] remoteproc remoteproc2: invalid resource table: forced to NULL
[ 178.755124] remoteproc remoteproc2: remote processor 30074000.pru is now up