This Repository provides a U-Boot Image for PYNQ-Z1.
- U-Boot v2016.03 (customized)
- Build for PYNQ-Z1
- Customized boot by uEnv.txt
- Customized boot by boot.scr
- Enable bootmenu
There are two ways
- run scripts/build-u-boot-2016.03-zynq-pynq-z1.sh (easy)
- run this chapter step-by-step (annoying)
shell$ git clone git://git.denx.de/u-boot.git u-boot-2016.03-zynq-pynq-z1
shell$ cd u-boot-2016.03-zynq-pynq-z1
shell$ git checkout -b u-boot-2016.03-zynq-pynq-z1 refs/tags/v2016.03
shell$ patch -p0 < ../files/u-boot-2016.03-zynq-pynq-z1.diff
shell$ git add --update
shell$ git add arch/arm/dts/zynq-pynqz1.dts
shell$ git add board/xilinx/zynq/pynqz1_hw_platform/*
shell$ git add configs/zynq_pynqz1_defconfig
shell$ git add include/configs/zynq_pynqz1.h
shell$ git commit -m "patch for zynq-pynq-z1"
shell$ git tag -a v2016.03-zynq-pynq-z1-1 -m "Release v2016.03-1 for PYNQ-Z1"
shell$ cd u-boot-2016.03-zynq-pynq-z1
shell$ export ARCH=arm
shell$ export CROSS_COMPILE=arm-linux-gnueabihf-
shell$ make zynq_pynqz1_defconfig
shell$ make
shell$ cp spl/boot.bin ../boot.bin
shell$ cp u-boot.img ../u-boot.img
shell$ cp u-boot ../u-boot.elf