From owner-svn-ports-all@freebsd.org Tue Apr 3 20:46:58 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 80A22F7F07A; Tue, 3 Apr 2018 20:46:58 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 371A47312E; Tue, 3 Apr 2018 20:46:58 +0000 (UTC) (envelope-from db@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 mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 2D2CD1A26; Tue, 3 Apr 2018 20:46:58 +0000 (UTC) (envelope-from db@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w33KkvPc083273; Tue, 3 Apr 2018 20:46:57 GMT (envelope-from db@FreeBSD.org) Received: (from db@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w33Kkvtq083271; Tue, 3 Apr 2018 20:46:57 GMT (envelope-from db@FreeBSD.org) Message-Id: <201804032046.w33Kkvtq083271@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: db set sender to db@FreeBSD.org using -f From: Diane Bruce Date: Tue, 3 Apr 2018 20:46:57 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r466377 - in head/sysutils/u-boot-rpi3: . files X-SVN-Group: ports-head X-SVN-Commit-Author: db X-SVN-Commit-Paths: in head/sysutils/u-boot-rpi3: . files X-SVN-Commit-Revision: 466377 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, 03 Apr 2018 20:46:58 -0000 Author: db Date: Tue Apr 3 20:46:57 2018 New Revision: 466377 URL: https://svnweb.freebsd.org/changeset/ports/466377 Log: Convert to use u-boot-master as per Phabricator D14630 Reassign to uboot team Deleted: head/sysutils/u-boot-rpi3/distinfo head/sysutils/u-boot-rpi3/files/ Modified: head/sysutils/u-boot-rpi3/Makefile Modified: head/sysutils/u-boot-rpi3/Makefile ============================================================================== --- head/sysutils/u-boot-rpi3/Makefile Tue Apr 3 20:36:52 2018 (r466376) +++ head/sysutils/u-boot-rpi3/Makefile Tue Apr 3 20:46:57 2018 (r466377) @@ -1,75 +1,13 @@ # $FreeBSD$ -PORTNAME= u-boot -PORTVERSION= 2017.01 -PORTREVISION= 1 -CATEGORIES= sysutils -MASTER_SITES= ftp://ftp.denx.de/pub/u-boot/:uboot \ - LOCAL/db:bootfiles -PKGNAMESUFFIX= -rpi3 -DISTFILES= u-boot-${PORTVERSION}.tar.bz2:uboot \ - rpi3-boot-files-2016.05.tar.bz2:bootfiles \ - rpi3-psci-monitor-master.tgz:pscimon +MAINTAINER= uboot@FreeBSD.org +MASTERDIR= ${.CURDIR}/../u-boot-master -MAINTAINER= db@FreeBSD.org -COMMENT= Cross-build U-Boot loader for RPi3 +MODEL= rpi3 +BOARD_CONFIG= rpi_3_defconfig +FAMILY= rpi +UBOOT_ARCH= aarch64 -LICENSE= GPLv2 +DEPENDS= ${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware -BUILD_DEPENDS= aarch64-none-elf-gcc:devel/aarch64-none-elf-gcc - -USE_GITHUB= nodefault -GH_ACCOUNT= gonzoua:pscimon -GH_PROJECT= rpi3-psci-monitor:pscimon -GIT_TAG= 5782052 -GH_TAGNAME= ${GIT_TAG}:pscimon - -NO_ARCH= yes - -USES= gmake tar:bzip2 -SSP_UNSAFE= yes # cross-LD does not support -fstack-protector - -WRK_BOOTFILES= ${WRKDIR}/rpi3-boot-files-2016.05 -PSCI_MONITOR= rpi3-psci-monitor-${GIT_TAG} -PSCI_DIR= ${WRKDIR}/${PSCI_MONITOR} - -U_BOOT_DIR= share/u-boot/${PORTNAME}${PKGNAMESUFFIX} -PLIST_FILES= ${U_BOOT_DIR}/u-boot.bin \ - ${U_BOOT_DIR}/README \ - ${U_BOOT_DIR}/bootcode.bin \ - ${U_BOOT_DIR}/fixup.dat \ - ${U_BOOT_DIR}/fixup_cd.dat \ - ${U_BOOT_DIR}/fixup_db.dat \ - ${U_BOOT_DIR}/fixup_x.dat \ - ${U_BOOT_DIR}/start.elf \ - ${U_BOOT_DIR}/start_cd.elf \ - ${U_BOOT_DIR}/start_db.elf \ - ${U_BOOT_DIR}/start_x.elf \ - ${U_BOOT_DIR}/config.txt \ - ${U_BOOT_DIR}/LICENCE.broadcom \ - ${U_BOOT_DIR}/armstub8.bin -MAKE_ARGS+= ARCH=arm \ - CROSS_COMPILE=aarch64-none-elf- \ - CONFIG_EFI=y - -do-configure: - (cd ${WRKSRC}; ${GMAKE} rpi_3_defconfig) - -do-build: - (cd ${WRKSRC}; ${GMAKE} ${MAKE_ARGS}) - (cd ${PSCI_DIR}; ${MAKE}) - -# The output of the u-boot build process is u-boot.bin. Older firmware -# versions require a standard header, but the recent versions (our case) -# are capable of booting u-boot.bin directly. Also copy the entire -# contents of the bootfiles distribution (these are proprietary binary -# files required to boot). -# Also include the armstub8.bin needed to go SMP on RPI3 -do-install: - ${MKDIR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} - ${INSTALL_DATA} ${WRKSRC}/u-boot.bin ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/ - ${INSTALL_DATA} ${DESCR} ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/README - ${INSTALL_DATA} ${WRK_BOOTFILES}/* ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR} - ${INSTALL_DATA} ${PSCI_DIR}/pscimon.bin ${STAGEDIR}/${PREFIX}/${U_BOOT_DIR}/armstub8.bin - -.include +.include "${MASTERDIR}/Makefile"