aboutsummaryrefslogtreecommitdiff
path: root/release/arm64
diff options
context:
space:
mode:
authorGlen Barber <gjb@FreeBSD.org>2018-03-21 14:36:16 +0000
committerGlen Barber <gjb@FreeBSD.org>2018-03-21 14:36:16 +0000
commit337781867950b14587b5fcda9cf60e0ac9dec42c (patch)
treebfc2d51960e6a898f643296242279601f315efae /release/arm64
parentdf4ee7639e9dbc51556c21ed7094fc4f4b55407a (diff)
downloadsrc-337781867950b14587b5fcda9cf60e0ac9dec42c.tar.gz
src-337781867950b14587b5fcda9cf60e0ac9dec42c.zip
Following ports commit r465175, avoid fetch(1) to obtain
overlays and DTB files for the RPI3. Submitted by: manu Sponsored by: The FreeBSD Foundation
Notes
Notes: svn path=/head/; revision=331292
Diffstat (limited to 'release/arm64')
-rw-r--r--release/arm64/RPI3.conf11
1 files changed, 6 insertions, 5 deletions
diff --git a/release/arm64/RPI3.conf b/release/arm64/RPI3.conf
index 10366e242199..1ed26b0b23bc 100644
--- a/release/arm64/RPI3.conf
+++ b/release/arm64/RPI3.conf
@@ -3,18 +3,19 @@
# $FreeBSD$
#
-DTB_REPO="https://github.com/raspberrypi/firmware/blob/master/boot"
+DTB_DIR="/usr/local/share/rpi-firmware"
DTB="bcm2710-rpi-3-b.dtb"
EMBEDDED_TARGET_ARCH="aarch64"
EMBEDDED_TARGET="arm64"
EMBEDDEDBUILD=1
-EMBEDDEDPORTS="sysutils/u-boot-rpi3 security/ca_root_nss"
+EMBEDDEDPORTS="sysutils/u-boot-rpi3 sysutils/rpi-firmware"
FAT_SIZE="50m -b 1m"
FAT_TYPE="16"
IMAGE_SIZE="2560M"
KERNEL="GENERIC"
MD_ARGS="-x 63 -y 255"
NODOC=1
+OL_DIR="${DTB_DIR}/overlays"
OVERLAYS="mmc.dtbo pi3-disable-bt.dtbo"
PART_SCHEME="MBR"
export BOARDNAME="RPI3"
@@ -33,11 +34,11 @@ arm_install_uboot() {
chroot ${CHROOTDIR} cp -p ${UBOOT_DIR}/${_UF} \
${FATMOUNT}/${_UF}
done
- chroot ${CHROOTDIR} fetch -o "${FATMOUNT}/${DTB}" "${DTB_REPO}/${DTB}?raw=true"
+ chroot ${CHROOTDIR} cp -p ${DTB_DIR}/${DTB} ${FATMOUNT}/${DTB}
chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/overlays
for _OL in ${OVERLAYS}; do
- chroot ${CHROOTDIR} fetch -o "${FATMOUNT}/overlays/${_OL}"\
- "${DTB_REPO}/overlays/${_OL}?raw=true"
+ chroot ${CHROOTDIR} cp -p ${OL_DIR}/${_OL} \
+ ${FATMOUNT}/overlays/${_OL}
done
BOOTFILES="$(chroot ${CHROOTDIR} \