Sorry, you need to enable JavaScript to visit this website.

Load new application on CPU1 while running Linux on CPU0?

Unsolved
4 posts / 0 new
dannezz's picture
dannezz
Junior(0)
Load new application on CPU1 while running Linux on CPU0?

Is there anyone that have an idea how to load a new application (.elf) on CPU1 while running Linux on the other core (CPU0) without rebooting Linux?

I'm using a Zedboard and running simple AMP based on Xilinx XAPP1078.

I have tried to soft-reset the CPU1 but I can't start the application again after reset. Do I have to do anything special after a reset? I have just tried to start the application by writing the start-address to 0xfffffff0.

fletch's picture
fletch
Moderator(15)
A ZedBoard port of XAPP1078

A ZedBoard port of XAPP1078 is now posted under Reference Designs.
Bryan
 

hemanth619's picture
hemanth619
Junior(0)
AMP Running Linux and Bare-Metal System on Both Zynq SoC Process

Hello,

I am trying to utilize both cpu0 and cpu1 on zed board.
Using the document xapp1078,that document having operation of cpu0 on linux and cpu1 on bare-metal.

First, I downloaded the following generated files and copied to SD card them.

http://www.zedboard.org/sites/default/files/design/xapp1078_zedboard.zip,

<SD card>
- BOOT.BIN
- devicetree.dtb
- uImage
- uramdisk.image.gz
- rwmem.elf
- softUart.elf

After I switched on Zed Board,booting process has to start, and booting process(cpu0) was started,
but cpu1 was not started.

zynq > /mnt/rwmem.elf 0xffff8000
0x00000000ffff8000 = 0x00000000
zynq > /mnt/rwmem.elf 0xfffffff0 0x18000000
zynq > /mnt/rwmem.elf 0xffff8000
0x00000000ffff8000 = 0x00000000
zynq > /mnt/rwmem.elf 0xffff8000
0x00000000ffff8000 = 0x00000000
zynq > /mnt/rwmem.elf 0xffff8000
0x00000000ffff8000 = 0x00000000

"0xffff8000"address remains unchanged "0x00000000".

Please provide a solution as soon as possible.

TroutChaser's picture
TroutChaser
Moderator(18)
See answer on your duplicate