Repository navigation
Model a donut's bootrom cycle in the simulator - #169
Merged
Merged
Conversation
A donut whose bootrom gets no handshake in 40 seconds is taken by its watchdog, shows nothing for 39 seconds and boots again; with boot0's header cleared that is the bootrom again, as one did on 2026-11-12. bootrom.py now does the same, on the simulator's clock, and the handshake stops it. dot.py gains unplug, which leaves the Echo dark, and cycle, which powers it on with no button held. A restore started with nothing on USB and cycled once it waits for the Echo reaches a cleared donut's bootrom with nothing named: the code before 7a7b83b stops there with "cannot tell which Echo this is", as it did on hardware, and main restores. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bboe
force-pushed
the
sim-donut-bootrom-cycle
branch
from
November 12, 2026 20:35
c073de3 to
bd79513
Compare
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.
The simulator now models a donut's bootrom watchdog: with boot0's header cleared, it goes dark for 39 seconds and returns to its bootrom, over and over. New
unplugandcyclecommands let a restore start in that gap, so the simulator reproduces #166's failure without a donut.The failure on hardware, before #166:
🤖 Generated with Claude Code