cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Adventurer
Adventurer
2,238 Views
Registered: ‎06-03-2008

U-boot image from SDK

Jump to solution

Hello,

 

I try to create a boot image from SDK (2016.4), Xilinx tools -> Create boot image.

 

I would like to include my fsbl.elf + design_wrapper.bit + u-boot.elf.

 

My question is in which partition I should add each file (bootloader, init, datafile, pmu). As for now I have tried this configuration (from the output.bif file:)

 

//arch = zynqmp; split = false; format = BIN
the_ROM_image:
{
	[fsbl_config]a53_x64
	[bootloader]\...\zynqmp_fsbl.elf
	[destination_cpu = a53-0]\...\\u-boot.elf
	[destination_device = pl]\...\design_1_wrapper.bit
}

However, when I boot my board (ZynqUS+ Trenz), it fails with kernel panic:

Kernel panic - not syncing: Attempted to kill the idle task!

 

Is there something I am missing to add properly the u-boot.elf, in order to generate the boot.bin?

 

Thanks.

dtheodor

0 Kudos
Reply
1 Solution

Accepted Solutions
Adventurer
Adventurer
3,759 Views
Registered: ‎06-03-2008

Eventually the workaround was to use the petalinux tools:

 

petalinux-package --force --boot --fsbl <your_fsbl>.elf --fpga <your fpga  bit file>.bit --pmufw no --u-boot <your u-boot file>.elf

View solution in original post

1 Reply
Adventurer
Adventurer
3,760 Views
Registered: ‎06-03-2008

Eventually the workaround was to use the petalinux tools:

 

petalinux-package --force --boot --fsbl <your_fsbl>.elf --fpga <your fpga  bit file>.bit --pmufw no --u-boot <your u-boot file>.elf

View solution in original post