From 78f78afc7029334b132327cf35cf76188a7811d7 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Thu, 17 May 2018 19:10:13 +0000 Subject: [PATCH] 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 --- release/arm64/RPI3.conf | 6 ++++-- 1 file 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} \