authentication - 2024.1 简体中文

Bootgen 用户指南 (UG1283)

Document ID
UG1283
Release Date
2024-05-30
Version
2024.1 简体中文

语法

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    [authenication = <options>] <partition>
  • 对于 Versal 自适应 SoC:
    {authentication=<options>, file=<partition>}

描述

指定要进行身份验证的分区。

实参

  • none:分区不执行身份验证。这是默认值。
  • rsa:分区使用 RSA 算法执行身份验证。
  • ecdsa-p384:分区使用 ECDSA p384 曲线执行身份验证
  • ecdsa-p521:分区使用 ECDSA p521 曲线执行身份验证

示例

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    all: { [ppkfile] ppk.txt [spkfile] spk.txt [bootloader, authentication=rsa] fsbl.elf [authentication=rsa] hello.elf }
  • 对于 Versal 自适应 SoC:
    all: { id_code = 0x04ca8093 extended_id_code = 0x01 id = 0x2 boot_config {bh_auth_enable} metaheader { authentication = rsa, pskfile = PSK2.pem, sskfile = SSK2.pem } image { name = pmc_subsys, id = 0x1c000001 partition { id = 0x01, type = bootloader, authentication = rsa, pskfile =PSK1.pem, sskfile =SSK1.pem, file = plm.elf } partition { id = 0x09, type = pmcdata, load = 0xf2000000, file = pmc_data.cdo } } image { name = lpd, id = 0x4210002 partition { id = 0x0C, type = cdo, authentication = rsa, pskfile = PSK3.pem, sskfile = SSK3.pem, file = lpd_data.cdo } partition { id = 0x0B, core = psm, authentication = rsa, pskfile = PSK1.pem, sskfile = SSK1.pem, file = psm_fw.elf } } image { name = fpd, id = 0x420c003 partition { id = 0x08, type = cdo, authentication = rsa, pskfile = PSK3.pem, sskfile = SSK3.pem, file = fpd_data.cdo } } }