offset - 2020.2 English

Bootgen User Guide (UG1283)

Document ID
UG1283
Release Date
2020-12-15
Version
2020.2 English

Syntax

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    [offset = <value>] <filename>
  • For Versal™ ACAP:
    { offset = <value>, file=<filename> }

Description

Sets the absolute offset of the partition in the boot image.

Arguments

Specified value and partition.

Example

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    all:                                                     
    {                                                        
         [bootloader] fsbl.elf                               
         u-boot.elf                                          
         [load=0x3000000, offset=0x500000] uImage.bin        
         [load=0x2A00000, offset=0xa00000] devicetree.dtb    
         [load=0x2000000, offset=0xc00000] uramdisk.image.gz 
    }
  • For Versal™ ACAP:
    new_bif:
    {
    	image
    	{
    		{ type = bootimage, file = base.pdi }
    	}
    	image
    	{
    		name = apu_ss, id = 0x1c000000
    		{ offset = 0x8000, file = data.bin }
    	}
    }
    
Note: *base.pdi is the PDI generated by Vivado.