svn commit: r556182 - in head/sysutils: . u-boot-master u-boot-pine-h64
Emmanuel Vadot
manu at FreeBSD.org
Tue Nov 24 20:16:00 UTC 2020
Author: manu
Date: Tue Nov 24 20:15:58 2020
New Revision: 556182
URL: https://svnweb.freebsd.org/changeset/ports/556182
Log:
sysutils/u-boot-pine-h64: Add new port
U-boot variant for the Pine64 H64 board.
Added:
head/sysutils/u-boot-pine-h64/
head/sysutils/u-boot-pine-h64/Makefile (contents, props changed)
head/sysutils/u-boot-pine-h64/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
head/sysutils/u-boot-master/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Tue Nov 24 20:14:24 2020 (r556181)
+++ head/sysutils/Makefile Tue Nov 24 20:15:58 2020 (r556182)
@@ -1379,6 +1379,7 @@
SUBDIR += u-boot-orangepi-zero
SUBDIR += u-boot-pandaboard
SUBDIR += u-boot-pcduino3
+ SUBDIR += u-boot-pine-h64
SUBDIR += u-boot-pine64
SUBDIR += u-boot-pine64-lts
SUBDIR += u-boot-pinebook
Modified: head/sysutils/u-boot-master/Makefile
==============================================================================
--- head/sysutils/u-boot-master/Makefile Tue Nov 24 20:14:24 2020 (r556181)
+++ head/sysutils/u-boot-master/Makefile Tue Nov 24 20:15:58 2020 (r556182)
@@ -151,8 +151,13 @@ UBOOT_MOVE=${UBOOT_MOVE_${FAMILY:tu}}
# Per family dependancies
.if defined(FAMILY) && ${FAMILY} == allwinner64
+.if defined(SUBFAMILY) && ${SUBFAMILY} == h6
+BUILD_DEPENDS+= ${LOCALBASE}/share/atf-sun50i_h6/bl31.bin:sysutils/atf-sun50i_h6
+MAKE_ENV+= BL31=${LOCALBASE}/share/atf-sun50i_h6/bl31.bin
+.else
BUILD_DEPENDS+= ${LOCALBASE}/share/atf-sun50i_a64/bl31.bin:sysutils/atf-sun50i_a64
MAKE_ENV+= BL31=${LOCALBASE}/share/atf-sun50i_a64/bl31.bin
+.endif
.endif
.if defined(FAMILY) && ${FAMILY} == rk3328
Added: head/sysutils/u-boot-pine-h64/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-pine-h64/Makefile Tue Nov 24 20:15:58 2020 (r556182)
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+MASTERDIR= ${.CURDIR}/../u-boot-master
+
+MODEL= pine-h64
+BOARD_CONFIG= pine_h64_defconfig
+FAMILY= allwinner64
+SUBFAMILY= h6
+
+.include "${MASTERDIR}/Makefile"
Added: head/sysutils/u-boot-pine-h64/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-pine-h64/pkg-descr Tue Nov 24 20:15:58 2020 (r556182)
@@ -0,0 +1,9 @@
+U-Boot loader and related files for the Pine H64
+
+To install this bootloader on an sdcard just do:
+dd if=/usr/local/share/u-boot/u-boot-pine-h64/u-boot-sunxi-with-spl.bin of=/path/to/sdcarddevice bs=128k seek=1 conv=sync
+
+For information about running FreeBSD on Allwinner boards, see
+ https://wiki.freebsd.org/FreeBSD/arm/Allwinner
+
+WWW: https://www.denx.de/wiki/U-Boot
More information about the svn-ports-all
mailing list