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# 47023

Zynq EA - How do I boot from QSPI?

Description

There are three ways to boot from QSPI; one uses TFTP, and the other relies on FlashWriter or XMD.

Solution

Recommended Flow: FlashWriter

  • In SDK, click Xilinx Tools -> Program Flash
  • Select your boot.bin image with 0x0 offset
  • Click Program

For XMD Only (Command Line):

XMD%connect arm hw
XMD%source ps7_init.tcl
XMD%ps7_init
XMD%dow u-boot.elf
XMD%dow data boot.bin 0x8000
XMD%con

u-boot>sf probe 0
u-boot>sf erase 0 0x01000000
u-boot>sf write 0x8000 0 0x01000000

Assumes the size of boot.bin is less than 1Mb

For TFTP:

1) Modify your Local Area Connection Properties under Control Panel\Network and Internet\Network Connections.

Select Use the following IP address
Set IP address to 10.10.70.101
Set Subnet mask to 255.255.0.0

2) Copy boot.bin to a directory

3) Download the Tftpd64 by Ph. Jounin Note: http://tftpd32.jounin.net/tftpd32_download.html

4) Enable PXE compatibility mode under Settings/TFTP of your TFTP server

5) Set up your TFTP serverto point to this new directory at address 10.10.70.101.

6) Start XMD

XMD%connect arm hw
XMD%source ps7_init.tcl
XMD%ps7_init
XMD%dow u-boot.elf
XMD%con

u-boot>sf probe 0
u-boot>tftp 0x8000 boot.bin
u-boot>sf erase 0 0x100000
u-boot>sf write 0x8000 0 0x100000

Assumes the size of boot.bin is less than 1Mb

Linked Answer Records

Associated Answer Records

Answer Number Answer Title Version Found Version Resolved
50991 Zynq-7000 AP SoC - What devices are supported for configuration? N/A N/A
AR# 47023
Date Created 11/13/2012
Last Updated 12/15/2012
Status Active
Type General Article
Devices
  • Zynq-7000