语法
- 对于 Zynq 器件和 Zynq UltraScale+ MPSoC:
[boot_device] <options>
- 对于 AMD Versal™
自适应 SoC:
boot_device { <options>, address=<address> }
描述
注释: 在以 BIF 为目标(对于 Versal,则以 PDI 为目标)的主启动镜像中,需添加该属性。
指定辅助启动器件。指示分区所在的辅助启动器件。
实参
适用于 Zynq 器件和 Zynq UltraScale+ MPSoC 的选项包括:
- qspi32
- qspi24
- nand
- sd0
- sd1
- sd-ls
- mmc
- usb
- ethernet
- pcie
- sata
地址字段用于指定给定闪存器件中镜像的偏移。Versal 自适应 SoC 的选项:
- qspi32
- qspi24
- nand
- sd0
- sd1
- sd-ls(SD0 (3.0) 或 SD1 (3.0))
- mmc
- usb
- ethernet
- pcie
- sata
- ospi
- smap
- sbi
- sd0-raw
- sd1-raw
- sd-ls-raw
- mmc1-raw
- mmc0
- mmc0-raw
- imagestore
示例
注释: 以下示例对应主启动镜像的 BIF。
-
Zynq 器件和 Zynq UltraScale+ MPSoC 示例如下:
all: { [boot_device]sd0 [bootloader,destination_cpu=a53-0]fsbl.elf }
-
AMD Versal™
自适应 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 } } }