bootimage - 2021.2 English

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

Document ID
UG1400
Release Date
2021-12-15
Version
2021.2 English

Syntax

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    [bootimage] <partition>
  • For Versal® ACAP:
    { type=bootimage, file=<partition> }

Description

This specifies that the following file specification is a boot image that was created by Bootgen, being reused as input.

Arguments

Specified file name.

Example

  • For FSBL:
    all:
    {
    	[bootimage]fsbl.bin
    	[bootimage]system.bin
    }

    In the above example, the fsbl.bin and system.bin are images generated using Bootgen.

    • For fsbl.bin generation:
      image: 
      { 
      	[pskfile] primary.pem 
      	[sskfile] secondary.pem 
      	[bootloader, authentication=rsa, aeskeyfile=encr_key.nky, encryption=aes] fsbl.elf 
       } 
      

      Use the following command:

      bootgen -image fsbl.bif -o fsbl.bin -encrypt efuse
    • For system.bin generation:
      image: 
      { 
      	[pskfile] primary.pem 
      	[sskfile] secondary.pem 
      	[authentication=rsa] system.bit 
      }
      

      Use the following command:

      bootgen -image system.bif -o system.bin
  • For Versal® ACAP:
    new_bif:
    {
    	image
    	{
    		{ type = bootimage, file = base.pdi }
    	}
    	image
    	{
    		name = apu_ss, id = 0x1c000000
    	    { load = 0x1000, file = system.dtb }
             { exception_level = el-2, file = u-boot.elf }
             { core = a72-0, exception_level = el-3, trustzone, file = bl31.elf }
    	}
    }
Note: *base.pdi is the PDI generated by Vivado.