In this article, we shall be discussing how to program the QSPI from the U-boot running on the Cortex A9 on Xilinx ZC702 Development board. Here, we will show how to build the uboot executable, and how
to configure the Zynq Processing Sub-system (PS), place the Image into DDR and boot uboot via XSCT in JTAG. Finally, how to use the uboot commands to program the image from DDR into QSPIgit clone https://git.kernel.org/pub/scm/utils/dtc/dtc.git cd dtc make Add this to your PATH. For example export PATH=$PATH:/<add the path here>/dtc/dtc To test try dtc -help. cd .. git clone git://github.com/Xilinx/u-boot-xlnx.git cd u-boot-xlnx export CROSS_COMPILE=arm-xilinx-linux-gnueabi- make zynq_zc702_config make |
connect source ps7_init.tcl targets -set -filter {name =~ "APU"} ps7_init ps7_post_config targets -set -filter {name =~ "ARM Cortex-A9 MPCore #0"} dow -data BOOT.BIN 0x08000000 dow u-boot.elf con |
sf probe 0 0 0 sf erase <image file size in bytes (hex)> sf write 0x08000000 <offset in hex> <image file size in bytes (hex)> |