语法
- 对于 Zynq 器件和 Zynq UltraScale+ MPSoC:
[big_endian] <partition>
- 对于 Versal 自适应 SoC:
{ big_endian, file=<partition> }
描述
指定二进制文件为大字节序格式。
注释: Bootgen 会自动检测 .elf 文件的字节序。此项仅对二进制文件有效。
实参
指定的分区。
示例
- 对于 Zynq 器件和 Zynq UltraScale+ MPSoC:
the_ROM_image: { [bootloader, destination_cpu=a53-0] zynqmp_fsbl.elf [destination_cpu=a53-0, big_endian] hello.bin [destination_cpu=r5-0] hello_world.elf }
- 对于 Versal 自适应 SoC:
new_bif: { image { { type = bootimage, file = base.pdi } } image { name = apu_ss, id = 0x1c000000 { core = a72-0, big_endian, file = apu.bin } } } Note: *base.pdi is the PDI generated by Vivado