headersignature - 2022.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-01-02
Version
2022.2 English

Syntax

For Zynq UltraScale+ MPSoC:

[headersignature] <signature file>
For Versal:
headersignature = <signature file>

Description

Imports the header signature into the authentication certificate. This can be used if you do not plan to share the secret key. You can create a signature and provide it to Bootgen.

Arguments

<signature_file>

Example

For Zynq UltraScale+ MPSoC:

all:
{
	[ppkfile] ppk.txt
	[spkfile] spk.txt
	[headersignature] headers.sha256.sig
	[spksignature] spk.txt.sha256.sig
	[bootloader, authentication=rsa] fsbl.elf
}
For Versal ACAP:
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
            }
      }
}