Other Parts Discussed in Thread: BEAGLEBOARD-X15
Hi
I'm using Beagleboard-X15 to experiment the PRU feature. At staring i tried the sample code but it was not booting.
1. CCS Build
In Windows 10 Pro, I build the project "PRU_RPMsg_LED0" copied from ti linux sdk "ti-processor-sdk-linux-am57xx-evm-08_02_01_00" and include files from "pru-icss-6.0.1".
Then followed the section "Create & Build the PRU Project" and code builds successfully. I made the main simple as below
void main(void) { __halt(); }
The software details are
IDE: CCS v12.3.0.00005
Compiler version: ti_cgt_pru_2.3.3
2. Loading in Remoteproc
I load the firmware("PRU_RPMsg_LED0.out") in path "/lib/firmware/pru" and ran using the below command
echo 'pru/PRU_RPMsg_LED0.out' > /sys/class/remoteproc/remoteproc1/firmware
echo 'start' > /sys/class/remoteproc/remoteproc1/state
But it shows the error
ubuntu@beagleboard:~$ echo 'start' > /sys/class/remoteproc/remoteproc1/state
[ 72.286275] remoteproc remoteproc1: Boot failed: -22
-bash: echo: write error: Invalid argument
The beagleboard-x15 kernel has remoteproc enabled and its version is "Linux v4.19.94 SMP PREEMPT "
Let me know the suggestion.