svn commit: r420415 - in head/sysutils: . u-boot-olinuxino-lime
Pawel Pekala
pawel at FreeBSD.org
Thu Aug 18 17:23:01 UTC 2016
Author: pawel
Date: Thu Aug 18 17:23:00 2016
New Revision: 420415
URL: https://svnweb.freebsd.org/changeset/ports/420415
Log:
U-Boot loader for Olinuxino Lime.
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
PR: 211950
Submitted by: Emmanuel Vadot
Added:
head/sysutils/u-boot-olinuxino-lime/
head/sysutils/u-boot-olinuxino-lime/Makefile (contents, props changed)
head/sysutils/u-boot-olinuxino-lime/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Thu Aug 18 17:03:01 2016 (r420414)
+++ head/sysutils/Makefile Thu Aug 18 17:23:00 2016 (r420415)
@@ -1111,6 +1111,7 @@
SUBDIR += u-boot-cubox-hummingboard
SUBDIR += u-boot-duovero
SUBDIR += u-boot-olimex-a20-som-evb
+ SUBDIR += u-boot-olinuxino-lime
SUBDIR += u-boot-orangepi-one
SUBDIR += u-boot-pandaboard
SUBDIR += u-boot-pine64
Added: head/sysutils/u-boot-olinuxino-lime/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-olinuxino-lime/Makefile Thu Aug 18 17:23:00 2016 (r420415)
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX= -${MODEL}
+
+COMMENT= Cross-build U-Boot loader for Olinuxino Lime
+
+LICENSE= GPLv2
+
+MASTERDIR= ${.CURDIR}/../u-boot-olimex-a20-som-evb
+DESCR= ${.CURDIR}/pkg-descr
+MODEL= olinuxino-lime
+BOARD_CONFIG= A10-OLinuXino-Lime_defconfig
+
+.include "${MASTERDIR}/Makefile"
Added: head/sysutils/u-boot-olinuxino-lime/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-olinuxino-lime/pkg-descr Thu Aug 18 17:23:00 2016 (r420415)
@@ -0,0 +1,19 @@
+U-Boot loader for Olinuxino Lime.
+
+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