svn commit: r455629 - in head/sysutils/u-boot-sinovoip-bpi-m3: . files

Kyle Evans kevans at FreeBSD.org
Tue Dec 5 21:51:13 UTC 2017


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 at . 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 at FreeBSD.org
+MASTERDIR=	${.CURDIR}/../u-boot-master
 
-MAINTAINER=	jmcneill at 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 <bsd.port.pre.mk>
-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 <bsd.port.post.mk>
+.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


More information about the svn-ports-head mailing list