revoke_id - 2025.2 简体中文 - UG1283

Bootgen 用户指南 (UG1283)

Document ID
UG1283
Release Date
2025-11-20
Version
2025.2 简体中文

语法

 [revoke_id] <hex value>

描述

revoke_id 属性会为已撤销的密钥指定标识符。这可避免为使用已撤销的密钥签名的任意启动镜像应用身份验证。这是一种防止使用已失密的密钥或已过期的密钥。

注释: 对于 Spartan UltraScale+,使用 revoke_id 属性会禁用加载特定分区的操作。

实参

十六进制值

示例

Sample BIF - test.bif
image {
  name = pmc_subsys, id = 0x1c000001
  partition {
    id = 0x01, type = bootloader, authentication=rsa, pskfile = ./PSK.pem, sskfile = ./SSK2.pem, revoke_id = 0x01, file = plm.elf
  }
  partition {
    id = 0x02, type = application, authentication=rsa, sskfile = ./SSK3.pem, revoke_id = 0x02, file = app.elf
  }
}