Bootloader strict min ver check#844
Merged
timg236 merged 3 commits intoJun 4, 2026
Merged
Conversation
Updated the EEPROM update script BOOT_VER to 1 to indicate that rpi-eeprom-update will correctly update boards reporting the bootloader manufacturing verion as 1.
8dbd11d to
f07c426
Compare
There was a problem hiding this comment.
Pull request overview
Updates rpi-eeprom-update to make the “minimum bootloader version required by hardware” (from DT/OTP) check configurable, and documents the new knob in the default config template.
Changes:
- Add
STRICT_MIN_VER_CHECK(defaulting via env/config) to control whether a min-version mismatch is fatal. - Move the MFG_VER vs board minimum version check into the common update path (
applyRecoveryUpdate), emitting a warning and optionally exiting. - Document
STRICT_MIN_VER_CHECKinrpi-eeprom-update-default.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| rpi-eeprom-update-default | Documents the new STRICT_MIN_VER_CHECK setting for /etc/default/rpi-eeprom-update. |
| rpi-eeprom-update | Adds STRICT_MIN_VER_CHECK, adjusts BOOT_VER metadata, and implements the min-version mismatch warning/optional-fatal behavior. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Always emit a warning if the EEPROM image update version is smaller than the manufacturing version.
f07c426 to
1e1991a
Compare
The old 'beta' release type was removed with beta going to rpi-update releases instead.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.