aboutsummaryrefslogtreecommitdiff
path: root/release/arm64
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2018-05-17 19:10:13 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2018-05-17 19:10:13 +0000
commit78f78afc7029334b132327cf35cf76188a7811d7 (patch)
tree3e03efca119ec7c47a4c5269bd6a98866df6485e /release/arm64
parent766d22532622996fd02d74cfe24fa7c2ccda089c (diff)
downloadsrc-78f78afc7029334b132327cf35cf76188a7811d7.tar.gz
src-78f78afc7029334b132327cf35cf76188a7811d7.zip
release: rpi3: Copy the special rpi3 config.txt
RPI* 32bits and RPI* 64bits have a different config.txt Copy to correct config.txt to the fat partition of the release image. Also copy pwm.dtbo as some people want to use it. Reviewed by: gjb
Notes
Notes: svn path=/head/; revision=333756
Diffstat (limited to 'release/arm64')
-rw-r--r--release/arm64/RPI3.conf6
1 files changed, 4 insertions, 2 deletions
diff --git a/release/arm64/RPI3.conf b/release/arm64/RPI3.conf
index 090f63a0e2aa..3063473407de 100644
--- a/release/arm64/RPI3.conf
+++ b/release/arm64/RPI3.conf
@@ -16,14 +16,14 @@ KERNEL="GENERIC"
MD_ARGS="-x 63 -y 255"
NODOC=1
OL_DIR="${DTB_DIR}/overlays"
-OVERLAYS="mmc.dtbo pi3-disable-bt.dtbo"
+OVERLAYS="mmc.dtbo pwm.dtbo pi3-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 config.txt fixup_cd.dat \
+ DTB_FILES="armstub8.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"
@@ -39,6 +39,8 @@ arm_install_uboot() {
chroot ${CHROOTDIR} cp -p ${DTB_DIR}/${_DF} \
${FATMOUNT}/${_DF}
done
+ chroot ${CHROOTDIR} cp -p ${DTB_DIR}/config_rpi3.txt \
+ ${FATMOUNT}/config.txt
chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/overlays
for _OL in ${OVERLAYS}; do
chroot ${CHROOTDIR} cp -p ${OL_DIR}/${_OL} \