Zynq-7000 SoC Partition Header - 2021.2 English

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

Document ID
UG1400
ft:locale
English (United States)
Release Date
2021-12-15
Version
2021.2 English
The Partition Header is an array of structures containing information related to each partition. Each partition header table is parsed by the Boot Loader. The information such as the partition size, address in flash, load address in RAM, encrypted/signed, and so forth, are part of this table. There is one such structure for each partition including FSBL. The last structure in the table is marked by all NULL values (except the checksum.) The following table shows the offsets, names, and notes regarding the Zynq®-7000 SoC Partition Header.
Note: An ELF file with three (3) loadable sections has one image header and three (3) partition header tables.
Table 1. Zynq-7000 SoC Partition Header
Offset Name Notes
0x00 Encrypted Partition length Encrypted partition data length.
0x04 Unencrypted Partition length Unencrypted data length.
0x08 Total partition word length (Includes Authentication Certificate.) See Zynq-7000 SoC Authentication Certificate. The total partition word length comprises the encrypted information length with padding, the expansion length, and the authentication length.
0x0C Destination load address. The RAM address into which this partition is to be loaded.
0x10 Destination execution address. Entry point of this partition when executed.
0x14 Data word offset in Image Position of the partition data relative to the start of the boot image
0x18 Attribute Bits See Zynq-7000 SoC Partition Attribute Bits
0x1C Section Count Number of sections in a single partition.
0x20 Checksum Word Offset Location of the corresponding checksum word in the boot image.
0x24 Image Header Word Offset Location of the corresponding Image Header in the boot image
0x28 Authentication Certification Word Offset Location of the corresponding Authentication Certification in the boot image.
0x2C-0x38 Reserved Reserved
0x3C Header Checksum Sum of the previous words in the Partition Header.