xilloader
Vitis Drivers API Documentation
xilloader_update_multiboot_client_example.c File Reference

Overview

This file illustrates update multiboot 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 run the example.

Load full Pdi. Download the secondary pdi into ddr. In serial sf probe 0 0 0 sf erase <offset> <size of="" pdi>=""> sf write <ddr address>=""> <offset> <size of="" pdi>=""> In xsdb mwr -force 0xF1110004 <offset value/0x8000> mrd -force 0xF1110004 change the bootmode.

MODIFICATION HISTORY:
Ver   Who  Date     Changes


1.00 dd 02/13/24 Initial release

 

Macros

#define PDI_ADDR   (0x4000000)
 Pdi address. More...
 

Functions

int main (void)
 Main function to call the UpdateMultiboot example function. More...
 

Macro Definition Documentation

#define PDI_ADDR   (0x4000000)

Pdi address.

Referenced by main().

Function Documentation

int main ( void  )

Main function to call the UpdateMultiboot example function.

Returns
  • XST_SUCCESS on success.
  • Error code on failure.

References PDI_ADDR, XLoader_ClientInit(), XLOADER_FLASH_RAW, XLOADER_PDI_QSPI32, and XLoader_UpdateMultiboot().