spkfile - 2021.2 English

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

Document ID
UG1400
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.2 English

Syntax

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    [spkfile] <key filename>
  • For Versal® ACAP:
    spkfile = <filename>

Description

The Secondary Public Key (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 Versal® ACAP:
    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 public key (SPK) when the secret key (SSK) is mentioned.