语法
- 对于 Zynq 器件和 Zynq UltraScale+ MPSoC:
[load = <value>] <partition> - 对于 Versal 自适应 SoC、第二代 Versal AI Edge 系列、第二代 Versal Prime 系列和 Spartan UltraScale+:
{ load = <value> , file=<partition> }
描述
为存储器内的分区设置加载地址。
示例
- 对于 Zynq 器件和 Zynq UltraScale+ MPSoC:
all: { [bootloader] fsbl.elf u-boot.elf [load=0x3000000, offset=0x500000] uImage.bin [load=0x2A00000, offset=0xa00000] devicetree.dtb [load=0x2000000, offset=0xc00000] uramdisk.image.gz } - 对于 Versal 自适应 SoC:
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 } } }
注释:
*base.pdi 即为 Vivado 所生成的 PDI。