Skip to content

rpi-eeprom-update: Flashrom allow flash larger than the image - #923

Merged
timg236 merged 1 commit into
raspberrypi:masterfrom
mathewb64:flashrom-size-check
Nov 10, 2026
Merged

timg236 merged 1 commit into
raspberrypi:masterfrom
mathewb64:flashrom-size-check

Conversation

@mathewb64

Copy link
Copy Markdown
Contributor

Use a layout covering only the image so flashrom writes and verifies just that region when the chips capacity is larger than the image. Fail early if the chip is smaller than the image.

Comment thread rpi-eeprom-update Resolved
Use a layout so flashrom writes the image to the start of the flash and
erases any spare flash above it to 0xFF when the chip's capacity is
larger than the image. Fail early if the chip is smaller than the image.
@timg236

timg236 commented Nov 10, 2026

Copy link
Copy Markdown
Collaborator

LGTM.

@timg236
timg236 merged commit 3831e51 into raspberrypi:master Nov 10, 2026
2 checks passed
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