语法
对于 Zynq UltraScale+ MPSoC:
[headersignature] <signature file>
对于 Versal 自适应 SoC:
headersignature = <signature file>
描述
将头文件签名导入身份验证证书。如果您不想共享私钥,则可使用此项。您可创建签名并将其提供给 Bootgen。
实参
<signature_file>
示例
对于 Zynq UltraScale+ MPSoC:
all: { [ppkfile] ppk.txt [spkfile] spk.txt [headersignature] headers.sha256.sig [spksignature] spk.txt.sha256.sig [bootloader, authentication=rsa] fsbl.elf }
对于 Versal 自适应 SoC:
stage5: { bhsignature = bootheader.sha384.sig image { name = pmc_subsys, id = 0x1c000001 { type = bootimage, authentication=rsa, ppkfile = rsa-keys/PSK1.pub, spkfile = rsa-keys/SSK1.pub, spksignature = SSK1.pub.sha384.sig, file = pmc_subsys_e.bin } } }