aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2017-08-02 23:36:30 +0800
committerlinimon <linimon@FreeBSD.org>2017-08-02 23:36:30 +0800
commitc0d6a5b025ef7a5f55638bb818ad7d25effddab8 (patch)
treeabad81c4852ea8f5f181ae70f5c1b21ca7950857 /sysutils
parent8dd913011e02825450bd9b3b2b5c326a543bf4cc (diff)
downloadfreebsd-ports-gnome-c0d6a5b025ef7a5f55638bb818ad7d25effddab8.tar.gz
freebsd-ports-gnome-c0d6a5b025ef7a5f55638bb818ad7d25effddab8.tar.zst
freebsd-ports-gnome-c0d6a5b025ef7a5f55638bb818ad7d25effddab8.zip
Add slave port of u-boot-master for NanoPi Neo board.
PR: 220576 Submitted by: manu
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile1
-rw-r--r--sysutils/u-boot-nanopi-neo/Makefile10
-rw-r--r--sysutils/u-boot-nanopi-neo/pkg-descr16
3 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index fe99ccdfdd6c..e9ca43e98a13 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1183,6 +1183,7 @@
SUBDIR += u-boot-duovero
SUBDIR += u-boot-imx-serial-loader
SUBDIR += u-boot-master
+ SUBDIR += u-boot-nanopi-neo
SUBDIR += u-boot-olimex-a20-som-evb
SUBDIR += u-boot-olinuxino-lime
SUBDIR += u-boot-orangepi-one
diff --git a/sysutils/u-boot-nanopi-neo/Makefile b/sysutils/u-boot-nanopi-neo/Makefile
new file mode 100644
index 000000000000..d0acbd7d06b5
--- /dev/null
+++ b/sysutils/u-boot-nanopi-neo/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+MAINTAINER= manu@FreeBSD.org
+MASTERDIR= ${.CURDIR}/../u-boot-master
+
+MODEL= nanopi_neo
+BOARD_CONFIG= nanopi_neo_defconfig
+FAMILY= allwinner
+
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/u-boot-nanopi-neo/pkg-descr b/sysutils/u-boot-nanopi-neo/pkg-descr
new file mode 100644
index 000000000000..ec59666b0563
--- /dev/null
+++ b/sysutils/u-boot-nanopi-neo/pkg-descr
@@ -0,0 +1,16 @@
+U-Boot loader for NanoPi Neo.
+
+To install this bootloader, follow the instructions in
+ http://linux-sunxi.org/Bootable_SD_card#Bootloader
+
+This version is patched so that:
+ * ELF and API features are enabled.
+ * The distroboot command knows how to load FreeBSD loader(8)
+ * By default, it loads ubldr.bin (PIE) from file ubldr.bin on the FAT
+ partition to address 0x42000000, and launches it. If ubldr.bin is
+ not found, it falls back on ubldr
+
+For information about running FreeBSD on NanoPi Neo, see
+ https://wiki.freebsd.org/FreeBSD/arm/Allwinner
+
+For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot