From owner-svn-ports-head@freebsd.org Sun Jun 25 23:47:25 2017 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 C1293D9C9D2; Sun, 25 Jun 2017 23:47:25 +0000 (UTC) (envelope-from linimon@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 9C38381F83; Sun, 25 Jun 2017 23:47:25 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v5PNlOUh080910; Sun, 25 Jun 2017 23:47:24 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v5PNlO9l080907; Sun, 25 Jun 2017 23:47:24 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201706252347.v5PNlO9l080907@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Sun, 25 Jun 2017 23:47:24 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r444329 - in head/sysutils: . u-boot-orangepi-plus-2e 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.23 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: Sun, 25 Jun 2017 23:47:25 -0000 Author: linimon Date: Sun Jun 25 23:47:24 2017 New Revision: 444329 URL: https://svnweb.freebsd.org/changeset/ports/444329 Log: Add slave port for u-bootorangepi-plus2e ARM SoC board u-boot support. PR: 214729 Submitted by: vova@fbsd.ru Added: head/sysutils/u-boot-orangepi-plus-2e/ head/sysutils/u-boot-orangepi-plus-2e/Makefile (contents, props changed) head/sysutils/u-boot-orangepi-plus-2e/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Sun Jun 25 23:26:45 2017 (r444328) +++ head/sysutils/Makefile Sun Jun 25 23:47:24 2017 (r444329) @@ -1179,6 +1179,7 @@ SUBDIR += u-boot-olimex-a20-som-evb SUBDIR += u-boot-olinuxino-lime SUBDIR += u-boot-orangepi-one + SUBDIR += u-boot-orangepi-plus-2e SUBDIR += u-boot-pandaboard SUBDIR += u-boot-pcduino3 SUBDIR += u-boot-pine64 Added: head/sysutils/u-boot-orangepi-plus-2e/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-orangepi-plus-2e/Makefile Sun Jun 25 23:47:24 2017 (r444329) @@ -0,0 +1,16 @@ +# Created by: Jov +# $FreeBSD$ + +MAINTAINER= amutu@amutu.com +COMMENT= Cross-build U-Boot loader for OrangePi Plus 2E + +LICENSE= GPLv2 + +MASTERDIR= ${.CURDIR}/../u-boot-master +DESCR= ${.CURDIR}/pkg-descr + +MODEL= orangepi-plus-2e +BOARD_CONFIG= orangepi_plus2e_defconfig +FAMILY= allwinner + +.include "${MASTERDIR}/Makefile" Added: head/sysutils/u-boot-orangepi-plus-2e/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-orangepi-plus-2e/pkg-descr Sun Jun 25 23:47:24 2017 (r444329) @@ -0,0 +1,20 @@ +U-Boot loader for OrangePi Plus2E. + +To install this bootloader on an sdcard just do : +dd if=/usr/local/share/u-boot/u-boot-orangepi-plus-2e/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