语法
- 对于 Zynq 器件和 Zynq UltraScale+ MPSoC:
[trustzone = <options> ] <filename>
- 对于 AMD Versal™
自适应 SoC:
{ trustzone = <options>, file = <filename> }
描述
将核配置为安全或非安全 TrustZone。选项包括:
- secure
- nonsecure(默认值)
示例
- 对于 Zynq 器件和 Zynq UltraScale+ MPSoC:
all: { [bootloader, destination_cpu=a53-0] fsbl.elf [exception_level=el-3, trustzone = secure] bl31.elf }
- 对于 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。