Other Parts Discussed in Thread: PRU-SWPKG
Hi
Im using the TMDSIDK437x to experiement the features of PRU core. Now, I tried the Lab5 experiment from "PRU Hands-on Labs", but no message from PRU core, below are the steps.
Preparing the binaries
- Build the "PRU_RPMsg_Echo_Interrupt0 & 1" and "PRU_Halt" project from pru-software-support-package-6.2.0 by changing the channel name as rpmsg-client-sample using the CCS v12.3
- By compiling the kernel source from AM437x Linux TI SDK v8.2 with dts file "tisdk_am335x-evm_defconfig.dts", i got the rpmsg_client_sample.ko module cross-compiled.
- Prepared the SD card with default image "tisdk-default-image-am437x-evm" and copied the above four binaries into the SD card Linux.
Running the binaries
- Moved the binaries "PRU_RPMsg_Echo_Interrupt0 & 1" and "PRU_Halt" to /lib/firware/pru & "rpmsg_client_sample.ko" to /home/root/pru
- I check the remoteproc 1 & 2 state's both are not stopping and loaded with other firmware using IPC mode. So i tried remoteproc3 & 4
- The state of remoteproc3 & 4 are "offline" before loading the firmware, the commands used to load and run the firmware are
echo 'pru/PRU_RPMsg_Echo_Interrupt0.out' > /sys/class/remoteproc/remoteproc4/firmware
echo 'pru/PRU_Halt.out' > /sys/class/remoteproc/remoteproc3/firmware
echo 'start' > /sys/class/remoteproc/remoteproc3/firmware
echo 'start' > /sys/class/remoteproc/remoteproc4/firmware - Then next, i loaded the "rpmsg_client_sample.ko" module using the insmod and did dmesg , but no output. I tried the binary PRU_RPMsg_Echo_Interrupt1 as well but no luck.
PRU Hands on Link : Click here
Is i need to use the same kernel which used to build the rpmsg_client_sample.ko?
Regards,
Vairamani.V