Repository navigation
docs(heimdall): its bootloader update is staged on the card, not written by flashrom - #1730
Merged
Merged
Conversation
…ten by flashrom Applying #1726's §2 on heimdall found no /dev/spidev*, so rpi-eeprom-update staged pieeprom.upd and recovery.bin for the next boot instead of writing the chip. The runbook says so now, and a changelog entry corrects #1726's and records the apply. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues are reported for the documentation-only corrections to heimdall’s bootloader update procedure.
No open issues 🎉
What changed in this PR
This documentation-only PR corrects #1726’s description of heimdall’s bootloader updates: updates are staged on the SD card and written to EEPROM at the next boot, rather than written live with flashrom.
Changes:
- Updates the runbook’s commands, staged-file check, and nightly reboot timing.
- Adds a changelog correction recording the applied configuration and cleanup results.
| File | Description |
|---|---|
| docs/runbooks/build-heimdall.md | Corrects the bootloader update procedure and explains when staged updates are written. |
| docs/changelog.md | Records the correction to the earlier entry and the observed results on heimdall. |
Review effort: Balanced
5 of 6 tasks
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.
What changed
build-heimdall.md's bootloader section now says what applying it actually did onheimdall:pieeprom.upd, its signature andrecovery.bingo into/boot/firmware.A changelog entry corrects the one from Gerrrt/HomeLab#1726 and records today's apply on the Pi. Nothing on the lab changes.
Why
#1726's §2 said that on a Pi 5,
rpi-eeprom-updatewrites the chip withflashromwhile the Pi runs. It merged before that claim could be corrected. On heimdall, at 14:12 today, it logged "SPI device /dev/spidev10.0 not found", staged the files and reported "EEPROM updates pending". The timing in the runbook changes with it. A new release is staged at the first 04:30 boot after the package brings it, and written at the second.Blast radius
None. Docs only: one runbook section and one changelog entry.
secrets/*.sops.yamlVerification
The apply on heimdall (the operator typed the sudo password in a terminal tab):
ExecStartreads/usr/bin/rpi-eeprom-update -a./boot/firmwarenow holdspieeprom.upd,pieeprom.sigandrecovery.bin, dated 14:12.ls /dev/spidev*finds nothing.The leftovers:
apt-daily's lock: its timer fired at 14:12:58.DPkg::Lock::Timeout, it purgedrpi-connect-liteand removedlibaml1 libfuse2t64 libneatvnc1 libqt5x11extras5 python3-prctl.Afterwards: only 22 and 9100 listen, and
systemctl --failedis empty.Checks:
python3 scripts/check_docs.py:docs OK../scripts/lint.sh: everything that ran passed except ansible-lint, which fails the same way onmain(a localuvproblem).make validatepassesDeployed to the lab and confirmed working
Docs updated (
docs/, service README, ordocs/roadmap.md)🤖 Generated with Claude Code