svn commit: r368662 - head/release/arm64

Emmanuel Vadot manu at FreeBSD.org
Tue Dec 15 15:13:06 UTC 2020


Author: manu
Date: Tue Dec 15 15:13:06 2020
New Revision: 368662
URL: https://svnweb.freebsd.org/changeset/base/368662

Log:
  release: Rename arm64/RPI3.conf to arm64/RPI.conf
  
  We now have a u-boot port and config.txt for booting on all 64bits
  variant of the RPI boards (RPI2v1.1, RPI3* and RPI4*) so use
  the new u-boot-rpi-arm64 and the config_arm64.txt files.
  
  Discussed with: karels, kevans

Added:
  head/release/arm64/RPI.conf
     - copied, changed from r368661, head/release/arm64/RPI3.conf
Deleted:
  head/release/arm64/RPI3.conf

Copied and modified: head/release/arm64/RPI.conf (from r368661, head/release/arm64/RPI3.conf)
==============================================================================
--- head/release/arm64/RPI3.conf	Tue Dec 15 14:58:40 2020	(r368661, copy source)
+++ head/release/arm64/RPI.conf	Tue Dec 15 15:13:06 2020	(r368662)
@@ -8,7 +8,7 @@ DTB="bcm2710-rpi-2-b.dtb bcm2710-rpi-3-b.dtb bcm2710-r
 EMBEDDED_TARGET_ARCH="aarch64"
 EMBEDDED_TARGET="arm64"
 EMBEDDEDBUILD=1
-EMBEDDEDPORTS="sysutils/u-boot-rpi3 sysutils/rpi-firmware"
+EMBEDDEDPORTS="sysutils/u-boot-rpi-arm64 sysutils/rpi-firmware"
 FAT_SIZE="50m -b 1m"
 FAT_TYPE="16"
 IMAGE_SIZE="3072M"
@@ -18,10 +18,10 @@ NODOC=1
 OL_DIR="${DTB_DIR}/overlays"
 OVERLAYS="mmc.dtbo pwm.dtbo disable-bt.dtbo"
 PART_SCHEME="MBR"
-export BOARDNAME="RPI3"
+export BOARDNAME="RPI"
 
 arm_install_uboot() {
-	UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi3"
+	UBOOT_DIR="/usr/local/share/u-boot/u-boot-rpi-arm64"
 	UBOOT_FILES="README u-boot.bin"
 	DTB_FILES="armstub8.bin armstub8-gic.bin bootcode.bin fixup_cd.dat \
 		fixup_db.dat fixup_x.dat fixup.dat LICENCE.broadcom \
@@ -39,9 +39,7 @@ 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 \
+	chroot ${CHROOTDIR} cp -p ${DTB_DIR}/config_arm64.txt \
 			${FATMOUNT}/config.txt
 	chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/overlays
 	for _OL in ${OVERLAYS}; do


More information about the svn-src-head mailing list