User manual

Table Of Contents
Zynq-7000 AP SoC Technical Reference Manual www.xilinx.com 772
UG585 (v1.11) September 27, 2016
Chapter 32: Device Secure Boot
PS eFUSE Settings
The PS also has an eFuse array. The primary purpose is to store the memory built in self repair
information and the RSA public key hash. The PS eFuse also has a number of fuses that can be used
to control the security boot flow of the device. (see Table 32-3). More information regarding
programing of the PS eFuses can be found in UG643
, OS and Libraries Document Collection, and in
UG996 (available in the user install area of the software).
32.2.5
RSA Authentication
The BootROM has the ability to authenticate a secure FSBL prior to decryption or a non-secure FSBL
prior to execution using RSA public key authentication. This feature is enabled by blowing the RSA
Authentication Enable fuse in the PS eFuse array.
When RSA authentication is enabled, the BootROM starts by loading the FSBL into the OCM. Then
the Primary Public Key (PPK) is loaded and a SHA-256 signature is calculated. This calculated
signature is compared to the PPK Hash value stored in the PS eFuse. If the PPK signature matches the
PPK Hash value, then the boot continues. The BootROM then loads the Secondary Public Key (SPK)
from the boot image and the SPK signature. The SPK is authenticated using the PPK. Failure to
authenticate the PPK or SPK triggers a fallback mode by the BootROM. If a new FSBL is not found, the
device enters a secure lockdown.
XSK_EFUSEPL_BBRAM_KEY_DISABLE BBRAM Key Disable. If the AP SoC device is booted in
secure mode, then the eFuse key must be selected.
Non-secure boot of the device is allowed. If the boot image
header does not match this setting, a security lockdown
occurs.
XSK_EFUSEPL_DISABLE_JTAG_CHAIN JTAG Chain Disable. The ARM DAP and PL TAP are
permanently disabled. Any attempt to active the ARM DAP
or the PL TAP controllers causes a security lockdown.
Table 32-3: PS eFuse Setting Summary
eFuse Description
eFuse Write Protection (2 fuses) Blow both of these fuses to permanently disable all writes to the PS
eFuse array.
OCM ROM 128KB CRC Enable
Enables a full 128 KB CRC on the ROM prior to loading the FSBL.
RSA Authentication Enable
Enables RSA authentication for NAND, NOR, SD, or QSPI.
DFT JTAG Disable
The ARM DAP and PL TAP are disabled when the device is booted
in DFT mode, any attempt to activate the ARM DAP or the PL TAP
causes a security lockdown.
DFT Mode Disable
The DFT boot mode is permanently disabled. Booting in DFT mode
immediately triggers a security lockdown.
RSA PPK Hash (310 fuses)
SHA-256 signature for the RSA primary public key including extra
ECC bits.
Table 32-2: PL eFuse Settings Summary (Contd)
eFuse Description