boot_device - 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:
    [boot_device] <options>
  • For AMD Versal™ adaptive SoC:
    boot_device { <options>, address=<address> }

Description

Note: This attribute needs to be added in BIF targeted for primary boot Image (PDI in case of Versal)

Specifies the secondary boot device. Indicates the secondary boot 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 adaptive SoC:

  • 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
  • imagestore

Example

Note: The following examples are for BIF for primary boot image.
  • For example Zynq devices and Zynq UltraScale+ MPSoC:
    all:
    {
    	[boot_device]sd0
    	[bootloader,destination_cpu=a53-0]fsbl.elf
    }
  • For example AMD Versal™ adaptive SoC:
    new_bif:
    {
    	id_code = 0x04ca8093
    	extended_id_code = 0x01
    	id = 0x2
    	boot_device { mmc, 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 }
    	}
    }