cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
675 Views
Registered: ‎01-10-2020

Petalinux 2019.2 : Run RPU from TCM in lockstep mode

Jump to solution

Hello,

I have Linux running on APU and I'm trying to load my standalone openamp application on the RPU slave in Lockstep mode. In the linker script, I mapped all the sections to the tcm memory region (0x00 ==> 0x20000 and 0x20000 ==>0x40000 ).

My RPU application is loaded via remoteproc by the APU master to the RPU and starts executing correctly. But it seems to stop the execution directly after creating the virtio device. (after the following intruction: remoteproc_create_virtio(rproc, 0, VIRTIO_DEV_SLAVE, NULL);)

When I move the sections of my Linker script in vitis to the ddr region, my application is loaded and run correctly via remoteproc. My rpmsg device is being correctly created under sys/bus/rpmsg/devices/. But when I move my code to tcm and run in lockstep mode, rpu fails to create an rpmsg device.

I'm using Petalinux 2019.2 and you can find my device tree files in the attatchements.

BR

Iheb

0 Kudos
1 Solution

Accepted Solutions
655 Views
Registered: ‎01-10-2020
0 Kudos
1 Reply
656 Views
Registered: ‎01-10-2020
0 Kudos