Skip to content

Update bundled RPi bootloader to 2026-01-09 (2711)/2026-05-11 (2712) - #4715

Merged
sairon merged 1 commit into
devfrom
update-rpi-eeprom-v2026.05.11-2712
May 18, 2026
Merged

sairon merged 1 commit into
devfrom
update-rpi-eeprom-v2026.05.11-2712

Conversation

@sairon

@sairon sairon commented May 18, 2026 •

Copy link
Copy Markdown
Member

Update bootloaders to the latest default versions and refresh patches.

Changelogs:

Summary by CodeRabbit

  • Bug Fixes

    • Improved bootloader discovery on HAOS systems for reliable boot partition identification
    • Removed unnecessary configuration tool references from user-facing messages for clarity
  • Chores

    • Updated bootloader firmware for Raspberry Pi 4 (January 2026) and Pi 5 (May 2026)

@sairon
sairon requested a review from agners May 18, 2026 13:45
@sairon sairon added board/raspberrypi Raspberry Pi Boards board/yellow Home Assistant Yellow labels May 18, 2026
@coderabbitai

coderabbitai Bot commented May 18, 2026 •

Copy link
Copy Markdown
πŸ“ Walkthrough

Walkthrough

This PR updates the rpi-eeprom package for Home Assistant OS with three primary changes: HAOS-specific bootfs discovery logic refinement (redirecting to /mnt/boot for hassos-boot partitions and requiring flashrom fallback when unavailable), removal of raspi-config and sudo references from user messages, and a version bump with updated firmware binaries for Raspberry Pi 4 and 5.

Changes

RPi EEPROM Package Update

Layer / File(s) Summary
HAOS bootfs discovery and dependency checks
buildroot-external/package/rpi-eeprom/0001-rpi-eeprom-update-adjust-bootfs-discovery-for-HAOS.patch
The findBootFS function now directly uses /mnt/boot for hassos-boot FAT partitions, adds a flashrom-specific /mnt/boot fallback when RPI_EEPROM_USE_FLASHROM=1, converts missing-bootfs to an immediate error (removing prior auto-discovery), and the -b option path now checks dependencies before calling findBootFS.
User-facing message and configuration cleanup
buildroot-external/package/rpi-eeprom/0002-rpi-eeprom-update-remove-raspi-config-mentions-and-u.patch
Removes the RPI_EEPROM_UPDATE_CONFIG_TOOL variable definition and all raspi-config references from help text; updates cancellation, flashing, and version-check messages to remove unnecessary sudo commands and bootloader policy/configuration instructions.
Package version and firmware binary updates
buildroot-external/package/rpi-eeprom/rpi-eeprom.mk, buildroot-external/package/rpi-eeprom/rpi-eeprom.hash
Bumps RPI_EEPROM_VERSION to a new commit hash and updates the tarball SHA256 checksum; installs newer pieeprom firmware binaries (pieeprom-2026-01-09.bin for RPI4, pieeprom-2026-05-11.bin for RPI5).

🎯 2 (Simple) | ⏱️ ~12 minutes

Suggested labels

os

Suggested reviewers

  • agners

🐰 The bootfs now knows its place,
HAOS paths shine with cleaner grace,
Firmware binaries, fresh and bright,
No more sudo cluttering the sight!

πŸš₯ Pre-merge checks | βœ… 5
βœ… Passed checks (5 passed)
Check name Status Explanation
Description Check βœ… Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check βœ… Passed The title accurately and specifically describes the main change: updating RPi bootloaders with exact version numbers and target board chipsets (2711 and 2712).
Docstring Coverage βœ… Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check βœ… Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check βœ… Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
πŸ§ͺ Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-rpi-eeprom-v2026.05.11-2712

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❀️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🧹 Nitpick comments (1)
buildroot-external/package/rpi-eeprom/0001-rpi-eeprom-update-adjust-bootfs-discovery-for-HAOS.patch (1)

36-38: ⚑ Quick win

Fix grammar in comment.

Line 37: "will created" should be "will be created".

πŸ“ Proposed fix
-   # image for flashrom will created in bootfs
+   # image for flashrom will be created in bootfs
πŸ€– Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In
`@buildroot-external/package/rpi-eeprom/0001-rpi-eeprom-update-adjust-bootfs-discovery-for-HAOS.patch`
around lines 36 - 38, Fix the grammar in the inline comment inside the
conditional that checks BOOTFS and RPI_EEPROM_USE_FLASHROM: change the comment
"image for flashrom will created in bootfs" to "image for flashrom will be
created in bootfs" so the sentence is grammatically correct; locate the comment
near the conditional referencing BOOTFS and RPI_EEPROM_USE_FLASHROM and update
only the comment text.
πŸ€– Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Nitpick comments:
In
`@buildroot-external/package/rpi-eeprom/0001-rpi-eeprom-update-adjust-bootfs-discovery-for-HAOS.patch`:
- Around line 36-38: Fix the grammar in the inline comment inside the
conditional that checks BOOTFS and RPI_EEPROM_USE_FLASHROM: change the comment
"image for flashrom will created in bootfs" to "image for flashrom will be
created in bootfs" so the sentence is grammatically correct; locate the comment
near the conditional referencing BOOTFS and RPI_EEPROM_USE_FLASHROM and update
only the comment text.

ℹ️ Review info
βš™οΈ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 35026287-2d12-4c66-aedd-13fab7c05371

πŸ“₯ Commits

Reviewing files that changed from the base of the PR and between ab9bc32 and ddc6a05.

πŸ“’ Files selected for processing (4)
  • buildroot-external/package/rpi-eeprom/0001-rpi-eeprom-update-adjust-bootfs-discovery-for-HAOS.patch
  • buildroot-external/package/rpi-eeprom/0002-rpi-eeprom-update-remove-raspi-config-mentions-and-u.patch
  • buildroot-external/package/rpi-eeprom/rpi-eeprom.hash
  • buildroot-external/package/rpi-eeprom/rpi-eeprom.mk

@sairon
sairon merged commit 3950618 into dev May 18, 2026
1 check passed
@sairon
sairon deleted the update-rpi-eeprom-v2026.05.11-2712 branch May 18, 2026 15:42
@github-actions github-actions Bot locked and limited conversation to collaborators May 26, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

board/raspberrypi Raspberry Pi Boards board/yellow Home Assistant Yellow cla-signed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants