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.

Linux/AM3358: Problem with using remoteproc driver, Linux SDK v05.02

Part Number: AM3358


Tool/software: Linux

HI,

I am facing a problem with using remoteproc driver. I have located am335x-pru1-fw.out file in the /lib/firmware location of the Linux fileysystem. After running:

  • echo 'am335x-pru1-fw' > /sys/class/remoteproc/remoteproc2/firmware

I can edit the firmware file and confirm that command above was successful. However, whenever I try:

  • echo 'start' > /sys/class/remoteproc/remoteproc2/state

I get following logs:


[  586.971726] remoteproc remoteproc2: powering up 4a338000.pru
[  586.977723] remoteproc remoteproc2: Direct firmware load for am335x-pru1-fw failed with error -2
[  586.991940] remoteproc remoteproc2: request_firmware failed: -2
[  587.009465] remoteproc remoteproc2: Boot failed: -2
-sh: echo: write error: No such file or directory

Runninfg "lsmod | grep_pru" shows (PRUs look enabled?):


pru_rproc              20480  0
pruss_intc             16384  1 pru_rproc
pruss                  16384  1 pru_rproc
remoteproc             40960  3 pru_rproc,wkup_m3_rproc,wkup_m3_ipc
pruss_soc_bus          16384  0

I was using previously remoteproc with kernels from begleboard.org. Currently I am working with recent Linux SDK from TI (v05.02 ), AM3358. The default out-of-box echo rmpsg demo works.

I will appreciate Your comments.

Thanks

logs: