Skip to content

rpi: copy /chosen/bootloader node with properties and set boot_partition

Gregor Herburger u-boot 6 versions – In review

Get series with b4
b4 am [email protected] change-id 20260708-tryboot-c11aa44bf1cc

Versions newest first

  1. v4 Latest posting 3/32 patches 2 repliesIn review
  2. v4 posting 2/32 patches 0 repliesSuperseded
  3. v4 posting 1/32 patches 0 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v31 patch1 replySuperseded
v21 patch2 repliesSuperseded inferred link
v11 patch1 replySuperseded

Changes in v4 from the cover letter

- Split into two patches
- update commit messages
- Drop Reviewed-by-tag again
- Link to v3: https://patch.msgid.link/[email protected]

Patches in v4 posting 3/3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2rpi: set boot partition from devicetreeboard/raspberrypi/rpi/rpi.c+15 -00 replies
2/2rpi: pass the bootloader node through to the OS devicetreeboard/raspberrypi/rpi/rpi.c+36 -00 replies

Reviews trailers per patch

None of the 2 patches has a Reviewed-by or Acked-by.

PatchPeter Robinson
1/2T-b
2/2T-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v4 thread

Cover letter [PATCH RESEND v4 0/2] rpi: copy /chosen/bootloader node with properties and set boot_partition

The Raspberry Pi has the "tryboot" feature where it can boot from a different partition enabling failsafe A/B updates. After boot the firmware adds some properties in /chosen/bootloader, e.g. partition.

Pass this node through to the OS devicetree and use partition to set the environment variable boot_partition.

Changes in v4:
- Split into two patches
- update commit messages
- Drop Reviewed-by-tag again
- Link to v3: https://patch.msgid.link/[email protected]

Changes in v3:
- Copy the complete '/chosen/bootloader' node instead of only the partition property
- Link to v2: https://patch.msgid.link/[email protected]

Changes in v2:
- update Reviewed-by tag

---
Gregor Herburger (2):
rpi: set boot partition from devicetree
rpi: pass the bootloader node through to the OS devicetree

 board/raspberrypi/rpi/rpi.c | 51 +++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 51 insertions(+)

---
base-commit: baa64b2f892890f00a377eac4a3e685472bb56b5
change-id: 20260803-tryboot2-8c5221376e5a

Best regards,
--
Gregor Herburger <[email protected]>

Signature · 1 line
Gregor Herburger <[email protected]>