User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 150
UG585 (v1.11) September 27, 2016
Chapter 6: Boot and Configuration
Device Boot Flowchart
The POR reset causes the hardware to samples the pin straps, disable modules in the device, and
optionally enables the PS clock PLLs. These hardware actions are not performed after a non-POR
reset.
The first software to run is the BootROM, then the FSBL/User code and system code. All of these
steps are shown in Figure 6-1.
BootROM and Header Parameters
The BootROM header includes a dozen parameters that guide the BootROM execution flow. For
example, the header includes a parameter to select the security mode: the Encryption Status
parameter. In secure mode, the FSBL/User code, bitstream, and other software are encrypted. The
BootROM has the ability to authenticate and decrypt the encrypted FSBL/User code. The header
itself is never encrypted.
As another example, the header includes the Length of Image parameter that defines the length of
the FSBL/User code that the BootROM loads into the OCM for execution. This code is limited to
192 KB in length. This parameter can be set to zero to indicate the desire to execute code directly
X-Ref Target - Figure 6-1
Figure 6-1: PS/PL Boot Process for Hardware and Software
325
1RQ325
5HVHWDOO5HJLVWHUV
+DUGZDUH6DPSOHV0RGHB3LQV
-7$*,23''5HWF
FRQWUROOHUVDUHGLVDEOHG
5HVHWVDOOUHJLVWHUVH[FHSW
WKHSHUVLVWHQWUHJLVWHUV
:LWKRUZLWKRXW
3RZHUXS
1RQ
6HFXUH
3//%\SDVV"
%RRW520([HFXWHV
(QDEOH
3//V
2SHUDWLQJ6\VWHP
)6%/8VHU&RGH
/RFNGRZQ
6HFXUH
,QLWLDOL]H&RQILJXUH(QDEOH
7KH)6%/8VHU$SSOLFDWLRQ
FRGHFDQFOHDUSURJUDPDQG
HQDEOHWKH3/
36+DUGZDUH)XQFWLRQV
)DLOXUH6XFFHVV
7KLVFRXOGEHDVHFXUH%RRW0RGH7KHPRGH
ZLOOEHGHWHUPLQHGE\WKH%RRW520XVLQJWKH
KHDGHU(QFU\SWLRQ6WDWXVSDUDPHWHU
6WDUWXS3RZHUXS
7KH3/KDUGZDUHLQFOXGHVD
VHOIVWDUWXSVHTXHQFHWR
SUHSDUHLWIRULQLWLDOL]DWLRQE\
WKH%RRW520RU8VHUFRGH
(UURU&RGH*HQHUDWHG
,QLWLDOL]H
7KH3/PXVWEHSRZHUHGXS
IRU6HFXUHPRGHRULIWKH
-7$*LQWHUIDFHLVUHTXLUHG
6WDJH
6WDJH
6WDJH
8*BFBB
3/7LPHOLQH
1R
<HV
5HWDLQWKHSUHYLRXV%RRW0RGHDV
6HFXUHRU1RQ6HFXUHXVLQJWKH
GHYFIJ&75/>6(&B(1@UHJLVWHUELW
IRUDFFHVVE\WKH%RRW520