bh_keyfile - 2024.1 简体中文

Bootgen 用户指南 (UG1283)

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

语法

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    [bh_keyfile] <key file path>
  • 对于 Versal 自适应 SoC:
    bh_keyfile = <key file path>

描述

将存储在启动头文件中的 256 位模糊密钥或黑密钥。仅当加密密钥源为模糊密钥或黑密钥时,此项才有效。

注释: Versal 器件不支持模糊密钥。

实参

模糊密钥或黑密钥路径(基于所选的密钥源)。

示例

  • 对于 Zynq 器件和 Zynq UltraScale+ MPSoC
    all: { [keysrc_encryption] bh_gry_key [bh_keyfile] obfuscated_key.txt [bh_key_iv] obfuscated_iv.txt [bootloader, encryption=aes, aeskeyfile = encr.nky, destination_cpu=a53-0]fsbl.elf }
  • 对于 Versal 自适应 SoC:
    all: { bh_keyfile = bh_key1.txt bh_kek_iv = blk_iv.txt image { name = pmc_subsys, id = 0x1c000001 { type = bootloader, encryption = aes, keysrc = bbram_red_key, aeskeyfile = key1.nky, file = plm.elf } { type = pmcdata, load = 0xf2000000, aeskeyfile = key2.nky, file = pmc_cdo.bin } { type=cdo, encryption = aes, keysrc = bh_blk_key, aeskeyfile = key3.nky, file=fpd_data.cdo } } }