Replace PLM and PMC CDO in SSIT PDIs - 2022.2 English

Vitis Unified Software Platform Documentation: Embedded Software Development (UG1400)

Document ID
UG1400
Release Date
2023-01-02
Version
2022.2 English

Bootgen supports replacing PLM, PMC CDO and PSM for Monolithic devices, by taking the PDI as input.

Keeping in view, the SSIT devices and future requirements - the replace functionality is now done by taking the bif as input, instead of boot image.

This example shows the steps to replacing PLM and PMC DATA.

  1. Take a Vivado generated bif (base.bif).
  2. Create a new PDI by replacing the PLM (bootloader) from the base bif.
    include: base.bif
    replace_image:
    	  {
    	    image
    	    {
    	      partition 
    			{ type = bootloader, slr = 0, file = plm-v1.elf }
    	        { type = pmcdata, slr = 0, file = pmc_data-v1.cdo }
    		  partition
    	    }
    	   image
    	   {
    	     partition 
    			{ type = bootloader, slr = 1, file = plm-v1.elf }
    	        { type = pmcdata, slr = 1, file = pmc_data-v1.cdo }
    		 partition
    	
    	     partition 
    			{ type = bootloader, slr = 2, file = plm-v1.elf }
    	        { type = pmcdata, slr = 2, file = pmc_data-v1.cdo }
    		 partition
    	   }
    	  }
    	
    

Bootgen replaces respective slr bootloader plm.elf with a new plm_v1.elf and pmcdata with pmc_data-v1.cdos.

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