svn commit: r444326 - in head/sysutils: . u-boot-chip
Mark Linimon
linimon at FreeBSD.org
Sun Jun 25 22:51:25 UTC 2017
Author: linimon
Date: Sun Jun 25 22:51:23 2017
New Revision: 444326
URL: https://svnweb.freebsd.org/changeset/ports/444326
Log:
Add u-boot-chip, uboot port customized for the CHIP $9 computer.
PR: 213251
Submitted by: manu
Added:
head/sysutils/u-boot-chip/
head/sysutils/u-boot-chip/Makefile (contents, props changed)
head/sysutils/u-boot-chip/pkg-descr (contents, props changed)
Modified:
head/sysutils/Makefile
Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile Sun Jun 25 21:32:39 2017 (r444325)
+++ head/sysutils/Makefile Sun Jun 25 22:51:23 2017 (r444326)
@@ -1169,6 +1169,7 @@
SUBDIR += u-boot-bananapi
SUBDIR += u-boot-bananapim2
SUBDIR += u-boot-beaglebone
+ SUBDIR += u-boot-chip
SUBDIR += u-boot-cubieboard
SUBDIR += u-boot-cubieboard2
SUBDIR += u-boot-cubox-hummingboard
Added: head/sysutils/u-boot-chip/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-chip/Makefile Sun Jun 25 22:51:23 2017 (r444326)
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX= -chip
+
+COMMENT= Cross-build U-Boot loader for NextThingCo CHIP
+
+LICENSE= GPLv2
+
+MASTERDIR= ${.CURDIR}/../u-boot-olimex-a20-som-evb
+DESCR= ${.CURDIR}/pkg-descr
+MODEL= sun5i-r8-chip
+BOARD_CONFIG= CHIP_defconfig
+
+.include "${MASTERDIR}/Makefile"
Added: head/sysutils/u-boot-chip/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/sysutils/u-boot-chip/pkg-descr Sun Jun 25 22:51:23 2017 (r444326)
@@ -0,0 +1,19 @@
+U-Boot loader for NextThingCo CHIP.
+
+To install this bootloader on an sdcard just do :
+dd if=/usr/local/share/u-boot/u-boot-chip/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