UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

AR# 54825

Zynq-7000 AP SoC - Non-Secure Boot and Configuration

Description

Chapter 6 - "Boot and Configuration" in the Zynq-7000 All Programmable SoC Technical Reference Manual covers the non-secure boot process.
http://www.xilinx.com/support/documentation/zynq-7000_user_guides.htm

Solution

Booting Bare Metal

Single Core Boot and Configuration

The section 3.2 "Standalone Application Software for the Design" of the Zynq-7000 All Programmable SoC: Concepts, Tools and Techniques guide, explains the standalone application development on Zynq-7000 AP SoC using Xilinx SDK:
http://www.xilinx.com/support/documentation/zynq-7000_user_guides.htm

Note: Zynq-7000 All Programmable SoC: Concepts, Tools and Techniques guide is tied to tool releases. Use the version that is applicable to the tool release being used.

The boot process for standalone application is at:
http://wiki.xilinx.com/zc702-boot-from-flash

AMP: Linux/Bare Metal Boot

XAPP1078 describes running Linux and Bare-metal in an AMP configuration on Zynq-7000 AP SoC. It is located at following URL:
http://www.xilinx.com/support/documentation/application_notes/xapp1078-amp-linux-bare-metal.pdf

Partial Reconfiguration

The application Note XAPP1159 titled Partial Reconfiguration of a Hardware Accelerator on Zynq-7000 All Programmable SoC Device covers partial configuration in Bare Metal environment.
http://www.xilinx.com/support/documentation/zynq-7000_application_notes.htm

Booting Linux

The wiki has information on Linux boot process, generating a bootable image and programming it to Quad-SPI device. The wiki also has information on how to build the kernel and ramdisk.

Building the Linux Kernel:
http://wiki.xilinx.com/zynq-linux

Building Root File-system:
http://wiki.xilinx.com/zynq-rootfs

A step-by-step detailed process on booting and debugging a Linux application is covered in Chapter 5 - "Linux Booting and Application Debugging Using SDK" of the Zynq-7000 All Programmable SoC: Concepts, Tools and Techniques guide.
http://www.xilinx.com/support/documentation/zynq-7000_user_guides.htm

Note: Zynq-7000 All Programmable SoC: Concepts, Tools and Techniques guide is tied to tool releases. Use the version that is applicable to the tool release being used.

Prebuilt bootable Linux images are released on the Xilinx wiki along with our software tools. You can download these images from:
http://wiki.xilinx.com/zynq-release-14-x

How to download the device tree generator scripts files and how to use it with SDK is explained on the Xilinx wiki page at the link:
http://wiki.xilinx.com/device-tree-generator

Using U-Boot

The Xilinx wiki page has information on how to build U-boot and how to use U-boot to program QSPI:
http://wiki.xilinx.com/zynq-uboot#toc10

A step-by-step approach on building U-boot and making a U-boot wrapped Linux image (uImage) is explained in the Zynq-7000 All Programmable SoC: Concepts, Tools and Techniques guide:
http://www.xilinx.com/support/documentation/zynq-7000_user_guides.htm

Note: Zynq-7000 All Programmable SoC: Concepts, Tools and Techniques guide is tied to tool releases. Use the version that is applicable to the tool release being used.

AMP: Linux/Free RTOS Boot

Information about bringing up Linux/Free RTOS AMP and running a demo application on ZC702 is available at following URL:
http://www.xilinx.com/publications/products/petalinux/petalinux-zynq-amp-guide.pdf

Partial Reconfiguration

The Partial Reconfiguration of a Hardware Accelerator on Zynq-7000 All Programmable SoC Device application note (XAPP1159) covers partial configuration in Linux environment. It also has a reference design with command line Linux and Qt GUI Linux:
http://www.xilinx.com/support/documentation/zynq-7000_application_notes.htm

2nd  (SSBL) and subsequent Stage Booting

2nd and subsequent boot stages are completely under user control. Chapter 3 - "Boot and Configuration" of the Zynq-7000 All Programmable SoC Software Developers Guide provides information about 2nd and subsequent boot stages:
http://www.xilinx.com/support/documentation/zynq-7000_user_guides.htm

Linked Answer Records

Master Answer Records

Answer Number Answer Title Version Found Version Resolved
54760 Zynq-7000 AP SoC - Booting a Zynq-7000 SoC Device N/A N/A
AR# 54825
Date Created 03/08/2013
Last Updated 03/26/2013
Status Active
Type General Article
Devices
  • Zynq-7000