From owner-svn-ports-all@freebsd.org Tue Dec 5 21:51:12 2017 Return-Path: Delivered-To: svn-ports-all@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 F0257E841BB; Tue, 5 Dec 2017 21:51:12 +0000 (UTC) (envelope-from kevans@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 CA1B274011; Tue, 5 Dec 2017 21:51:12 +0000 (UTC) (envelope-from kevans@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id vB5LpBhK029458; Tue, 5 Dec 2017 21:51:11 GMT (envelope-from kevans@FreeBSD.org) Received: (from kevans@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id vB5LpBmn029456; Tue, 5 Dec 2017 21:51:11 GMT (envelope-from kevans@FreeBSD.org) Message-Id: <201712052151.vB5LpBmn029456@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kevans set sender to kevans@FreeBSD.org using -f From: Kyle Evans Date: Tue, 5 Dec 2017 21:51:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r455629 - in head/sysutils/u-boot-sinovoip-bpi-m3: . files X-SVN-Group: ports-head X-SVN-Commit-Author: kevans X-SVN-Commit-Paths: in head/sysutils/u-boot-sinovoip-bpi-m3: . files X-SVN-Commit-Revision: 455629 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Dec 2017 21:51:13 -0000 Author: kevans (src committer) Date: Tue Dec 5 21:51:11 2017 New Revision: 455629 URL: https://svnweb.freebsd.org/changeset/ports/455629 Log: u-boot-sinovoip-bpi-m3: Update to u-boot-master Update to u-boot-master model, moved MAINTAINER to uboot@. This brings the version from 2016.05 (super old) to 2017.09 under the unified FreeBSD u-boot model. All of the patches previously here have been made redundant, either by upstream or by using our U-Boot repository with FreeBSD patches applied. Reviewed by: imp, manu Approved by: imp, jmcneill (maintainer) Differential Revision: https://reviews.freebsd.org/D13352 Deleted: head/sysutils/u-boot-sinovoip-bpi-m3/distinfo head/sysutils/u-boot-sinovoip-bpi-m3/files/ Modified: head/sysutils/u-boot-sinovoip-bpi-m3/Makefile head/sysutils/u-boot-sinovoip-bpi-m3/pkg-descr Modified: head/sysutils/u-boot-sinovoip-bpi-m3/Makefile ============================================================================== --- head/sysutils/u-boot-sinovoip-bpi-m3/Makefile Tue Dec 5 21:44:13 2017 (r455628) +++ head/sysutils/u-boot-sinovoip-bpi-m3/Makefile Tue Dec 5 21:51:11 2017 (r455629) @@ -1,51 +1,10 @@ # $FreeBSD$ -PORTNAME= u-boot -PORTVERSION= 2016.05 -CATEGORIES= sysutils -MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/ -PKGNAMESUFFIX?= -sinovoip-bpi-m3 +MAINTAINER= uboot@FreeBSD.org +MASTERDIR= ${.CURDIR}/../u-boot-master -MAINTAINER= jmcneill@FreeBSD.org -COMMENT= Cross-build U-Boot loader for Sinovoip Banana Pi M3 +MODEL= sinovoip-bpi-m3 +BOARD_CONFIG= Sinovoip_BPI_M3_defconfig +FAMILY= allwinner -LICENSE= GPLv2 - -BUILD_DEPENDS= arm-none-eabi-gcc:devel/arm-none-eabi-gcc - -USES= gmake tar:bzip2 -WRKSRC= ${WRKDIR}/u-boot-${DISTVERSION} - -.include -NO_ARCH= yes - -MODEL?= sinovoip-bpi-m3 -CONF_TARGET?= Sinovoip_BPI_M3_defconfig - -SSP_UNSAFE= yes # cross-LD does not support -fstack-protector - -U_BOOT_DIR= share/u-boot/${PORTNAME}${PKGNAMESUFFIX} -PLIST_FILES= ${U_BOOT_DIR}/u-boot.img \ - ${U_BOOT_DIR}/u-boot-sunxi-with-spl.bin \ - ${U_BOOT_DIR}/sunxi-spl.bin \ - ${U_BOOT_DIR}/README - -MAKE_ARGS+= ARCH=arm \ - CROSS_COMPILE=arm-none-eabi- - -post-patch: - @${REINPLACE_CMD} -e "s,%%MODEL%%,${MODEL}," \ - ${WRKSRC}/include/configs/sunxi-common.h - -do-configure: - (cd ${WRKSRC}; ${MAKE_CMD} ${CONF_TARGET}) - -do-install: - ${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} - ${INSTALL_DATA} ${WRKSRC}/spl/sunxi-spl.bin ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} - ${INSTALL_DATA} ${WRKSRC}/u-boot-sunxi-with-spl.bin \ - ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} - ${INSTALL_DATA} ${WRKSRC}/u-boot.img ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} - ${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README - -.include +.include "${MASTERDIR}/Makefile" Modified: head/sysutils/u-boot-sinovoip-bpi-m3/pkg-descr ============================================================================== --- head/sysutils/u-boot-sinovoip-bpi-m3/pkg-descr Tue Dec 5 21:44:13 2017 (r455628) +++ head/sysutils/u-boot-sinovoip-bpi-m3/pkg-descr Tue Dec 5 21:51:11 2017 (r455629) @@ -1,19 +1,19 @@ U-Boot loader for Banana Pi M3. -To install this bootloader, follow the instructions in - http://linux-sunxi.org/Bootable_SD_card#Bootloader +To install this bootloader on an sdcard just do : +dd if=/usr/local/share/u-boot/u-boot-sinovoip-bpi-m3/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 - using the fdtfile env variable. ubldr loads the DTB from /boot/dtb/ on + * 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 ELF ubldr from file ubldr on the FAT 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 Banana Pi M3, see +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