Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH RESEND] configs/raspberrypi5: install the DTB overlays
@ 2026-12-03  3:51 Sam Walker
  2026-12-04 23:52 ` Fiona Klute via buildroot
  0 siblings, 1 reply; 2+ messages in thread
From: Sam Walker @ 2026-12-03  3:51 UTC (permalink / raw)
  To: buildroot; +Cc: Gaël PORTAY, Julien Grossholtz, Martin Bark

Raspberry Pi 5 boards with the BCM2712 D0 stepping (2 GB boards, and
4 GB and 8 GB boards of hardware revision 1.1) do not boot an image
built from raspberrypi5_defconfig: the kernel never mounts the root
filesystem.

The firmware applies overlays/bcm2712d0.dtbo on these boards, and the
defconfig disables BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS, so
the boot partition has no overlays directory.

Drop that line, so the option takes its default (y) and the overlays
are installed, as raspberrypicm5io_defconfig already does. Mention it
in the readme note about overlays.

Tested on a Raspberry Pi 5 Model B Rev 1.1 (revision c04171, 4 GB,
D0) with 2026.02.3. With the stock image the board does not boot. It
boots when overlays/overlay_map.dtb and overlays/bcm2712d0.dtbo are
added to the boot partition and nothing else is changed, and it does
not boot with overlay_map.dtb alone. A full build of this defconfig
with the change also boots it. Not tested on a board with the
earlier C1 stepping.

Fixes: https://gitlab.com/buildroot.org/buildroot/-/issues/59
Signed-off-by: Sam Walker <samuelrandolphwalker@gmail.com>
---
Resend: the first copy (2026-12-02) was rejected by the list because I
was not subscribed yet. The patch is unchanged.

 board/raspberrypi/readme.txt   | 2 ++
 configs/raspberrypi5_defconfig | 1 -
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/board/raspberrypi/readme.txt b/board/raspberrypi/readme.txt
index 8e1009f254..d6a7efe3e5 100644
--- a/board/raspberrypi/readme.txt
+++ b/board/raspberrypi/readme.txt
@@ -165,6 +165,8 @@ After building, you should obtain this tree:
     and 4s) use the miniuart-bt overlay to enable UART0 for the serial console;
     the Bluetooth uses the mini-UART instead. Alternative would be to disable
     the serial console in cmdline.txt and /etc/inittab.
+    The Raspberry Pi 5 installs them because boards with the BCM2712 D0
+    stepping need the bcm2712d0 overlay to boot.
 
 How to write the SD card
 ========================
diff --git a/configs/raspberrypi5_defconfig b/configs/raspberrypi5_defconfig
index 6043db67da..564d08fe8a 100644
--- a/configs/raspberrypi5_defconfig
+++ b/configs/raspberrypi5_defconfig
@@ -20,7 +20,6 @@ BR2_PACKAGE_XZ=y
 BR2_PACKAGE_RPI_FIRMWARE=y
 BR2_PACKAGE_RPI_FIRMWARE_CONFIG_FILE="board/raspberrypi5/config_5.txt"
 BR2_PACKAGE_RPI_FIRMWARE_CMDLINE_FILE="board/raspberrypi5/cmdline_5.txt"
-# BR2_PACKAGE_RPI_FIRMWARE_INSTALL_DTB_OVERLAYS is not set
 BR2_PACKAGE_KMOD=y
 BR2_PACKAGE_KMOD_TOOLS=y
 BR2_TARGET_ROOTFS_EXT2=y
-- 
2.43.0

_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-12-04 23:52 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03  3:51 [Buildroot] [PATCH RESEND] configs/raspberrypi5: install the DTB overlays Sam Walker
2026-12-04 23:52 ` Fiona Klute via buildroot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox