svn commit: r453980 - in head/sysutils: . u-boot-sopine
Emmanuel Vadot
manu at FreeBSD.org
Sat Nov 11 17:08:51 UTC 2017
Author: manu (src committer)
Date: Sat Nov 11 17:08:49 2017
New Revision: 453980
URL: https://svnweb.freebsd.org/changeset/ports/453980
Log:
Add u-boot port for Sopine/Pine64-LTS
Reviewed by: imp (earlier version)
Approved by: imp
Differential Revision: https://reviews.freebsd.org/D13022
Added:
head/sysutils/u-boot-sopine/
head/sysutils/u-boot-sopine/Makefile (contents, props changed)
head/sysutils/u-boot-sopine/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Sat Nov 11 16:21:09 2017 (r453979)
+++ head/sysutils/Makefile Sat Nov 11 17:08:49 2017 (r453980)
@@ -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
Added: head/sysutils/u-boot-sopine/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-sopine/Makefile Sat Nov 11 17:08:49 2017 (r453980)
@@ -0,0 +1,16 @@
+# $FreeBSD$
+
+MAINTAINER= manu at 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"
Added: head/sysutils/u-boot-sopine/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-sopine/pkg-descr Sat Nov 11 17:08:49 2017 (r453980)
@@ -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
More information about the svn-ports-head
mailing list