alignment - 2024.1 English

Bootgen User Guide (UG1283)

Document ID
UG1283
Release Date
2024-05-30
Version
2024.1 English

Syntax

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    [alignment= <value>] <partition>
  • For Versal adaptive SoC:
    { alignment=<value>, file=<partition> }

Sets the byte alignment. The partition is padded to be aligned to a multiple of this value. This attribute cannot be used with offset.

Arguments

Number of bytes to be aligned.

Example

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    all:
    {
    	[bootloader]fsbl.elf
    	[alignment=64] u-boot.elf
    }
  • For Versal adaptive SoC:
    new_bif:
    {
    	image
    	{
    		{ type = bootimage, file = base.pdi }
    	}
    	image
    	{
    		name = apu_ss, id = 0x1c000000
    		{ core = a72-0, alignment=64, file = apu.elf }
    	}
    }
    
Note: *base.pdi is the PDI generated by Vivado.