User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 149
UG585 (v1.11) September 27, 2016
Chapter 6: Boot and Configuration
In secure mode, the boot image is always written to OCM memory by the CPU. From there, it is sent
(using DMA) in and out of the AES/HMAC units for decryption and authentication. The decrypted
boot image is written back to OCM memory and executed after the BootROM is finished. Security
hardware is described in this chapter and in Chapter 32, Device Secure Boot.
In non-secure mode, the BootROM header can instruct the PS to execute the boot image directly
from a Quad-SPI or NOR boot device that supports the execute-in-place option. In other cases, the
FSBL/User code is copied to the OCM memory for execution.
If the BootROM header in the flash device is invalid, the BootROM searches for another header. The
header search continues until a valid header is found or the entire range has been searched. The
BootROM header search is supported for Quad-SPI, NAND, and NOR boot modes. For SD card boot
mode, only one header is read.
JTAG Slave Boot
In JTAG boot mode, the BootROM does minimal system configuration and enables a JTAG interface.
Then, the system goes into an idle state waiting for the DAP controller to restart CPU 0. The cascade
JTAG boot mode loops the DAP and TAP controllers, and is the most common JTAG boot mode. The
independent JTAG boot mode connects the TAP controller to the PL JTAG pins and gives time for the
user to configure the PL using the TAP controller to connect the DAP controller to the EMIO JTAG
interface. The paths are shown in Figure 6-7, page 189.
In non-secure master boot mode, the JTAG interface is enabled for debug when the PL is
powered-up. The JTAG interface can be used to access the TAP and DAP controllers.
Boot and Configuration Subsections
Boot and Configuration is divided into the following sections:
Figure 6-1
°
Overview of bring-up and configuration
Device Start-up
°
Power-up, resets, clocks, Boot mode pins
BootROM
°
Execution flow, BootROM header
°
Boot modes, image search, multiboot
°
Error codes, system state post-BootROM
Device Boot and PL Configuration
°
PL initialization, configuration, and enable
°
PS/PL bring-up examples
°
PCAP bridge, JTAG (cascade/independent)
Reference Section
°
PL bring-up time factors, register overview, and device IDs