Skip to content

Bootloader strict min ver check#844

Merged
timg236 merged 3 commits into
raspberrypi:masterfrom
timg236:bootloader-strict-min-ver-check
Jun 4, 2026
Merged

Bootloader strict min ver check#844
timg236 merged 3 commits into
raspberrypi:masterfrom
timg236:bootloader-strict-min-ver-check

Conversation

@timg236

@timg236 timg236 commented May 27, 2026

Copy link
Copy Markdown
Collaborator

No description provided.

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.
@timg236 timg236 force-pushed the bootloader-strict-min-ver-check branch from 8dbd11d to f07c426 Compare May 27, 2026 15:26
@timg236 timg236 marked this pull request as ready for review June 2, 2026 12:47
@timg236 timg236 requested a review from Copilot June 2, 2026 12:47

Copilot AI 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.

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_CHECK in rpi-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.

Comment thread rpi-eeprom-update
Comment thread rpi-eeprom-update
Comment thread rpi-eeprom-update-default Outdated
Always emit a warning if the EEPROM image update version is smaller
than the manufacturing version.
@timg236 timg236 force-pushed the bootloader-strict-min-ver-check branch from f07c426 to 1e1991a Compare June 4, 2026 11:30
The old 'beta' release type was removed with beta going to rpi-update
releases instead.
@timg236 timg236 merged commit 30b7e23 into raspberrypi:master Jun 4, 2026
1 check passed
@timg236 timg236 deleted the bootloader-strict-min-ver-check branch June 4, 2026 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants