Syntax
- For Zynq devices and Zynq UltraScale+ MPSoC:
[spkfile] <key filename>
- For AMD Versal™
adaptive
SoC:
spkfile = <filename>
Description
The SPK is used to authenticate partitions in the boot image. For more information, see Using Authentication.
Arguments
Specified file name.
Example
- For Zynq devices and Zynq UltraScale+ MPSoC:
all: { [pskfile] primarykey.pem [spkfile] secondarykey.pub [sskfile] secondarykey.pem [bootloader, authentication=rsa]fsbl.elf [authentication=rsa] hello.elf }
- For AMD Versal™
adaptive
SoC:
all: { boot_config {bh_auth_enable} pskfile=primary0.pem, image { name = pmc_ss, id = 0x1c000001 { type=bootloader, authentication=rsa, file=plm.elf, spkfile=secondary0.pub, sskfile=secondary0.pem } { type = pmcdata, load = 0xf2000000, file=pmc_cdo.bin } { type=cdo, authentication=rsa, file=fpd_cdo.bin} spkfile=secondary1.pub, sskfile = secondary1.pem } } }
Note: The secret key file contains the
public key component of the key. You need not specify SPK when the SSK is
mentioned.