User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 171
UG585 (v1.11) September 27, 2016
Chapter 6: Boot and Configuration
Interrupt Table for Execution-in-Place — 0x000 to 0x01C
Eight 32-bit words are reserved for interrupt mapping. This is useful for execute-in-place for NOR
and Quad-SPI devices. It allows the CPU vector table to be managed in two ways. The first is to use
the MMU to remap the flash linear address space to 0x0. The second method to manage the vector
table location is to use the coprocessor VBAR register. For more information on setting this register,
refer to the ARM v7-AR Architecture Reference Manual (listed in Appendix A, Additional Resources).
Width Detection — 0x020
Width Detection is required for the Quad-SPI boot mode. Ensure that the BootROM Header includes
the value of
0xAA995566 so the BootROM can determine the maximum hardware I/O data
connection width of the flash device(s). This value helps the BootROM to determine the data width of
a single Quad-SPI device (x1, x2, or x4) and to detect a second device in 8-bit parallel I/O
configuration. If this value is not present for the Quad-SPI boot mode then the BootROM lockdowns
the system and generates an error code. The error code number depends on other conditions. The
error codes are listed in Table 6-20, page 198. Details of the detection operation are explained in
section 6.3.4 Quad-SPI Boot.
Image Identification — 0x024
This word has a mandatory value of 0x584C4E58,'XLNX'. This value allows the BootROM (along with
the header checksum field) to determine that a valid BootROM Header is present. If the value is not
0x04C - 0x09F 19 - 39 FSBL/User Defined(84-Byte)
(3)
~~~
0x0A0 - 0x89F 40 - 551
Register Initialization
(2048-Byte)
(4)
yes yes yes
0x8A0 - 0x8BF 552 - 559 FSBL/User Defined (32-Byte)
(3)
~~~
0x8C0 560 and up FSBL Image or User Code 192 KB 192 KB see
(5)
Notes:
1. In secure mode, the Total Image Length parameter is greater than Length of Image parameter because of
encryption.
2. In non-secure OCM mode, the Total Image Length parameter must be set equal to the Length of Image parameter.
3. The usages of the FSBL/User Defined areas are explained in UG821, Zynq-7000 All Programmable SoC Software
Developers Guide.
4. The addresses that can be accessed by Register Initialization is restricted, see Table 6-7. The secure boot mode has
more address restrictions than a non-secure boot.
5. The size of the FSBL image (or User code) for Execute-in-place depends on the allowed capacity of the boot device
less the 0x8C0 (the size of the BootROM Header). The maximum Quad-SPI size is described in section
6.3.4 Quad-SPI Boot. For NOR, refer to section 6.3.6 NOR Boot.
6. To select the execute-in-place feature, set the Length of Image and Total Image Length parameters to 0 and load
the PS interconnect address into the Source Offset.
Table 6-5: BootROM Header Parameters (Contd)
Header Address
32-bit
Word
Parameter
Boot Device
Secure
Usage
Non-Secure
Usages
OCM OCM
Execute In
Place
(6)