diff -urN none/Makefile u-boot-zybo-z7/Makefile --- none/Makefile 1970-01-01 01:00:00.000000000 +0100 +++ u-boot-zybo-z7/Makefile 2020-08-01 07:01:41.743446000 +0200 @@ -0,0 +1,12 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../u-boot-master + +EXTRA_PATCHES= ${.CURDIR}/files + +FAMILY= zynq_7000 +MODEL= zybo-z7 +BOARD_CONFIG= xilinx_zynq_virt_defconfig +MAKE_ENV+= DEVICE_TREE=zynq-zybo-z7 + +.include "${MASTERDIR}/Makefile" diff -urN none/files/patch-scripts_Makefile.spl u-boot-zybo-z7/files/patch-scripts_Makefile.spl --- none/files/patch-scripts_Makefile.spl 1970-01-01 01:00:00.000000000 +0100 +++ u-boot-zybo-z7/files/patch-scripts_Makefile.spl 2020-01-09 07:41:46.846432000 +0100 @@ -0,0 +1,11 @@ +--- scripts/Makefile.spl.orig 2019-10-14 22:32:06 UTC ++++ scripts/Makefile.spl +@@ -200,7 +200,7 @@ MKIMAGEFLAGS_boot.bin = -T zynqmpimage -R $(srctree)/$ + endif + + $(obj)/$(SPL_BIN)-align.bin: $(obj)/$(SPL_BIN).bin +- @dd if=$< of=$@ conv=block,sync bs=4 2>/dev/null; ++ @dd if=$< of=$@ conv=sync bs=4 2>/dev/null; + + spl/boot.bin: $(obj)/$(SPL_BIN)-align.bin FORCE + $(call if_changed,mkimage) diff -urN none/files/uEnv.txt u-boot-zybo-z7/files/uEnv.txt --- none/files/uEnv.txt 1970-01-01 01:00:00.000000000 +0100 +++ u-boot-zybo-z7/files/uEnv.txt 2017-08-04 06:48:35.213098000 +0200 @@ -0,0 +1,4 @@ +bootfile=ubldr +loadaddr=0x02000000 +fdt_file=board.dtb +uenvcmd=echo Booting FreeBSD from SD Card: ; fatload mmc 0 ${loadaddr} ${bootfile} && bootelf ${loadaddr} diff -urN none/pkg-descr u-boot-zybo-z7/pkg-descr --- none/pkg-descr 1970-01-01 01:00:00.000000000 +0100 +++ u-boot-zybo-z7/pkg-descr 2020-07-25 09:20:49.688198000 +0200 @@ -0,0 +1,12 @@ +U-Boot loader for the Xilinx Zynq-based Zybo Z7 board from Digilent. + +To install this bootloader, copy the files in the share/u-boot/u-boot-zybo-z7 +directory to the first partition, formatted as FAT16 or FAT32, on an SD card. + +This version is patched so that: + * API features are enabled. + +For information about running FreeBSD on Xilinx Zynq SoCs, see +https://wiki.freebsd.org/FreeBSD/arm/Zedboard + +WWW: https://www.denx.de/wiki/U-Boot