Public Access
Site / build (pull_request) Successful in 9s
Seven posts imported into site/content/devlog/ with their text unchanged, links between them pointing to /devlog/, and shortcodes (sign, cast, steps, asides, folded sections, diagrams, captions) restyled in the site's palette. The 17 inline SVG diagrams carried <style> blocks and style attributes the site's Content-Security-Policy refuses: their rules moved to devlog-diagrams.css, and a diagram's minimum width is a class. An Atom feed at /devlog/atom.xml. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01EhqxQ49eCju4CzKYNjZzwT
49 lines
3.9 KiB
XML
49 lines
3.9 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 760 452" role="img" aria-label="Every start, in order. Power on or restart. The bootloader boots the other slot if a new image already had its chance. Then setup runs bootGuard and the crash record: which version ran, which one crashed, and how many starts in a row ended in a crash. Three in a row: Safe Mode, with only the clock, Wi-Fi, the Update Service and the Debug Console, no Apps, no IRC, no SD card; fix it by pushing an update, or reboot. Otherwise a normal start with everything, the main loop on the task watchdog, and the crash count reset after 60 seconds up. A panic, or a main loop stuck for 5 seconds, leaves a core dump and restarts, back to the top.">
|
|
<defs>
|
|
<marker id="bt-arrow" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path d="M0,0 L10,5 L0,10 z" fill="currentColor"/></marker>
|
|
<marker id="bt-arrow-bad" viewBox="0 0 10 10" refX="9" refY="5" markerWidth="7" markerHeight="7" orient="auto-start-reverse"><path class="f-red" d="M0,0 L10,5 L0,10 z"/></marker>
|
|
</defs>
|
|
<g font-family="JetBrains Mono, ui-monospace, monospace" fill="currentColor">
|
|
<rect class="bt-box" x="200" y="16" width="360" height="44" rx="6"/>
|
|
<text x="380" y="43" font-size="12" text-anchor="middle" font-weight="600">power on, or restart</text>
|
|
|
|
<rect class="bt-box" x="200" y="84" width="360" height="56" rx="6"/>
|
|
<text x="214" y="106" font-size="12" font-weight="600">bootloader</text>
|
|
<text x="214" y="126" font-size="11" class="bt-dim">new image had its chance? other slot</text>
|
|
|
|
<rect class="bt-box" x="200" y="164" width="360" height="56" rx="6"/>
|
|
<text x="214" y="186" font-size="12" font-weight="600">setup(): bootGuard + crash record</text>
|
|
<text x="214" y="206" font-size="11" class="bt-dim">who ran, who crashed, how many in a row</text>
|
|
|
|
<rect class="bt-hot" x="200" y="244" width="360" height="44" rx="6"/>
|
|
<text x="380" y="271" font-size="12" text-anchor="middle" font-weight="600">3 crash starts in a row?</text>
|
|
|
|
<rect class="bt-safe" x="16" y="320" width="300" height="100" rx="8"/>
|
|
<text x="30" y="344" font-size="12" font-weight="600">Safe Mode</text>
|
|
<text x="30" y="366" font-size="11">clock, Wi-Fi, Update Service,</text>
|
|
<text x="30" y="384" font-size="11">Debug Console. Nothing else:</text>
|
|
<text x="30" y="402" font-size="11" class="bt-dim">no Apps, no IRC, no SD card</text>
|
|
<text x="166" y="442" font-size="11" text-anchor="middle" class="bt-dim">fix: push an update, or reboot</text>
|
|
|
|
<rect class="bt-ok" x="444" y="320" width="300" height="100" rx="8"/>
|
|
<text x="458" y="344" font-size="12" font-weight="600">normal start</text>
|
|
<text x="458" y="366" font-size="11">everything: Services, Apps</text>
|
|
<text x="458" y="384" font-size="11">loop on the watchdog (5 s)</text>
|
|
<text x="458" y="402" font-size="11" class="bt-dim">60 s up: crash count reset</text>
|
|
|
|
<path class="bt-line" d="M380 60 V80" marker-end="url(#bt-arrow)"/>
|
|
<path class="bt-line" d="M380 140 V160" marker-end="url(#bt-arrow)"/>
|
|
<path class="bt-line" d="M380 220 V240" marker-end="url(#bt-arrow)"/>
|
|
<path class="bt-line" d="M290 288 V302 H166 V316" marker-end="url(#bt-arrow)"/>
|
|
<text x="174" y="314" font-size="11" class="bt-dim">yes</text>
|
|
<path class="bt-line" d="M470 288 V302 H594 V316" marker-end="url(#bt-arrow)"/>
|
|
<text x="602" y="314" font-size="11" class="bt-dim">no</text>
|
|
|
|
<path class="bt-line-bad" d="M744 370 H752 V38 H564" marker-end="url(#bt-arrow-bad)"/>
|
|
<text x="742" y="190" font-size="11" text-anchor="end" class="bt-red">panic, or the</text>
|
|
<text x="742" y="206" font-size="11" text-anchor="end" class="bt-red">loop stuck 5 s:</text>
|
|
<text x="742" y="222" font-size="11" text-anchor="end" class="bt-red">core dump,</text>
|
|
<text x="742" y="238" font-size="11" text-anchor="end" class="bt-red">restart</text>
|
|
</g>
|
|
</svg>
|