There are two ways
- run scripts/build-u-boot-zynq-pynqz1.sh (easy)
- run this chapter step-by-step (annoying)
shell$ git clone git://git.denx.de/u-boot.git u-boot-zynq-pynqz1
shell$ cd u-boot-zynq-pynqz1
shell$ git checkout -b u-boot-2016.03-zynq-pynqz1 refs/tags/v2016.03
shell$ patch -p0 < ../files/u-boot-2016.03-zynq-pynqz1.diff
shell$ git add --update
shell$ git commit -m "patch for zynq-pynqz1"
shell$ cd u-boot-zynq-pynqz1
shell$ export ARCH=arm
shell$ export CROSS_COMPILE=arm-linux-gnueabihf-
shell$ make zynq_pynqz1_defconfig
shell$ make
shell$ cp spl/boot.bin ../boot/
shell$ cp u-boot.img ../boot/