ARCH=armhf SERIALCON='ttyPS0' LINUXFAMILY=zynq KERNELSOURCE='https://github.com/Xilinx/linux-xlnx.git' KERNELBRANCH='tag:xilinx-v2020.2' KERNELDIR='linux-xlnx' KERNELPATCHDIR='zynq-'$BRANCH BOOTSOURCE='https://github.com/Xilinx/u-boot-xlnx.git' BOOTBRANCH='tag:xilinx-v2020.2' BOOTCONFIG="xilinx_zynq_virt_defconfig" BOOTDIR='u-boot-xlnx' BOOTSCRIPT='boot-zynq.cmd:boot.cmd' BOOTENV_FILE='zynq.txt' UBOOT_TARGET_MAP=';;u-boot.elf' family_tweaks() { true } uboot_custom_postprocess() { # Precompiled first stage bootloader (fetch_from_repo "https://github.com/tparys/xilinx-fsbl-blobs" "xilinx-fsbl" "branch:master") cp ${SRC}/cache/sources/xilinx-fsbl/zynq/fsbl.elf . # Compile Xilinx bootgen to make boot image compile_xilinx_bootgen # Create a bootgen build instruction file cat > build.bif < README < "$uboottempdir/${uboot_name}/DEBIAN/conffiles" } write_uboot_platform() { : }