From: Sam Walker <samuelrandolphwalker@gmail.com>
To: buildroot@buildroot.org
Cc: "Gaël PORTAY" <gael.portay+rtone@gmail.com>,
"Julien Grossholtz" <julien.grossholtz@openest.io>,
"Martin Bark" <martin@barkynet.com>
Subject: [Buildroot] [PATCH RESEND] configs/raspberrypi5: install the DTB overlays
Date: Wed, 2 Dec 2026 20:51:53 -0700 [thread overview]
Message-ID: <20261203035154.469-1-samuelrandolphwalker@gmail.com> (raw)
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
next reply other threads:[~2026-12-03 3:51 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-12-03 3:51 Sam Walker [this message]
2026-12-04 23:52 ` [Buildroot] [PATCH RESEND] configs/raspberrypi5: install the DTB overlays Fiona Klute via buildroot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203035154.469-1-samuelrandolphwalker@gmail.com \
--to=samuelrandolphwalker@gmail.com \
--cc=buildroot@buildroot.org \
--cc=gael.portay+rtone@gmail.com \
--cc=julien.grossholtz@openest.io \
--cc=martin@barkynet.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox