替换 SSI 技术 PDI 中的 PLM 和 PMC CDO - 2023.2 简体中文

Bootgen 用户指南 (UG1283)

Document ID
UG1283
Release Date
2023-10-18
Version
2023.2 简体中文

Bootgen 支持取 PDI 作为输入来替换单片器件中的 PLM、PMC CDO 和 PSM。

考虑到 SSI 技术器件及未来需求,现在取 bif 作为输入替代启动镜像来完成替换功能。

此示例演示了替换 PLM 和 PMC DATA 的步骤。

  1. 提取 Vivado 生成的 bif (base.bif)。
  2. 通过替换 base bif 中的 PLM(启动加载程序)来创建新的 PDI。
    include: base.bif
    replace_image:
    {
    image
    {
      partition { type = bootloader, slr = 0, file = plm-v1.elf }
      partition { type = pmcdata, slr = 0, file = pmc_data-v1.cdo }
    }
    image
    {
      partition { type = bootloader, slr = 1, file = plm-v1.elf }
      partition { type = pmcdata, slr = 1, file = pmc_data-v1.cdo }
    }
    image
    {
      partition { type = bootloader, slr = 2, file = plm-v1.elf }
      partition { type = pmcdata, slr = 2, file = pmc_data-v1.cdo }
    }
    }

Bootgen 会将相应的 slr 启动加载程序 plm.elf 替换为新的 plm_v1.elf 并将 pmcdata 替换为 pmc_data-v1.cdos。

用于创建 PDI 的 Bootgen 命令示例

使用以下命令来创建 PDI。

bootgen -arch versal -image filename.bif -w -o boot.pdi