Fix incorrect mapping of DT overlays on RPi 5 (#3335)

RPi 5 config uses BR2_LINUX_KERNEL_INSTALL_INTREE_OVERLAYS which builds
the device tree overlays from the Linux tree when building the kernel.
The overlays directory also contains overlay_map.dtb which is necessary
to correctly map overlays without RPi version suffix to the
platform-specific ones. Without this, some peripherals may not work
correctly on Pi 5 without any obvious error messages in the kernel log
because an incorrect (Pi 4) overlay is used as the default.

Fixes #3321

* buildroot cc0481f40e...0a64bfe8f1 (1):
  > Install overlay_map.dtb when using in-tree DT overlays

(cherry picked from commit fce19b784615261ddc0c710cb6866a95e3e817ce)
This commit is contained in:
Jan Čermák 2024-04-29 15:20:36 +02:00 committed by Jan Čermák
parent 1a5a2c4e28
commit 2ea9eccf79
No known key found for this signature in database
GPG Key ID: A78C897AA3AF012B

@ -1 +1 @@
Subproject commit cc0481f40ef0b33cad32ce443fe2d124bf3a36cc
Subproject commit 0a64bfe8f19aa1d7516c07e5b45a6be5aa5dd444