boot_device - 2022.1 English

Bootgen User Guide (UG1283)

Document ID
UG1283
Release Date
2022-04-26
Version
2022.1 English

Syntax

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    [boot_device] <options>
  • For Versal® ACAP:
    boot_device { <options>, address=<address> }

Description

Specifies the secondary boot device. Indicates the device on which the partition is present.

Arguments

Options for Zynq devices and Zynq UltraScale+ MPSoC:

  • qspi32
  • qspi24
  • nand
  • sd0
  • sd1
  • sd-ls
  • mmc
  • usb
  • ethernet
  • pcie
  • sata

The address field specifies the offset of the image in the given flash device. Options for Versal ACAP:

  • qspi32
  • qspi24
  • nand
  • sd0
  • sd1
  • sd-ls (SD0 (3.0) or SD1 (3.0))
  • mmc
  • usb
  • ethernet
  • pcie
  • sata
  • ospi
  • smap
  • sbi
  • sd0-raw
  • sd1-raw
  • sd-ls-raw
  • mmc1-raw
  • mmc0
  • mmc0-raw

Example

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    all:
    {
    	[boot_device]sd0
    	[bootloader,destination_cpu=a53-0]fsbl.elf
    }
  • For Versal® ACAP:
    new_bif:
    {
    	id_code = 0x04ca8093
    	extended_id_code = 0x01
    	id = 0x2
    	boot_device { qspi32, address=0x10000 }
    	image
    	{
    		name = pmc_subsys, id = 0x1c000001
    		{ id = 0x01, type = bootloader, file = plm.elf }
    		{ id = 0x09, type = pmcdata, load = 0xf2000000, file = pmc_data.cdo }
    	}
    	image
    	{
    		name = lpd, id = 0x4210002
    		{ id = 0x0C, type = cdo, file = lpd_data.cdo }
    		{ id = 0x0B, core = psm, file = psm_fw.elf }
    	}
    	image
    	{
    		name = pl_cfi, id = 0x18700000
    		{ id = 0x03, type = cdo, file = system.rcdo }
    		{ id = 0x05, type = cdo, file = system.rnpi }
    	}
    	image
    	{
    		name = fpd, id = 0x420c003
    		{ id = 0x08, type = cdo, file = fpd_data.cdo }
    	}
    }