aboutsummaryrefslogtreecommitdiff
path: root/sysutils/u-boot-orangepi-one
diff options
context:
space:
mode:
authorBrad Davis <brd@FreeBSD.org>2016-07-12 20:22:16 +0000
committerBrad Davis <brd@FreeBSD.org>2016-07-12 20:22:16 +0000
commit71d6753c35fed1b2f93ce562a520bea387eb23dc (patch)
tree836129ec4b0f0f62eec483d082406f6964f50fb6 /sysutils/u-boot-orangepi-one
parent62f7ccb4e7f04f767a0e8a0996f866bff784a230 (diff)
downloadports-71d6753c35fed1b2f93ce562a520bea387eb23dc.tar.gz
ports-71d6753c35fed1b2f93ce562a520bea387eb23dc.zip
Add sysutils/u-boot-orangepi-one
PR: 211043 Submitted by: manu Approved by: bdrewery (implicit)
Notes
Notes: svn path=/head/; revision=418447
Diffstat (limited to 'sysutils/u-boot-orangepi-one')
-rw-r--r--sysutils/u-boot-orangepi-one/Makefile14
-rw-r--r--sysutils/u-boot-orangepi-one/pkg-descr19
2 files changed, 33 insertions, 0 deletions
diff --git a/sysutils/u-boot-orangepi-one/Makefile b/sysutils/u-boot-orangepi-one/Makefile
new file mode 100644
index 000000000000..7a3c8fc7c33d
--- /dev/null
+++ b/sysutils/u-boot-orangepi-one/Makefile
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX= -${MODEL}
+
+COMMENT= Cross-build U-Boot loader for OrangePi One
+
+LICENSE= GPLv2
+
+MASTERDIR= ${.CURDIR}/../u-boot-olimex-a20-som-evb
+DESCR= ${.CURDIR}/pkg-descr
+MODEL= orangepi-one
+BOARD_CONFIG= orangepi_one_defconfig
+
+.include "${MASTERDIR}/Makefile"
diff --git a/sysutils/u-boot-orangepi-one/pkg-descr b/sysutils/u-boot-orangepi-one/pkg-descr
new file mode 100644
index 000000000000..58931e6fbddb
--- /dev/null
+++ b/sysutils/u-boot-orangepi-one/pkg-descr
@@ -0,0 +1,19 @@
+U-Boot loader for OrangePi One.
+
+To install this bootloader on an sdcard just do :
+dd if=/usr/local/share/u-boot/u-boot-boardname/u-boot-sunxi-with-spl.bin of=/path/to/sdcarddevice bs=1k seek=8 conv=notrunc,sync
+
+This version is patched so that:
+ * ELF and API features are enabled.
+ * The default environment is trimmed to just what's needed to boot.
+ * The saveenv command writes to the file u-boot.env on the FAT partition.
+ * The DTB file name is chosen based on the board model and passed to ubldr.bin
+ using the fdtfile env variable. ubldr.bin loads the DTB from /boot/dtb/ on
+ the FreeBSD partition.
+ * By default, it loads PIE ubldr.bin from file ubldr.bin on the FAT partition
+ to address 0x42000000, and launches it.
+
+For information about running FreeBSD on Allwinner boards, see
+ https://wiki.freebsd.org/FreeBSD/arm/Allwinner
+
+For general information about U-Boot see WWW: http://www.denx.de/wiki/U-Boot