Rescue SD has drifted and backups are stale #9
Labels
No labels
blocked-physical
cleanup
hardware
infra
kernel
P1-critical
P2-high
P3-normal
P4-later
reliability
security
upstream
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
tiagoagueda/a80#9
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Resolved 2026-08-28 — see the new section at the end of
36-rescue-sd.md.
Re-synced from the eMMC while the board was running from the card, so the eMMC stayed available
as a fallback throughout.
uImage.known-goodbeside it/bootattic/BCM4335C0.hcd+ nvramgmac-rebind.service/etc/network/interfacesloonly, as on the eMMCThe card had no fallback, which mattered more than the drift
Its U-Boot predated the extlinux
bootcmd, so it loaded the kernel with a hardcoded legacyimage load and ignored
extlinux.confentirely. One bad write to/boot/uImageand therecovery path would not boot at all. The eMMC's bootloader was copied over (8 KiB, 512 KiB,
verified by readback; the partition starts at 1 MiB so the write cannot reach the filesystem),
and the card now presents its own menu:
⚠️ Copying units is not copying their dependencies
The first pass left the card with two failed units on boot —
ir-protocolswith203/EXEC,bt-public-addrwith a timeout — becauseir-keytable,ir-ctl,btmgmtandhciconfigwere not installed there. The hardware was fine and every md5 matched; the resultwas still broken. Fixed with
bluez,v4l-utilsandir-keytable(a separate package onDebian 13).
A rescue system that boots with failures is worse than one without those services at all.
Verified across two cold boots
Backups kept: old kernel as
uImage.rescue-20260828-0942on the card, old boot area assd-bootarea-20260828-0954.img.gzon ouranos (d9e1c8591653e4d832544a5371e74428) and recordedin ARCHIVE.md — now the only copy of that bootloader build.
Tools committed:
tools/sync-rescue-sd.sh,tools/flash-sd-uboot.sh.⚠️ Still open from this issue's original scope: backups are stale. The rootfs tarballs in
ouranos:~/a80/backup/predate two days of changes. That is worth its own issue.