Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Fiona Klute via buildroot <buildroot@buildroot.org>
To: Sam Walker <samuelrandolphwalker@gmail.com>, buildroot@buildroot.org
Cc: "Gaël PORTAY" <gael.portay+rtone@gmail.com>,
	"Julien Grossholtz" <julien.grossholtz@openest.io>,
	"Martin Bark" <martin@barkynet.com>
Subject: Re: [Buildroot] [PATCH RESEND] configs/raspberrypi5: install the DTB overlays
Date: Sat, 5 Dec 2026 00:52:24 +0100	[thread overview]
Message-ID: <235caa2b-e47e-4227-95e4-be40b0412966@gmx.de> (raw)
In-Reply-To: <20261203035154.469-1-samuelrandolphwalker@gmail.com>

Am 03.12.26 um 04:51 schrieb Sam Walker:
> 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.

Is this still needed? Looking at 
https://github.com/raspberrypi/firmware/issues/2044 it seems as if there 
was a firmware bug, and the fixed version should load a different DTB 
for D0 stepping. The closing comment sadly doesn't have any details, so 
I'm not sure, but at least it doesn't say the report was wrong about that.

If that fix applies, "broadcom/bcm2712-d-rpi-5-b" might need to be added 
to BR2_LINUX_KERNEL_INTREE_DTS_NAME to actually built that DTB.

Best regards,
Fiona

> 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
_______________________________________________
buildroot mailing list
buildroot@buildroot.org
https://lists.buildroot.org/mailman/listinfo/buildroot

      reply	other threads:[~2026-12-04 23:52 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 message]

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=235caa2b-e47e-4227-95e4-be40b0412966@gmx.de \
    --to=buildroot@buildroot.org \
    --cc=fiona.klute@gmx.de \
    --cc=gael.portay+rtone@gmail.com \
    --cc=julien.grossholtz@openest.io \
    --cc=martin@barkynet.com \
    --cc=samuelrandolphwalker@gmail.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