firmware: raspberrypi: Add support for the tryboot mode
Status from this message: Applied to https://github.com/Broadcom/stblinux/commits/drivers/next, thanks!
Get series with b4
b4 am [email protected] change-id 20260623-rpi-tryboot-4292c92b0727Versions newest first
- v6 Latest5 patches 4 repliesApplied
- v55 patches 0 repliesSuperseded
- v44 patches 3 repliesSuperseded
Earlier versions · 5
| Version | Posted | Patches | Replies | Status |
|---|---|---|---|---|
| v3 posting 3/3 | 4 patches | 5 replies | Superseded | |
| v3 posting 2/3 | 4 patches | 2 replies | Superseded | |
| v3 posting 1/3 | 4 patches | 0 replies | Superseded | |
| v2 | 4 patches | 3 replies | Superseded | |
| v1 | 4 patches | 4 replies | Superseded |
Changes in v6 from the cover letter
- Rebase onto v7.4-rc2
- Link to v5: https://patch.msgid.link/[email protected]
Patches in v6 Applied
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | firmware: raspberrypi: reorder rpi_firmware_property_tag enuminclude/ | +10 | 1 reply | |
| 2/5 | dt-bindings: raspberrypi,bcm2835-firmware: Include 'reboot-mode.yaml'Documentation/ | +9 | 1 reply | |
| 3/5 | firmware: raspberrypi: Add reboot mode supportdrivers/ drivers/ include/ | +39 | 0 replies | |
| 4/5 | arm64: dts: broadcom: bcm2712: Add reboot modes to firmware nodearch/ | +2 | 1 reply | |
| 5/5 | arm: dts: broadcom: bcm2835: Add reboot modes to firmware nodearch/ | +2 | 1 reply |
Reviews trailers per patch
1 of 5 patches has a Reviewed-by or Acked-by.
| Patch | Krzysztof Kozlowski | Stefan Wahren |
|---|---|---|
| 1/5 | ||
| 2/5 | R-b | |
| 3/5 | T-b | |
| 4/5 | ||
| 5/5 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH v6 0/5] firmware: raspberrypi: Add support for the tryboot mode
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.
Tested on Raspberry Pi 4 and Raspberry Pi 5.
[0] https://github.com/raspberrypi/linux/commit/eb56da0c1925c07e8929ce4c9fe8aeafa7cb8c7b
---
Changes in v6:
- Rebase onto v7.4-rc2
- Link to v5: https://patch.msgid.link/[email protected]
Changes in v5:
- Added patch to add reboot mode to Raspberry Pi 1-4 devicetrees.
- Rebase onto v7.3-rc5
- Link to v4: https://patch.msgid.link/[email protected]
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/[email protected]
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/[email protected]
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/[email protected]
---
Gregor Herburger (5):
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: dts: broadcom: bcm2835: Add reboot modes to firmware node
.../arm/bcm/raspberrypi,bcm2835-firmware.yaml | 9 +++++ arch/arm/boot/dts/broadcom/bcm2835-rpi.dtsi | 2 ++ .../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 ++++++------ 6 files changed, 62 insertions(+), 15 deletions(-)
---
base-commit: b3dfbde62cf1981c4638939c159dfd087b7a72e9
change-id: 20260623-rpi-tryboot-4292c92b0727
Best regards,
Signature · 1 line
Gregor Herburger <[email protected]>