This example shows the steps to replacing PLM from an existing PDI.
- Take a Vivado generated
PDI (
base.pdi
). - Create a new PDI by replacing the PLM (bootloader) from the base
PDI.
new_bif: { image { { type = bootimage, file = base.pdi } { type = bootloader, file = plm_v1.elf } } }
Bootgen replaces the bootloader plm.elf with a new plm_v1.elf.
Example Bootgen Command to Create a PDI
Use the following command to create a PDI.
bootgen -arch versal -image {filename.bif} -w -o {boot.pdi}