From owner-svn-ports-head@freebsd.org Thu Aug 18 17:46:07 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BDEC3BBE83B; Thu, 18 Aug 2016 17:46:07 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 94EA313B8; Thu, 18 Aug 2016 17:46:07 +0000 (UTC) (envelope-from pawel@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7IHk6de086273; Thu, 18 Aug 2016 17:46:06 GMT (envelope-from pawel@FreeBSD.org) Received: (from pawel@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7IHk618086270; Thu, 18 Aug 2016 17:46:06 GMT (envelope-from pawel@FreeBSD.org) Message-Id: <201608181746.u7IHk618086270@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: pawel set sender to pawel@FreeBSD.org using -f From: Pawel Pekala Date: Thu, 18 Aug 2016 17:46:06 +0000 (UTC) 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 X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Aug 2016 17:46:07 -0000 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