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.

AM4378: problem in loading PRU-ICSS firmware in the AM4378 processor

Part Number: AM4378
Other Parts Discussed in Thread: AM4372

Tool/software:

I have a custom board based on the AM4372 processor. my linux kernel version is 5.4.106-rt54 build with ti-processor-sdk-linux-rt-am437x-evm-07.03.00.005. I want to use pru uart in this platform but when using prebuild firmware or compiling firmware form source in pru-software-support-package and ti-cgt-pru_2.3.3 then loading and starting it manually with echo command, following messages appeared.

user space messages:
    echo: write error: Invalid argument

kernel message:
    remoteproc remoteproc0: powering up 54434000.pru
    remoteproc remoteproc0: Booting fw image PRU_Hardware_UART.out, size 30668
    remoteproc remoteproc0: Boot failed: -22

the additional point is that when using prebuild firmware provided by som vendor, these errors not show and the firmware load successfully and pru core powered up.

what is the problem?

thanks