svn commit: r355424 - in head/release: arm arm64

Kyle Evans kevans at FreeBSD.org
Thu Dec 5 16:17:57 UTC 2019


Author: kevans
Date: Thu Dec  5 16:17:56 2019
New Revision: 355424
URL: https://svnweb.freebsd.org/changeset/base/355424

Log:
  release: chase ports r519089 (rpi-firmware update)
  
  The recent rpi-firmware update renamed "0" to "zero" in the RPi0 DTB
  filename
  
  It also included the components needed to boot the RPi4, so install those
  now -- interested parties can install sysutils/u-boot-rpi4 and copy
  config_rpi4.txt to config.txt on the FAT partition in order to boot the
  board. Do note that we currently don't support ethernet/usb/pci.
  
  Reviewed by:	manu
  MFC after:	3 days

Modified:
  head/release/arm/RPI-B.conf
  head/release/arm64/RPI3.conf

Modified: head/release/arm/RPI-B.conf
==============================================================================
--- head/release/arm/RPI-B.conf	Thu Dec  5 15:32:33 2019	(r355423)
+++ head/release/arm/RPI-B.conf	Thu Dec  5 16:17:56 2019	(r355424)
@@ -16,7 +16,7 @@ NODOC=1
 UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi"
 RPI_FIRMWARE_DIR="/usr/local/share/rpi-firmware"
 OL_DIR="${RPI_FIRMWARE_DIR}/overlays"
-OVERLAYS="mmc.dtbo pi3-disable-bt.dtbo"
+OVERLAYS="mmc.dtbo disable-bt.dtbo"
 PART_SCHEME="MBR"
 export BOARDNAME="RPI-B"
 
@@ -25,8 +25,8 @@ arm_install_uboot() {
 	RPI_FIRMWARE_FILES="bootcode.bin config.txt \
 		fixup.dat fixup_cd.dat fixup_db.dat fixup_x.dat \
 		start.elf start_cd.elf start_db.elf start_x.elf \
-		bcm2708-rpi-0-w.dtb bcm2708-rpi-b-plus.dtb bcm2708-rpi-b.dtb \
-		bcm2708-rpi-cm.dtb"
+		bcm2708-rpi-zero-w.dtb bcm2708-rpi-b-plus.dtb \
+		bcm2708-rpi-b.dtb bcm2708-rpi-cm.dtb"
 	FATMOUNT="${DESTDIR%${KERNEL}}/fat"
 	chroot ${CHROOTDIR} mkdir -p "${FATMOUNT}"
 	chroot ${CHROOTDIR} mount_msdosfs /dev/${mddev}s1 ${FATMOUNT}

Modified: head/release/arm64/RPI3.conf
==============================================================================
--- head/release/arm64/RPI3.conf	Thu Dec  5 15:32:33 2019	(r355423)
+++ head/release/arm64/RPI3.conf	Thu Dec  5 16:17:56 2019	(r355424)
@@ -4,7 +4,7 @@
 #
 
 DTB_DIR="/usr/local/share/rpi-firmware"
-DTB="bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb"
+DTB="bcm2710-rpi-3-b.dtb bcm2710-rpi-3-b-plus.dtb bcm2711-rpi-4-b.dtb"
 EMBEDDED_TARGET_ARCH="aarch64"
 EMBEDDED_TARGET="arm64"
 EMBEDDEDBUILD=1
@@ -16,14 +16,14 @@ KERNEL="GENERIC"
 MD_ARGS="-x 63 -y 255"
 NODOC=1
 OL_DIR="${DTB_DIR}/overlays"
-OVERLAYS="mmc.dtbo pwm.dtbo pi3-disable-bt.dtbo"
+OVERLAYS="mmc.dtbo pwm.dtbo disable-bt.dtbo"
 PART_SCHEME="MBR"
 export BOARDNAME="RPI3"
 
 arm_install_uboot() {
 	UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi3"
 	UBOOT_FILES="README u-boot.bin"
-	DTB_FILES="armstub8.bin bootcode.bin fixup_cd.dat \
+	DTB_FILES="armstub8.bin armstub8-gic.bin bootcode.bin fixup_cd.dat \
 		fixup_db.dat fixup_x.dat fixup.dat LICENCE.broadcom \
 		start_cd.elf start_db.elf start_x.elf start.elf ${DTB}"
 	FATMOUNT="${DESTDIR%${KERNEL}}fat"
@@ -37,6 +37,8 @@ arm_install_uboot() {
 		chroot ${CHROOTDIR} cp -p ${DTB_DIR}/${_DF} \
 			${FATMOUNT}/${_DF}
 	done
+	chroot ${CHROOTDIR} cp -p ${DTB_DIR}/config_rpi4.txt \
+			${FATMOUNT}
 	chroot ${CHROOTDIR} cp -p ${DTB_DIR}/config_rpi3.txt \
 			${FATMOUNT}/config.txt
 	chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/overlays


More information about the svn-src-head mailing list