Repository navigation
rpi-eeprom-update: Guard updates on boards with RAM mismatches - #924
Closed
jameshilliard wants to merge 1 commit into
Closed
jameshilliard wants to merge 1 commit into
jameshilliard wants to merge 1 commit into
Conversation
Compare BCM2712's effective RAM capacity with the factory capacity from device tree or OTP before staging or flashing an update. For mismatched boards, permit builds before 2024-09-23 or matching the running build. Check every bootable partition using rpi-bootloader-version because compatibility does not follow firmware date order. Keep normal latest-image selection and require a compatible image to be selected manually when an update is rejected. Warn about possible RAM replacement and advise contacting the seller for undisclosed modifications. Document the policy and add isolated updater tests to CI. Refs: raspberrypi#797
Collaborator
|
We aren’t going to carry patches for this. |
Author
How do you recommend distro's ensure that eeprom updates don't brick end user devices? |
Collaborator
|
We aren't going to put time or effort into devices which have been miss-sold. |
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Compare BCM2712's effective RAM capacity with the factory capacity from device tree or OTP before staging or flashing an update.
For mismatched boards, permit builds before 2024-09-23 or matching the running build. Check every bootable partition using rpi-bootloader-version because compatibility does not follow firmware date order. Keep normal latest-image selection and require a compatible image to be selected manually when an update is rejected.
Warn about possible RAM replacement and advise contacting the seller for undisclosed modifications. Document the policy and add isolated updater tests to CI.
Refs: #797
Without a RAM mismatch guard users risk bricking their devices, this creates a number of potentially undesirable situations: