From owner-svn-ports-head@freebsd.org Tue Nov 24 20:16:00 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 0C1BE468333; Tue, 24 Nov 2020 20:16:00 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4CgZz36PBrz58qb; Tue, 24 Nov 2020 20:15:59 +0000 (UTC) (envelope-from manu@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 B154024C24; Tue, 24 Nov 2020 20:15:59 +0000 (UTC) (envelope-from manu@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 0AOKFxxu009796; Tue, 24 Nov 2020 20:15:59 GMT (envelope-from manu@FreeBSD.org) Received: (from manu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 0AOKFwYj009791; Tue, 24 Nov 2020 20:15:58 GMT (envelope-from manu@FreeBSD.org) Message-Id: <202011242015.0AOKFwYj009791@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: manu set sender to manu@FreeBSD.org using -f From: Emmanuel Vadot Date: Tue, 24 Nov 2020 20:15:58 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r556182 - in head/sysutils: . u-boot-master u-boot-pine-h64 X-SVN-Group: ports-head X-SVN-Commit-Author: manu X-SVN-Commit-Paths: in head/sysutils: . u-boot-master u-boot-pine-h64 X-SVN-Commit-Revision: 556182 X-SVN-Commit-Repository: ports 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.34 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: Tue, 24 Nov 2020 20:16:00 -0000 Author: manu Date: Tue Nov 24 20:15:58 2020 New Revision: 556182 URL: https://svnweb.freebsd.org/changeset/ports/556182 Log: sysutils/u-boot-pine-h64: Add new port U-boot variant for the Pine64 H64 board. Added: head/sysutils/u-boot-pine-h64/ head/sysutils/u-boot-pine-h64/Makefile (contents, props changed) head/sysutils/u-boot-pine-h64/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile head/sysutils/u-boot-master/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Tue Nov 24 20:14:24 2020 (r556181) +++ head/sysutils/Makefile Tue Nov 24 20:15:58 2020 (r556182) @@ -1379,6 +1379,7 @@ SUBDIR += u-boot-orangepi-zero SUBDIR += u-boot-pandaboard SUBDIR += u-boot-pcduino3 + SUBDIR += u-boot-pine-h64 SUBDIR += u-boot-pine64 SUBDIR += u-boot-pine64-lts SUBDIR += u-boot-pinebook Modified: head/sysutils/u-boot-master/Makefile ============================================================================== --- head/sysutils/u-boot-master/Makefile Tue Nov 24 20:14:24 2020 (r556181) +++ head/sysutils/u-boot-master/Makefile Tue Nov 24 20:15:58 2020 (r556182) @@ -151,8 +151,13 @@ UBOOT_MOVE=${UBOOT_MOVE_${FAMILY:tu}} # Per family dependancies .if defined(FAMILY) && ${FAMILY} == allwinner64 +.if defined(SUBFAMILY) && ${SUBFAMILY} == h6 +BUILD_DEPENDS+= ${LOCALBASE}/share/atf-sun50i_h6/bl31.bin:sysutils/atf-sun50i_h6 +MAKE_ENV+= BL31=${LOCALBASE}/share/atf-sun50i_h6/bl31.bin +.else BUILD_DEPENDS+= ${LOCALBASE}/share/atf-sun50i_a64/bl31.bin:sysutils/atf-sun50i_a64 MAKE_ENV+= BL31=${LOCALBASE}/share/atf-sun50i_a64/bl31.bin +.endif .endif .if defined(FAMILY) && ${FAMILY} == rk3328 Added: head/sysutils/u-boot-pine-h64/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-pine-h64/Makefile Tue Nov 24 20:15:58 2020 (r556182) @@ -0,0 +1,10 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../u-boot-master + +MODEL= pine-h64 +BOARD_CONFIG= pine_h64_defconfig +FAMILY= allwinner64 +SUBFAMILY= h6 + +.include "${MASTERDIR}/Makefile" Added: head/sysutils/u-boot-pine-h64/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-pine-h64/pkg-descr Tue Nov 24 20:15:58 2020 (r556182) @@ -0,0 +1,9 @@ +U-Boot loader and related files for the Pine H64 + +To install this bootloader on an sdcard just do: +dd if=/usr/local/share/u-boot/u-boot-pine-h64/u-boot-sunxi-with-spl.bin of=/path/to/sdcarddevice bs=128k seek=1 conv=sync + +For information about running FreeBSD on Allwinner boards, see + https://wiki.freebsd.org/FreeBSD/arm/Allwinner + +WWW: https://www.denx.de/wiki/U-Boot