XSecure_PartitionHeader - 2021.1 English

Xilinx Standalone Library Documentation OS and Libraries Document Collection (UG643)

Document ID
UG643
Release Date
2021-06-16
Version
2021.1 English

Structure to store the partition header details. It contains all the information of partition header in order.

Declaration

typedef struct
{
  u32 EncryptedDataWordLength,
  u32 UnEncryptedDataWordLength,
  u32 TotalDataWordLength,
  u32 NextPartitionOffset,
  u64 DestinationExecutionAddress,
  u64 DestinationLoadAddress,
  u32 DataWordOffset,
  u32 PartitionAttributes,
  u32 SectionCount,
  u32 ChecksumWordOffset,
  u32 ImageHeaderOffset,
  u32 AuthCertificateOffset,
  u32 Iv,
  u32 Checksum
} XSecure_PartitionHeader;
Table 1. Structure XSecure_PartitionHeader member description
Member Description
EncryptedDataWordLength

Encrypted word length of partition

UnEncryptedDataWordLength

unencrypted word length

TotalDataWordLength

Total word length including the authentication certificate if any

NextPartitionOffset

Address of the next partition header

DestinationExecutionAddress

Execution address

DestinationLoadAddress

Load address in DDR/TCM

DataWordOffset

Data offset in words

PartitionAttributes

partition attributes

SectionCount

section count

ChecksumWordOffset

address to checksum when enabled

ImageHeaderOffset

address to image header

AuthCertificateOffset

address to the authentication certificate when enabled

Iv

8 bits are to be added to and remaining are reserved

Checksum

checksum of the partition header