User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 173
UG585 (v1.11) September 27, 2016
Chapter 6: Boot and Configuration
Reserved0x038
This word is reserved and must be initialized to 0x0.
Start of Execution — 0x03C
This is a byte address that is relative to the start of system memory and is used for both
executing the FSBL/User code from the OCM or using the optional execute-in-place feature of
Quad-SPI and NOR boot modes. The byte address must be aligned to a 64-byte boundary.
FSBL/User code executes from OCM:
°
Execution attempts outside of the OCM memory address space cause a secure lockdown.
°
Non-secure mode: address must be equal to or greater than 0x0 and less than 0x30000.
°
Secure mode: the address must equal 0x0.
Execute-in-place FSBL/User code:
°
The address must point to a location within the first 16 MB of memory for x4 Quad-SPI and
the first 32 MB of memory for NOR and dual x8 parallel Quad-SPI boot modes.
Total Image Length 0x040
This is the total number of bytes loaded into the OCM by the BootROM from the flash memory.
For non-secure boot, the Total Image Length parameter must be set equal to the Length of Image
parameter.
For secure images, the Total Image Length parameter includes the HMAC header, the encryption
overhead and the alignment requirements and is always larger than the Length of Image parameter.
The Total Image Length parameter is provided by the design tools.
Reserved0x044
This word is reserved and must be initialized to 0x0.
Header Checksum — 0x048
The is the checksum value of the header which is checked prior to using the data within the header.
The checksum is calculated by summing the words from
0x020 to 0x044 and inverting the result.
FSBL/User Defined— 0x04C to 0x09C
This memory area may be used by the FSBL or User code. Refer to UG821, Zynq-7000 All
Programmable SoC Software Developers Guide for more information.
Register Initialization Parameters — 0x0A0 to 0x89C
This region contains 256 pairs of address and data words that can be used to initialize PS registers for
the MIO multiplexer, boot device clocks, and other functions before the FSBL/User code is accessed
from the boot device; either to copy the image to the OCM or to execute-in-place. The register writes