xilloader
Vitis Drivers API Documentation
xilloader_image_store_pdi_client_example.c File Reference

Overview

This file illustrates Adding Imagestore pdi, Load the partial pdi and removing the imagestore pdi.

To build this application, xilmailbox library must be included in BSP and xilloader library must be in client mode

This example is supported for Versal and Versal Net devices.

Procedure to compile the example.

user need to add below config at the end of pmc_data.cdo file before building the Boot PDI. write 0xF2014288 <High 32bit addr> #Image Store Address High 32bit write 0xF201428C <Low 32bit addr #Image Store Address Lower 32bit write 0xF2014290 <Allocate size>=""> #Image Store Allocated Size

Load the Pdi. Download the pdi into ddr. Select the target. Download the example elf into the target.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.00 dd 02/13/24 Initial release

Macros

#define PDI_ID   (0x6)
 Id to identify PDI. More...
 
#define PDI_SIZE_IN_WORDS   (0x4000U)
 PDI Size in words i.e (size/4) More...
 
#define PDI_LOW_ADDRESS   (0x10000000U)
 PDI Low Address in Memory. More...
 

Functions

int main (void)
 Main function to call the cfi selective readback function. More...