Install Xilinx Vivado 2016.4 and Xilinx SDK 2016.4 with Ultrascale+ SoC device support selected.
Add Xilinx tools (including aarch64 toolchain) to path.
source /opt/Xilinx/Vivado/2016.4/settings64.sh
source /opt/Xilinx/SDK/2016.4/settings64.sh
git clone https://github.com/Xilinx/arm-trusted-firmware.git
cd arm-trusted-firmware
make CROSS_COMPILE=aarch64-linux-gnu- PLAT=zynqmp RESET_TO_BL31=1
file ./build/zynqmp/release/bl31/bl31.elf
First stage boot loader. Xilinx SDK 2016.4 generated. Uses hardware definition generated in oh/src/zcu102/fpga/zcu102
Power management unit firmware. Generated by Xilinx SDK 2016.4.
Used to convert FPGA bitstream to format that can be used by u-boot / Linux fpgamanager.
boot.bin image layout file.
FPGA bitstream with elink
git clone https://github.com/olajep/oh -b zcu102
cd oh/src/zcu102/fpga
make
file zcu102/system.bit
u-boot boot loader
git clone https://github.com/Xilinx/u-boot-xlnx.git
cd u-boot-xlnx
make CROSS_COMPILE=aarch64-linux-gnu- xilinx_zynqmp_zcu102_revB_defconfig
make CROSS_COMPILE=aarch64-linux-gnu-
Kernel image
git clone https://github.com/Xilinx/linux-xlnx.git
cd linux-xlnx
make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64 xilinx_zynqmp_zcu102_defconfig
make CROSS_COMPILE=aarch64-linux-gnu- ARCH=arm64
file ./arch/arm64/boot/Image ./arch/arm64/boot/dts/xilinx/zynqmp-zcu102-revB.dtb
Device tree. Generated when building kernel above. zynqmp-zcu102-revB.dtb renamed to system.dtb.
Custom environment variables and commands for u-boot. Loads 'system.bit.bin'
Name | Description |
---|---|
boot.bin | boot image |
system.bit.bin | u-boot compatible fpga bitstream |
Building:
make
Copy these files to the SD card BOOT partition.
boot.bin
uEnv.txt
system.bit.bin
Image
system.dtb
Instructions for getting started with zcu102.
-
Buy this board https://www.xilinx.com/products/boards-and-kits/ek-u1-zcu102-es2-g.html Part Number: EK-U1-ZCU102-ES2-G
-
Follow quick start instructions that comes with board.
-
Configure board to boot from SD card. Note that the manual is wrong. SW6 should be configured in '0xE' mode for Rev 1.0 boards. See sw6-config.jpg
-
Download Ubuntu SD card image from here:
http://www.wiki.xilinx.com/Zynq+UltraScalePlus+MPSoC+-+Ubuntu+Desktop+Step+by+Step+Guide -
Write image to SD card
-
Copy firmware files (installing firmware section) to the SD card BOOT partition.