From owner-svn-ports-head@freebsd.org Wed Aug 15 15:06:16 2018 Return-Path: Delivered-To: svn-ports-head@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 B0F87105B128; Wed, 15 Aug 2018 15:06:16 +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.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 67ACF915E9; Wed, 15 Aug 2018 15:06:16 +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 48CD9420C; Wed, 15 Aug 2018 15:06:16 +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 w7FF6GYa085246; Wed, 15 Aug 2018 15:06:16 GMT (envelope-from manu@FreeBSD.org) Received: (from manu@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w7FF6F4C085242; Wed, 15 Aug 2018 15:06:15 GMT (envelope-from manu@FreeBSD.org) Message-Id: <201808151506.w7FF6F4C085242@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: manu set sender to manu@FreeBSD.org using -f From: Emmanuel Vadot Date: Wed, 15 Aug 2018 15:06:15 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r477233 - in head/sysutils: . u-boot-rpi-0-w u-boot-rpi-0-w/files X-SVN-Group: ports-head X-SVN-Commit-Author: manu X-SVN-Commit-Paths: in head/sysutils: . u-boot-rpi-0-w u-boot-rpi-0-w/files X-SVN-Commit-Revision: 477233 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.27 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: Wed, 15 Aug 2018 15:06:16 -0000 Author: manu (src committer) Date: Wed Aug 15 15:06:15 2018 New Revision: 477233 URL: https://svnweb.freebsd.org/changeset/ports/477233 Log: sysutils/u-boot-rpi-0-w: Add u-boot ports While the RPI0 can use u-boot-rpi, the 0W needs a special configuration. Reviewed by: imp (previous version) Approved by: bapt (implicit) Differential Revision: https://reviews.freebsd.org/D16242 Added: head/sysutils/u-boot-rpi-0-w/ head/sysutils/u-boot-rpi-0-w/Makefile (contents, props changed) head/sysutils/u-boot-rpi-0-w/files/ head/sysutils/u-boot-rpi-0-w/files/rpi_0_w_fragment (contents, props changed) head/sysutils/u-boot-rpi-0-w/pkg-descr (contents, props changed) Modified: head/sysutils/Makefile Modified: head/sysutils/Makefile ============================================================================== --- head/sysutils/Makefile Wed Aug 15 14:59:54 2018 (r477232) +++ head/sysutils/Makefile Wed Aug 15 15:06:15 2018 (r477233) @@ -1337,6 +1337,7 @@ SUBDIR += u-boot-rpi SUBDIR += u-boot-rpi2 SUBDIR += u-boot-rpi3 + SUBDIR += u-boot-rpi-0-w SUBDIR += u-boot-sinovoip-bpi-m3 SUBDIR += u-boot-sopine SUBDIR += u-boot-tools Added: head/sysutils/u-boot-rpi-0-w/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-rpi-0-w/Makefile Wed Aug 15 15:06:15 2018 (r477233) @@ -0,0 +1,17 @@ +# $FreeBSD$ + +MASTERDIR= ${.CURDIR}/../u-boot-master + +PATCHFILES+= 937869/raw \ + 939129/raw + +MODEL= rpi-0-w +BOARD_CONFIG= rpi_0_w_defconfig +FAMILY= rpi + +DEPENDS= ${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware + +CONFIG_FRAGMENT= ${.CURDIR}/files/rpi_0_w_fragment +FRAGMENT_NAME= rpi_0_w_fragment + +.include "${MASTERDIR}/Makefile" Added: head/sysutils/u-boot-rpi-0-w/files/rpi_0_w_fragment ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-rpi-0-w/files/rpi_0_w_fragment Wed Aug 15 15:06:15 2018 (r477233) @@ -0,0 +1,3 @@ +CONFIG_OF_EMBED=n +CONFIG_OF_BOARD=y +CONFIG_API=y Added: head/sysutils/u-boot-rpi-0-w/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/sysutils/u-boot-rpi-0-w/pkg-descr Wed Aug 15 15:06:15 2018 (r477233) @@ -0,0 +1,15 @@ +U-Boot loader for Raspberry Pi + +To install this bootloader, copy u-boot.bin in the share/u-boot/u-boot-rpi-0-w +directory to the first partition, formatted as FAT16 or FAT32, on an SD card. +You will also need the firmware files and configs from the rpi-firmware package. + +This version is patched so that: + * API features are enabled. + * U-Boot and FreeBSD kernel are using rpi-firmware DTBs + * A boot.scr (U-Boot script) that loads ubldr.bin and execute it is included + +For information about running FreeBSD on RaspberryPi, see +https://wiki.freebsd.org/FreeBSD/arm/Raspberry%20Pi + +WWW: http://www.denx.de/wiki/U-Boot