pcr_mindex - 2025.1 简体中文 - UG1283

Bootgen 用户指南 (UG1283)

Document ID
UG1283
Release Date
2025-09-10
Version
2025.1 简体中文

语法

pcr_mindex = <value>

描述

Bootgen 中的 pcr_mindex 参数用于为第二代 Versal AI Edge 系列第二代 Versal Prime 系列平台上的测量启动进程指定“平台配置寄存器 (PCR)”索引。该参数通过存储 PCR 中各种组件的测量值来确保启动进程的完整性和安全性。

通过指定 pcr_mindex,Bootgen 会测量并存储对应 PCR 中特定启动组件的散列。这样即可在启动期间验证系统完整性。

实参

指定的 pcr 值。

示例

new_bif:
{
 id_code = 0x04DB0093
 extended_id_code = 0x01
 id = 0x1
 image
 {
  name = pmc_subsys
  id = 0x1c000001
  partition
  {
      id = 0x2
      type = bootloader
      file =   plm.elf
  }
  partition
  {
      id = 0x3
      type = pmcdata,load=0xF2000000
      file = pmc_data.cdo
  }
 }
 image
 {
  name = lpd_subsys
  id = 0x4210002
  pcr=2, pcr_mindex = 0
  partition
  {
      id = 0x4
      type = cdo
      file = lpd_data.cdo
  }
 }
 image
 {
  name = pl_cfi_subsys
  id = 0x18700000
  pcr=3, pcr_mindex = 0
  partition
  {
      id = 0x5
      type = cdo
      file = pl_cfi_subsys.rcdo
  }
  partition
  {
      id = 0x6
      type = cdo
      file =  pl_cfi.rnpi
  }
 }