Re: [PATCH RESEND v3 3/4] firmware: raspberrypi: Add reboot mode support

From: Gregor Herburger

Date: Thu Sep 03 2026 - 16:41:59 EST


On Thu, Sep 03, 2026 at 07:55:53PM +0200, Stefan Wahren wrote:
> Hi Gregor,
>
> Am 03.09.26 um 16:48 schrieb Gregor Herburger:
> > The Raspberry Pi firmware has a tryboot mode where it tries to boot from
> > another partition. This can be used to create a A/B update scheme.
> >
> > To enable this on the next boot, the RPI_FIRMWARE_SET_REBOOT_FLAGS
> > message must be sent to the firmware. Add support for this by
> > registering a reboot mode driver.
> sorry for the delay.
>
> Do you know the consequences in case the firmware doesn't support
> RPI_FIRMWARE_SET_REBOOT_FLAGS ?
>
No I do not know what happens but I afaik tryboot is supported on all devices.
At least the doucmentation [0] says so.

[0]https://www.raspberrypi.com/documentation/computers/raspberry-pi.html#fail-safe-os-updates-tryboot

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