替换现有 PDI 中的 PLM - 2023.2 简体中文

Bootgen 用户指南 (UG1283)

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

此示例演示了替换现有 PDI 中的 PLM 的步骤。

  1. 使用 Vivado 生成的 PDI (base.pdi)。
  2. 通过替换 base PDI 中的 PLM(启动加载程序)来创建新的 PDI。
    new_bif:
    {
    	image
    	{
    		{ type = bootimage, file = base.pdi }
    		{ type = bootloader, file = plm_v1.elf }
    	}
    }
    

Bootgen 会将启动加载程序 plm.elf 替换为新的 plm_v1.elf

用于创建 PDI 的 Bootgen 命令示例

使用以下命令来创建 PDI。

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