pskfile - 2023.2 简体中文

Bootgen 用户指南 (UG1283)

Document ID
UG1283
Release Date
2023-10-18
Version
2023.2 简体中文

语法

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    [pskfile] <key filename>
  • 对于 AMD Versal™  自适应 SoC:
    pskfile = <filename>

描述

此 PSK 用于对启动镜像中的分区进行身份验证。如需了解更多信息,请参阅 使用身份验证

实参

指定的文件名。

注释: 私钥文件包含密钥的公钥组件。只要注明 PSK,您就无需指定 PPK。

示例

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    all:
    {
       [pskfile] primarykey.pem
       [sskfile] secondarykey.pem
       [bootloader, authentication=rsa]fsbl.elf
       [authentication=rsa] hello.elf
    }
    
  • 对于 AMD Versal™  自适应 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  }  
       }                                                         
    }