From da38cdead909aa133b9c468ddebf3f67c8d198f2 Mon Sep 17 00:00:00 2001 From: "Sassen, Rutger" Date: Thu, 17 Mar 2022 11:06:22 +0000 Subject: [PATCH] package/rpi-firmware: fix missing files in overlays When supporting multiple hardware targets, overlay_map.dtb might be needed to map overlay names to one of several implementations [1]. If the correct overlay names are specified in config.txt, the map file is not needed, but it also doesn't hurt. [1] https://github.com/raspberrypi/documentation/blob/develop/documentation/asciidoc/computers/configuration/device-tree.adoc#the-overlay-map-file Signed-off-by: Rutger Sassen Reviewed-by: Peter Seiderer [Arnout: always install overlay_map.dtb] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/rpi-firmware/rpi-firmware.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/package/rpi-firmware/rpi-firmware.mk b/package/rpi-firmware/rpi-firmware.mk index b46a7f5270..d4d1d07b3f 100644 --- a/package/rpi-firmware/rpi-firmware.mk +++ b/package/rpi-firmware/rpi-firmware.mk @@ -48,6 +48,7 @@ define RPI_FIRMWARE_INSTALL_DTB_OVERLAYS $(foreach ovldtb,$(wildcard $(@D)/boot/overlays/*.dtbo), \ $(INSTALL) -D -m 0644 $(ovldtb) $(BINARIES_DIR)/rpi-firmware/overlays/$(notdir $(ovldtb)) ) + $(INSTALL) -D -m 0644 $(@D)/boot/overlays/overlay_map.dtb $(BINARIES_DIR)/rpi-firmware/overlays/ endef else # Still create the directory, so a genimage.cfg can include it independently of