This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PRU-SWPKG: PRU_Halt code not booting in Arago Linux

Part Number: PRU-SWPKG
Other Parts Discussed in Thread: BEAGLEBOARD-X15

Hi 

In Windows 10 Pro, I'm trying to run the example program for PRU core in Beagleboard-x15. I used the ready image "tisdk-base-image-am57xx-evm.tar.xz" from TI linux SDK "ti-processor-sdk-linux-am57xx-evm-08_02_01_00". Then, i tried the "PRU_Halt" from "pru-software-support-package-6.1.0and include files from "pru-icss-6.0.1".

Then followed the section "Create & Build the PRU Project" and code builds successfully. The remoteproc module also enabled in the kernel

I load the firmware("PRU_Halt.out") in path "/lib/firmware/pru" and ran using the below command

echo 'pru/PRU_Halt.out' > /sys/class/remoteproc/remoteproc1/firmware

echo 'start' > /sys/class/remoteproc/remoteproc1/state

But it shows the error 

root@am57xx-evm:/lib/firmware/pru# echo 'start' > /sys/class/remoteproc/remoteproc1/state

-sh: echo: write error: Invalid argument

[ 3263.741455] remoteproc remoteproc1: powering up 55020000.ipu

[ 3263.741607] remoteproc remoteproc1: Booting fw image pru/Tr1PRU.out, size 22448

[ 3263.741668] omap-iommu 55082000.mmu: 55082000.mmu: version 2.1

[ 3263.741729] remoteproc remoteproc1: Boot failed: -22

I tried the different program and example but it's not booting. 

The details are 

IDE: CCS v12.3.0.00005 

Compiler version: ti_cgt_pru_2.3.3

Beagleboard-x15 os: Arago 2021.09 with Linux am57xx-evm 5.10.100-rt62-g204ec708dc #1 SMP PREEMPT_RT 

The question is releated to another question (click here)

Let me know the suggestion.