Index: head/sysutils/Makefile =================================================================== --- head/sysutils/Makefile +++ head/sysutils/Makefile @@ -1222,6 +1222,7 @@ SUBDIR += u-boot-rpi2 SUBDIR += u-boot-rpi3 SUBDIR += u-boot-sinovoip-bpi-m3 + SUBDIR += u-boot-sopine SUBDIR += u-boot-utilite SUBDIR += u-boot-wandboard SUBDIR += u-boot-zedboard Index: head/sysutils/u-boot-sopine/Makefile =================================================================== --- head/sysutils/u-boot-sopine/Makefile +++ head/sysutils/u-boot-sopine/Makefile @@ -0,0 +1,16 @@ +# $FreeBSD$ + +MAINTAINER= manu@FreeBSD.org +MASTERDIR= ${.CURDIR}/../u-boot-master + +MODEL= sopine +BOARD_CONFIG= sopine_baseboard_defconfig +FAMILY= allwinner64 + +BUILD_DEPENDS= ${LOCALBASE}/share/atf-allwinner/bl31.bin:sysutils/atf-allwinner +MAKE_ENV+= BL31=${LOCALBASE}/share/atf-allwinner/bl31.bin + +post-build: + ${CAT} ${WRKSRC}/spl/sunxi-spl.bin ${WRKSRC}/u-boot.itb > ${WRKSRC}/u-boot-sunxi-with-spl.bin + +.include "${MASTERDIR}/Makefile" Index: head/sysutils/u-boot-sopine/pkg-descr =================================================================== --- head/sysutils/u-boot-sopine/pkg-descr +++ head/sysutils/u-boot-sopine/pkg-descr @@ -0,0 +1,9 @@ +U-Boot loader and related files for the Sopine/Pine64-LTS. + +To install this bootloader on an sdcard just do: +dd if=/usr/local/share/u-boot/u-boot-pine64/u-boot-sunxi-with-spl.bin of=/path/to/sdcarddevice bs=1k seek=8 conv=sync + +For information about running FreeBSD on Allwinner boards, see + https://wiki.freebsd.org/FreeBSD/arm/Allwinner + +WWW: http://www.denx.de/wiki/U-Boot