offset - 2021.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.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.