svn commit: r418447 - in head/sysutils: . u-boot-orangepi-one
Brad Davis
brd at FreeBSD.org
Tue Jul 12 20:22:18 UTC 2016
Author: brd
Date: Tue Jul 12 20:22:16 2016
New Revision: 418447
URL: https://svnweb.freebsd.org/changeset/ports/418447
Log:
Add sysutils/u-boot-orangepi-one
PR: 211043
Submitted by: manu
Approved by: bdrewery (implicit)
Added:
head/sysutils/u-boot-orangepi-one/
head/sysutils/u-boot-orangepi-one/Makefile (contents, props changed)
head/sysutils/u-boot-orangepi-one/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Tue Jul 12 19:57:47 2016 (r418446)
+++ head/sysutils/Makefile Tue Jul 12 20:22:16 2016 (r418447)
@@ -1094,6 +1094,7 @@
SUBDIR += u-boot-cubox-hummingboard
SUBDIR += u-boot-duovero
SUBDIR += u-boot-olimex-a20-som-evb
+ SUBDIR += u-boot-orangepi-one
SUBDIR += u-boot-pandaboard
SUBDIR += u-boot-pine64
SUBDIR += u-boot-rpi
Added: head/sysutils/u-boot-orangepi-one/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-orangepi-one/Makefile Tue Jul 12 20:22:16 2016 (r418447)
@@ -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"
Added: head/sysutils/u-boot-orangepi-one/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-orangepi-one/pkg-descr Tue Jul 12 20:22:16 2016 (r418447)
@@ -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
More information about the svn-ports-all
mailing list