语法
- 对于 Zynq 器件和 Zynq UltraScale+ MPSoC:
[load = <value>] <partition>
- 对于 AMD Versal™
自适应 SoC:
{ 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 }
- 对于 AMD 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。