AR# 69241

Zynq UltraScale+ MPSoC Example Design: Execute-in-place (XIP) on QSPI on the ZCU102


This Xilinx Answer describes the required step to demonstrate booting a Zynq UltraScale+ MPSoC device in QSPI execute-in-place (XIP) on a ZCU102

This is NOT a full solution but a starting point to touch on a few useful concepts when working on XIP with Zynq UltraScale+ MPSoC.

Note: An Example Design is an answer record that provides technical tips to test a specific functionality on Zynq devices.

A tip can be a snippet of code, a snapshot, a diagram or a full design implemented with a specific version of the Xilinx tools.

It is the users responsibility to "update" these tips to future Xilinx tools releases and to "modify" the Example Design to fulfill his needs.

Limited support is provided by Xilinx on these Example Designs.

Implementation Details
Design TypePS Only
SW TypeStandalone
PS FeaturesQSPI in Linear mode
PL CoresNone
Xilinx Tools Version2017.2 (There is a bug in 2017.1 bootgen regarding xip_mode for A53)



Create a Vivado project for ZCU102, Run Block Automation on the Processing System IP and then customize the QSPI interface to be "Single".

Note: Execute-in-place is ONLY SUPPORTED for QSPI in Single Configuration.


Generate the Block Design, Create the HDl Wrapper and Export HW to XSDK.


Create an Empty Application. In this example we will call it "mpsoc_qspi_xip".

Import the attached files.

Note: XSDK will ask to overwrite the linker script: Press "Yes".


The files:

Use the following .bif file to generate the bootable BOOT.bin

//arch = zynqmp; split = false; format = BIN
[bootloader, destination_cpu = a53-0, xip_mode]../mpsoc_qspi_xip/Debug/mpsoc_qspi_xip.elf

bootgen -arch zynqmp -image output.bif -o BOOT.bin -w

Using the bootgen_utility command you can decode the generated BOOT.bin in text format and study how the flag "xip_mode" impacted the image header. 

For example:

(bootgen_utility -arch zynqmp -bin BOOT.bin

See (UG1137) for more details.

Note: 2017.1 bootgen has an issue where xip_mode generates the proper ARM Vector Table in the image ONLY for R5 and A53-32bit.

Below is a snippet for A53-64bit from the 2017.2 version:



文件名 文件大小 File Type 13 KB ZIP
AR# 69241
日期 06/20/2017
状态 Active
Type 综合文章