cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
johnrp123
Visitor
Visitor
2,137 Views
Registered: ‎11-15-2017

remoteproc start fails with error -2

Trying to load the FreeRTOS demo in the 2017.1 SDK.

After fixing the broken source files in the Xilinx SDK product included project, I was able to build the .elf file.

I can run other demos that I build for the ZCU102 for the R5 to run, echo, mult, etc...

When I build the FreeRTOS example project and try to load and run the .elf, I get the following...

 

[1234...] remoteproc remoteproc0: Direct firmware load for RTOSDemo.elf failed with error -2

[1234...] remoteproc remoteproc0: request_firmware failed: -2

[1234...] remoteproc remoteproc0:Boot failed: -2

 

-sh: echo: write error: No such file or directory

 

This is the RTOS Demo from the FreeRTOS site contained in their version 9 distribution.

I tried to build the FreeRTOS demos included in the Xilinx 2017.1 SDK, however that is a basket case

and since I do not work for them, I will let it sit in the pond where it cancontinue to... grow algae I suppose.

 

The file is there btw so something more sinister is going on.

 

0 Kudos
2 Replies
jovitac
Moderator
Moderator
2,057 Views
Registered: ‎05-10-2017

Maybe just something you're missing in the dts or maybe your .bb for your petalinux application?

Log of a free-rtos echo-test demo on a zcu102

free-rtos-echo-test.PNG

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos
deville
Explorer
Explorer
1,045 Views
Registered: ‎09-28-2018

Just for the record and for the sake of other users who might be stuck with this error. 

Error -2 is a Linux system error saying: No such file or directory

When you try to load the firmware, the driver looks only in :   /lib/firmware 

 

my 2 cents..

Deville

0 Kudos