Index: release/arm/RPI-B.conf =================================================================== --- release/arm/RPI-B.conf +++ release/arm/RPI-B.conf @@ -13,6 +13,7 @@ KERNEL="RPI-B" MD_ARGS="-x 63 -y 255" NODOC=1 +OVERLAYS="mmc.dtbo" PART_SCHEME="MBR" arm_install_uboot() { @@ -33,6 +34,11 @@ chroot ${CHROOTDIR} cp -p ${RPI_FIRMWARE_DIR}/${_UF} \ ${FATMOUNT}/${_UF} done + chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/overlays + for _OL in ${OVERLAYS}; do + chroot ${CHROOTDIR} cp -p ${OL_DIR}/${_OL} \ + ${FATMOUNT}/overlays/${_OL} + done chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr sync umount_loop ${CHROOTDIR}/${FATMOUNT} Index: release/arm/RPI2.conf =================================================================== --- release/arm/RPI2.conf +++ release/arm/RPI2.conf @@ -13,6 +13,7 @@ KERNEL="GENERIC" MD_ARGS="-x 63 -y 255" NODOC=1 +OVERLAYS="mmc.dtbo" PART_SCHEME="MBR" export BOARDNAME="RPI2" @@ -34,6 +35,11 @@ chroot ${CHROOTDIR} cp -p ${RPI_FIRMWARE_DIR}/${_UF} \ ${FATMOUNT}/${_UF} done + chroot ${CHROOTDIR} mkdir -p ${FATMOUNT}/overlays + for _OL in ${OVERLAYS}; do + chroot ${CHROOTDIR} cp -p ${OL_DIR}/${_OL} \ + ${FATMOUNT}/overlays/${_OL} + done chroot ${CHROOTDIR} cp ${UBOOT_DIR}/boot.scr ${FATMOUNT}/boot.scr sync umount_loop ${CHROOTDIR}/${FATMOUNT}