Not all files in boot/overlays are copied to the image, which may result in overlays not being loaded at all, or a wrong overlay being loaded. When using os_prefix and/or overlay_prefix in the raspberry pi config.txt, it checks for the existence of README in the overlays directory. If it is missing, overlays will not be loaded. The overlay_map.dtb file contains rules for overlays that require special handling depending on the specific type of raspberry pi hardware. When this file is missing, the wrong overlay may be loaded. Fixed by copying all files from boot/overlays, instead of only *.dtbo Signed-off-by: Rutger Sassen --- package/rpi-firmware/rpi-firmware.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk index b46a7f5270..4b9a442bb6 100644 --- a/package/rpi-firmware/rpi-firmware.mk +++ b/package/rpi-firmware/rpi-firmware.mk @@ -45,7 +45,7 @@ endif ifeq ($(BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS),y) define RPI_FIRMWARE_INSTALL_DTB_OVERLAYS - $(foreach ovldtb,$(wildcard $(@D)/boot/overlays/*.dtbo), \ +$(foreach ovldtb,$(wildcard $(@D)/boot/overlays/*), \ $(INSTALL) -D -m 0644 $(ovldtb) $(BINARIES_DIR)/rpi-firmware/overlays/$(notdir $(ovldtb)) ) endef -- 2.20.1 This email communication is CONFIDENTIAL. If you are not the intended recipient, you may not use, copy or disclose to anyone the message or any information contained in the message and I ask that you please notify me by return email and delete this communication immediately. Thank you.