aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorlinimon <linimon@FreeBSD.org>2017-08-03 02:16:52 +0800
committerlinimon <linimon@FreeBSD.org>2017-08-03 02:16:52 +0800
commit398421a56f34c63e88b915b708819308bf2a08c2 (patch)
tree8d63777417948418391873bc81fb11fbae93ec95 /sysutils
parentc3a24fc68057707182ed5ee89df47ed044106e34 (diff)
downloadfreebsd-ports-gnome-398421a56f34c63e88b915b708819308bf2a08c2.tar.gz
freebsd-ports-gnome-398421a56f34c63e88b915b708819308bf2a08c2.tar.zst
freebsd-ports-gnome-398421a56f34c63e88b915b708819308bf2a08c2.zip
Add U-Boot ports for nanopi-m1plus and nanopi-neo-air.
PR: 221180, 221181 Submitted by: manu
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/Makefile2
-rw-r--r--sysutils/u-boot-nanopi-m1plus/Makefile10
-rw-r--r--sysutils/u-boot-nanopi-m1plus/pkg-descr16
-rw-r--r--sysutils/u-boot-nanopi-neo-air/Makefile10
-rw-r--r--sysutils/u-boot-nanopi-neo-air/pkg-descr16
5 files changed, 54 insertions, 0 deletions
diff --git a/sysutils/Makefile b/sysutils/Makefile
index e9ca43e98a13..79a5adc1848e 100644
--- a/sysutils/Makefile
+++ b/sysutils/Makefile
@@ -1183,7 +1183,9 @@
SUBDIR += u-boot-duovero
SUBDIR += u-boot-imx-serial-loader
SUBDIR += u-boot-master
+ SUBDIR += u-boot-nanopi-m1plus
SUBDIR += u-boot-nanopi-neo
+ SUBDIR += u-boot-nanopi-neo-air
SUBDIR += u-boot-olimex-a20-som-evb
SUBDIR += u-boot-olinuxino-lime
SUBDIR += u-boot-orangepi-one
diff --git a/sysutils/u-boot-nanopi-m1plus/Makefile b/sysutils/u-boot-nanopi-m1plus/Makefile
new file mode 100644
index 000000000000..58c09935153a
--- /dev/null
+++ b/sysutils/u-boot-nanopi-m1plus/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+MAINTAINER= manuFreeBSD.org
+MASTERDIR= ${.CURDIR}/../u-boot-master
+
+MODEL= nanopi_m1plus
+BOARD_CONFIG= nanopi_m1_plus_defconfig
+FAMILY= allwinner
+
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/u-boot-nanopi-m1plus/pkg-descr b/sysutils/u-boot-nanopi-m1plus/pkg-descr
new file mode 100644
index 000000000000..7e0f3dadb074
--- /dev/null
+++ b/sysutils/u-boot-nanopi-m1plus/pkg-descr
@@ -0,0 +1,16 @@
+U-Boot loader for NanoPi M1 Plus.
+
+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
diff --git a/sysutils/u-boot-nanopi-neo-air/Makefile b/sysutils/u-boot-nanopi-neo-air/Makefile
new file mode 100644
index 000000000000..4e8795c7af2c
--- /dev/null
+++ b/sysutils/u-boot-nanopi-neo-air/Makefile
@@ -0,0 +1,10 @@
+# $FreeBSD$
+
+MAINTAINER= manuFreeBSD.org
+MASTERDIR= ${.CURDIR}/../u-boot-master
+
+MODEL= nanopi_neo_air
+BOARD_CONFIG= nanopi_neo_air_defconfig
+FAMILY= allwinner
+
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/u-boot-nanopi-neo-air/pkg-descr b/sysutils/u-boot-nanopi-neo-air/pkg-descr
new file mode 100644
index 000000000000..e1422cdc5dd9
--- /dev/null
+++ b/sysutils/u-boot-nanopi-neo-air/pkg-descr
@@ -0,0 +1,16 @@
+U-Boot loader for NanoPi Neo Air.
+
+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