Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Aug 2018 15:06:15 +0000 (UTC)
From:      Emmanuel Vadot <manu@FreeBSD.org>
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
Message-ID:  <201808151506.w7FF6F4C085242@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



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