Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 May 2020 01:27:17 +0000 (UTC)
From:      Brad Davis <brd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r536829 - in head/sysutils: . u-boot-rpi3 u-boot-rpi3-32
Message-ID:  <202005290127.04T1RHsM017731@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: brd (src,doc committer)
Date: Fri May 29 01:27:16 2020
New Revision: 536829
URL: https://svnweb.freebsd.org/changeset/ports/536829

Log:
  Add sysutils/u-boot-rpi3-32 to build a 32-bit version of u-boot
  
  This is useful for using the camera hardware, as
  misc/raspberrypi-userland does not support aarch64.
  
  Approved by:	imp, manu
  Differential Revision:	https://reviews.freebsd.org/D21603

Added:
  head/sysutils/u-boot-rpi3-32/
  head/sysutils/u-boot-rpi3-32/Makefile   (contents, props changed)
  head/sysutils/u-boot-rpi3-32/pkg-descr
     - copied unchanged from r536828, head/sysutils/u-boot-rpi3/pkg-descr
Modified:
  head/sysutils/Makefile
  head/sysutils/u-boot-rpi3/Makefile

Modified: head/sysutils/Makefile
==============================================================================
--- head/sysutils/Makefile	Fri May 29 00:22:24 2020	(r536828)
+++ head/sysutils/Makefile	Fri May 29 01:27:16 2020	(r536829)
@@ -1348,6 +1348,7 @@
     SUBDIR += u-boot-rpi-0-w
     SUBDIR += u-boot-rpi2
     SUBDIR += u-boot-rpi3
+    SUBDIR += u-boot-rpi3-32
     SUBDIR += u-boot-rpi4
     SUBDIR += u-boot-sinovoip-bpi-m3
     SUBDIR += u-boot-sopine

Added: head/sysutils/u-boot-rpi3-32/Makefile
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-rpi3-32/Makefile	Fri May 29 01:27:16 2020	(r536829)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+MODEL=		rpi3-32
+BOARD_CONFIG=	rpi_3_32b_defconfig
+UBOOT_ARCH=	arm
+
+.include "${.CURDIR}/../u-boot-rpi3/Makefile"

Copied: head/sysutils/u-boot-rpi3-32/pkg-descr (from r536828, head/sysutils/u-boot-rpi3/pkg-descr)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/u-boot-rpi3-32/pkg-descr	Fri May 29 01:27:16 2020	(r536829, copy of r536828, head/sysutils/u-boot-rpi3/pkg-descr)
@@ -0,0 +1,3 @@
+U-Boot loader and related files for the RPi3
+
+For general information about U-Boot see WWW: https://www.denx.de/wiki/U-Boot

Modified: head/sysutils/u-boot-rpi3/Makefile
==============================================================================
--- head/sysutils/u-boot-rpi3/Makefile	Fri May 29 00:22:24 2020	(r536828)
+++ head/sysutils/u-boot-rpi3/Makefile	Fri May 29 01:27:16 2020	(r536829)
@@ -7,14 +7,14 @@ PATCHFILES+=	939129/raw
 # Allow variable reservation of lowest pages for increased PSCI stub size.
 PATCHFILES+=	1245351/raw 1245352/raw
 
-MODEL=		rpi3
-BOARD_CONFIG=	rpi_3_defconfig
+MODEL?=		rpi3
+BOARD_CONFIG?=	rpi_3_defconfig
 FAMILY=		rpi
-UBOOT_ARCH=	aarch64
+UBOOT_ARCH?=	aarch64
 
 DEPENDS=	${LOCALBASE}/share/rpi-firmware/bootcode.bin:sysutils/rpi-firmware
 
-CONFIG_FRAGMENT=	${.CURDIR}/files/rpi3_fragment
+CONFIG_FRAGMENT=	${.CURDIR}/../u-boot-rpi3/files/rpi3_fragment
 FRAGMENT_NAME=	rpi3_fragment
 
 .include "${MASTERDIR}/Makefile"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005290127.04T1RHsM017731>