[PATCH v4 0/4] firmware: raspberrypi: Add support for the tryboot mode

Gregor Herburger gregor.herburger at linutronix.de
Mon Sep 28 00:28:28 PDT 2026


Hi,

Just a gentle ping on this series.

Are there any outstanding comments, or is there anything else needed from my
side to move this forward? I would ideally like to get this picked up before the
next merge window.

On Fri, Sep 04, 2026 at 09:46:48AM +0200, Gregor Herburger wrote:
> This adds support for the tryboot mode on Raspberry Pis. As there is no
> documentation other than the downstream implementation [0] the
> implementation is based on this.
> 
> I tested this on Raspberry Pi 5 and therefore I only added the
> properties to this devicetree. But afaik this should work on all
> Raspberry Pis. I will add it to the correspondings dts if I get some
> hardware to test it.
> 
> [0] https://github.com/raspberrypi/linux/commit/eb56da0c1925c07e8929ce4c9fe8aeafa7cb8c7b
> 
> ---
> Changes in v4:
> - fix use-after-free error by moving devm_add_action_or_reset before devm_add_action_or_reset 
> - Rebase onto v7.3-rc1
> - Link to v3: https://patch.msgid.link/20260707-rpi-tryboot-v3-0-fda82fe7ed76@linutronix.de
> 
> Changes in v3:
> - fix use-after-free error by using devm_add_action_or_reset
> - ensure endianness of magic byte
> - refactor reboot mode registration into separate function
> - Link to v2: https://patch.msgid.link/20260630-rpi-tryboot-v2-0-f68d2dc6aa27@linutronix.de
> 
> Changes in v2:
> - Remove unnecessary reboot_mode_unregister().
> - dt-binding: restrict to mode-{normal,tryboot} and only allow 32bit value.
> - Link to v1: https://patch.msgid.link/20260626-rpi-tryboot-v1-0-490b1c4c4970@linutronix.de
> 
> ---
> Gregor Herburger (4):
>       firmware: raspberrypi: reorder rpi_firmware_property_tag enum
>       dt-bindings: raspberrypi,bcm2835-firmware: Include 'reboot-mode.yaml'
>       firmware: raspberrypi: Add reboot mode support
>       arm64: dts: broadcom: bcm2712: Add reboot modes to firmware node
> 
>  .../arm/bcm/raspberrypi,bcm2835-firmware.yaml      |  9 +++++
>  .../boot/dts/broadcom/bcm2712-rpi-5-b-base.dtsi    |  2 ++
>  drivers/firmware/Kconfig                           |  2 ++
>  drivers/firmware/raspberrypi.c                     | 40 +++++++++++++++++++---
>  include/soc/bcm2835/raspberrypi-firmware.h         | 22 ++++++------
>  5 files changed, 60 insertions(+), 15 deletions(-)
> ---
> base-commit: cee9395acd8043be0644b25c34bfa86623f2b935
> change-id: 20260623-rpi-tryboot-4292c92b0727
> 

Best regards,
-- 
Gregor Herburger
Linutronix GmbH | Bahnhofstrasse 3 | D-88690 Uhldingen-Mühlhofen
Phone: +49 7556 25 999 35; Fax.: +49 7556 25 999 99

Hinweise zum Datenschutz finden Sie hier (Informations on data privacy 
can be found here): https://linutronix.de/legal/data-protection.php

Linutronix GmbH | Firmensitz (Registered Office): Uhldingen-Mühlhofen | 
Registergericht (Registration Court): Amtsgericht Freiburg i.Br., HRB700 
806 | Geschäftsführer (Managing Directors): Dr. Wilfried Wessner, 
Katharina Kopp, Alexander Gieringer



More information about the linux-arm-kernel mailing list