Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 18 Aug 2016 17:46:06 +0000 (UTC)
From:      Pawel Pekala <pawel@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r420417 - in head/sysutils: . u-boot-a13-olinuxino
Message-ID:  <201608181746.u7IHk618086270@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: pawel
Date: Thu Aug 18 17:46:06 2016
New Revision: 420417
URL: https://svnweb.freebsd.org/changeset/ports/420417

Log:
  U-Boot loader for A13 Olinuxino.
  
  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:		211951
  Submitted by:	Emmanuel Vadot

Added:
  head/sysutils/u-boot-a13-olinuxino/
  head/sysutils/u-boot-a13-olinuxino/Makefile   (contents, props changed)
  head/sysutils/u-boot-a13-olinuxino/pkg-descr   (contents, props changed)
Modified:
  head/sysutils/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Thu Aug 18 17:42:15 2016	(r420416)
+++ head/sysutils/Makefile	Thu Aug 18 17:46:06 2016	(r420417)
@@ -1103,6 +1103,7 @@
     SUBDIR += tuptime
     SUBDIR += tw_cli
     SUBDIR += tzdialog
+    SUBDIR += u-boot-a13-olinuxino
     SUBDIR += u-boot-bananapi
     SUBDIR += u-boot-bananapim2
     SUBDIR += u-boot-beaglebone

Added: head/sysutils/u-boot-a13-olinuxino/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-a13-olinuxino/Makefile	Thu Aug 18 17:46:06 2016	(r420417)
@@ -0,0 +1,14 @@
+# $FreeBSD$
+
+PKGNAMESUFFIX=	-a13-olinuxino
+
+COMMENT=	Cross-build U-Boot loader for A13 Olinuxino
+
+LICENSE=	GPLv2
+
+MASTERDIR=	${.CURDIR}/../u-boot-olimex-a20-som-evb
+DESCR=		${.CURDIR}/pkg-descr
+MODEL=		sun5i-a13-olinuxino
+BOARD_CONFIG=	A13-OLinuXino_defconfig
+
+.include "${MASTERDIR}/Makefile"

Added: head/sysutils/u-boot-a13-olinuxino/pkg-descr
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-a13-olinuxino/pkg-descr	Thu Aug 18 17:46:06 2016	(r420417)
@@ -0,0 +1,19 @@
+U-Boot loader for A13 Olinuxino.
+
+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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608181746.u7IHk618086270>