pcr_mindex - 2025.1 English - UG1283

Bootgen User Guide (UG1283)

Document ID
UG1283
Release Date
2025-05-29
Version
2025.1 English

Syntax

pcr_mindex = <value>

Description

The pcr_mindex parameter in Bootgen specifies the PCR (Platform Configuration Register) index for measured boot processes on the Versal AI Edge Series Gen 2 and Versal Prime Series Gen 2 platform. This parameter ensures the integrity and security of the boot process by storing measurements of various components in the PCR.

By specifying a pcr_mindex, Bootgen measures and stores the hash of specific boot components in the corresponding PCR. This allows for the verification of the system integrity during boot.

Arguments

Specified pcr value.

Example

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
  }
 }