pskfile - 2023.2 English

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

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 English

Syntax

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    [pskfile] <key filename>
  • For AMD Versal™ adaptive SoC:
    pskfile = <filename>

Description

This PSK is used to authenticate partitions in the boot image. For more information, see Using Authentication.

Arguments

Specified file name.

Note: The secret key file contains the public key component of the key. You need not specify the PPK when the PSK is mentioned.

Example

  • For Zynq devices and Zynq UltraScale+ MPSoC:
    all:
    {
       [pskfile] primarykey.pem
       [sskfile] secondarykey.pem
       [bootloader, authentication=rsa]fsbl.elf
       [authentication=rsa] hello.elf
    }
    
  • For AMD Versal™ adaptive SoC:
    all:                                                         
    {                                                            
       boot_config {bh_auth_enable}                              
       image                                                     
       {                                                         
          name = pmc_ss, id = 0x1c000001                         
          { type=bootloader, authentication=rsa, file=plm.elf,   
            pskfile=primary0.pem, sskfile=secondary0.pem }       
          { type = pmcdata, load = 0xf2000000, file=pmc_cdo.bin }
          { type=cdo, authentication=rsa, file=fpd_cdo.bin,    
            pskfile = primary1.pem, sskfile = secondary1.pem  }  
       }                                                         
    }