spkfile - 2023.2 简体中文

Vitis 统一软件平台文档 嵌入式软件开发 (UG1400)

Document ID
UG1400
Release Date
2023-12-13
Version
2023.2 简体中文

语法

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

描述

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

实参

指定的文件名。

示例

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    all:
    {
       [pskfile] primarykey.pem
       [spkfile] secondarykey.pub
       [sskfile] secondarykey.pem
       [bootloader, authentication=rsa]fsbl.elf
       [authentication=rsa] hello.elf
    }
    
  • 对于 AMD Versal™  自适应 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  }  
       }                                                         
    }
注释: 私钥文件包含密钥的公钥组件。只要注明 SSK,您就无需指定 SPK。