xilloader
Vitis Drivers API Documentation
XilLoader Client Example APIs

Macros

#define XLOADER_DEFAULT_ROW   0U
 Default row. More...
 
#define XLOADER_DEFAULT_BLOCKTYPE   0U
 Default blocktype. More...
 
#define XLOADER_DEFAULT_FRAMEADDR   0U
 Default frame address. More...
 
#define XLOADER_DEFAULT_FRAMECNT   1U
 Default frame count. More...
 
#define XLOADER_DEFAULT_DESTADDR   0x100000U
 Default destination address. More...
 
#define JTAG_UNLOCK   (0x3U)
 Flag for jtag unlock. More...
 
#define JTAG_DISABLE   (0U)
 Flag for disable jtag. More...
 
#define DDR_ADDR   (0x1000000)
 Source DDR address. More...
 
#define BUF_TOTAL_SIZE   (0xD00)
 Size of ImgHdrTbl + ImgHdr + PrtnHdr. More...
 
#define BUFFER_ADDR   (0x1000000U)
 Buffer lower address. More...
 
#define BUF_TOTAL_SIZE   (0x8)
 Handoff params size. More...
 
#define NODE_ID   (0x18700000)
 Node to configure. More...
 
#define BUF_TOTAL_SIZE   (sizeof(XLoader_ImageInfo))
 Buffer total size. More...
 
#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...
 
#define NODE_ID   (0x1C000000U)
 Node id. More...
 
#define FUNCTION_ID   (0U)
 Function id. More...
 
#define PDI_SRC_ADDR   (0x1000000U)
 Pdi lower address. More...
 
#define DEVICE_ID   (0x185200E2U)
 DDR device id. More...
 

Functions

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

Macro Definition Documentation

#define BUF_TOTAL_SIZE   (sizeof(XLoader_ImageInfo))

Buffer total size.

#define BUF_TOTAL_SIZE   (0x8)

Handoff params size.

#define BUF_TOTAL_SIZE   (0xD00)

Size of ImgHdrTbl + ImgHdr + PrtnHdr.

#define BUFFER_ADDR   (0x1000000U)

Buffer lower address.

#define DDR_ADDR   (0x1000000)

Source DDR address.

#define DEVICE_ID   (0x185200E2U)

DDR device id.

#define FUNCTION_ID   (0U)

Function id.

#define JTAG_DISABLE   (0U)

Flag for disable jtag.

#define JTAG_UNLOCK   (0x3U)

Flag for jtag unlock.

#define NODE_ID   (0x18700000)

Node to configure.

#define NODE_ID   (0x1C000000U)

Node id.

#define PDI_ID   (0x6)

Id to identify PDI.

#define PDI_LOW_ADDRESS   (0x10000000U)

PDI Low Address in Memory.

#define PDI_SIZE_IN_WORDS   (0x4000U)

PDI Size in words i.e (size/4)

#define PDI_SRC_ADDR   (0x1000000U)

Pdi lower address.

#define XLOADER_DEFAULT_BLOCKTYPE   0U

Default blocktype.

Referenced by main().

#define XLOADER_DEFAULT_DESTADDR   0x100000U

Default destination address.

Referenced by main().

#define XLOADER_DEFAULT_FRAMEADDR   0U

Default frame address.

Referenced by main().

#define XLOADER_DEFAULT_FRAMECNT   1U

Default frame count.

Referenced by main().

#define XLOADER_DEFAULT_ROW   0U

Default row.

Referenced by main().

Function Documentation

int main ( void  )

Main function to call the cfi selective readback function.

Main function to call the Load pdi example function.

Main function to call the Load DDR Copy Image example function.

Main function to call the Add image store pdi example function.

Main function to call the Image info example functions.

Main function to call the Get image info example functions.

Main function to call the get ATF handoff params example function.

Main function to call the ExtractMetaheader example function.

Main function to call the verssalnet example functions.

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

References XLoader_CfiSelectiveReadback(), XLoader_ClientInit(), XLOADER_DEFAULT_BLOCKTYPE, XLOADER_DEFAULT_DESTADDR, XLOADER_DEFAULT_FRAMEADDR, XLOADER_DEFAULT_FRAMECNT, XLOADER_DEFAULT_ROW, XLoader_InputSlrIndex(), and XLOADER_SLR_INDEX_0.