aboutsummaryrefslogtreecommitdiff
path: root/release/arm64
diff options
context:
space:
mode:
authorKyle Evans <kevans@FreeBSD.org>2019-12-05 16:17:56 +0000
committerKyle Evans <kevans@FreeBSD.org>2019-12-05 16:17:56 +0000
commit324cdd9320f58837c2fbaa7f6ceb9ea5c33d5b2a (patch)
tree545ea64cd8acafcd898f8f0547aeab40e89a9eba /release/arm64
parent6d69608c0ae621d42c97f27f55d2f0ca911b65c8 (diff)
downloadsrc-324cdd9320f58837c2fbaa7f6ceb9ea5c33d5b2a.tar.gz
src-324cdd9320f58837c2fbaa7f6ceb9ea5c33d5b2a.zip
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
Notes
Notes: svn path=/head/; revision=355424
Diffstat (limited to 'release/arm64')
-rw-r--r--release/arm64/RPI3.conf8
1 files changed, 5 insertions, 3 deletions
diff --git a/release/arm64/RPI3.conf b/release/arm64/RPI3.conf
index cc00b0b71a1f..0daa54d60f23 100644
--- a/release/arm64/RPI3.conf
+++ b/release/arm64/RPI3.conf
@@ -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