UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Newbie bluesparrow
Newbie
449 Views
Registered: ‎10-26-2018

Running code on RPU without building in linux as mentioned in ug1186

Hello all,

I am new in this domain so I need your help regarding running a code on RPU. When I follow steps mentioned in ug1186 the echo test application works fine (I named openmp). Now I do not want to build the application inside petalinux as mentioned in the document. I made the exact fw for RPU as mentioned in the document (with same name 'openmp' and all the device tree is same) but this time I sent file using winscp to /lib/firmware. The fw do loads in the RPU but does not run. The output is as follows for both the cases. 

1.   

[ 1259.344189] remoteproc remoteproc0: powering up ff9a0100.zynqmp_r5_rproc
[ 1259.353430] remoteproc remoteproc0: Booting fw image openmp, size 594168
[ 1259.363950] remoteproc remoteproc0: registered virtio0 (type 7)
[ 1259.366240] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 1259.379432] zynqmp_r5_remoteproc ff9a0100.zynqmp_r5_rproc: RPU boot from TCM.
[ 1259.389112] remoteproc remoteproc0: remote processor ff9a0100.zynqmp_r5_rproc is now up
root@xilinx>Starting application...
Try to init remoteproc resource
Init remoteproc resource succeeded
Waiting for events...
[ 1259.444714] virtio_rpmsg_bus virtio0: creating channel rpmsg-openamp-demo-channel addr 0x1

 

This works fine. 

 

2. When I load this new fw directly from /lib/firmware

 

[ 1532.680216] remoteproc remoteproc0: powering up ff9a0100.zynqmp_r5_rproc
[ 1532.689913] remoteproc remoteproc0: Booting fw image openmp.elf, size 594152
[ 1532.701414] virtio_rpmsg_bus virtio0: rpmsg host is online
[ 1532.709309] remoteproc remoteproc0: registered virtio0 (type 7)
[ 1532.717681] zynqmp_r5_remoteproc ff9a0100.zynqmp_r5_rproc: RPU boot from TCM.
[ 1532.727717] remoteproc remoteproc0: remote processor ff9a0100.zynqmp_r5_rproc is now up

 

Any hint will be highly appreciated.

 

Best Regards,

 

Blue.

 

0 Kudos
1 Reply
Moderator
Moderator
420 Views
Registered: ‎05-10-2017

Re: Running code on RPU without building in linux as mentioned in ug1186

Could you check if you have rpmsg drivers enabled in your kernel configs? We have that enabled by default if use our petalinux bsp

-------------------------------------------------------------------------
Don’t forget to reply, kudo, and accept as solution.
-------------------------------------------------------------------------
0 Kudos