mirror of
https://github.com/mytechnotalent/Embedded-Hacking.git
synced 2026-07-12 07:06:42 +02:00
84 lines
3.9 KiB
XML
84 lines
3.9 KiB
XML
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 800">
|
|
<style>
|
|
.bg{fill:#0a0a0f}.pnl{fill:#12121a;stroke:#1a1a2e}.hdr{fill:#12121a}
|
|
.title{font:bold 42px 'Courier New',monospace;fill:#00ff41}
|
|
.sub{font:bold 28px 'Courier New',monospace;fill:#00d4ff}
|
|
.txt{font:24px 'Courier New',monospace;fill:#c0c0c0}
|
|
.dim{font:20px 'Courier New',monospace;fill:#888}
|
|
.grn{font:bold 24px 'Courier New',monospace;fill:#00ff41}
|
|
.red{font:bold 24px 'Courier New',monospace;fill:#ff0040}
|
|
.cyn{font:bold 24px 'Courier New',monospace;fill:#00d4ff}
|
|
.amb{font:bold 24px 'Courier New',monospace;fill:#ffaa00}
|
|
.badge{stroke:#00ff41;rx:14}
|
|
</style>
|
|
<rect class="bg" width="1200" height="800"/>
|
|
|
|
<!-- Title -->
|
|
<text x="600" y="52" text-anchor="middle" class="title">The Bootrom</text>
|
|
<text x="600" y="88" text-anchor="middle" class="dim">32KB Factory-Programmed ROM — Where It All Begins</text>
|
|
|
|
<!-- Left Panel: Properties -->
|
|
<rect x="40" y="110" width="540" height="340" rx="8" class="pnl"/>
|
|
<text x="60" y="148" class="sub">Bootrom Properties</text>
|
|
|
|
<rect x="60" y="170" width="500" height="42" rx="4" fill="#0a0a0f" stroke="#1a1a2e"/>
|
|
<text x="75" y="198" class="txt">Size</text>
|
|
<text x="340" y="198" class="grn">32 KB</text>
|
|
|
|
<rect x="60" y="222" width="500" height="42" rx="4" fill="#0a0a0f" stroke="#1a1a2e"/>
|
|
<text x="75" y="250" class="txt">Location</text>
|
|
<text x="340" y="250" class="cyn">0x00000000</text>
|
|
|
|
<rect x="60" y="274" width="500" height="42" rx="4" fill="#0a0a0f" stroke="#1a1a2e"/>
|
|
<text x="75" y="302" class="txt">Modifiable?</text>
|
|
<text x="340" y="302" class="red">NO — mask ROM</text>
|
|
|
|
<rect x="60" y="326" width="500" height="42" rx="4" fill="#0a0a0f" stroke="#1a1a2e"/>
|
|
<text x="75" y="354" class="txt">Purpose</text>
|
|
<text x="340" y="354" class="amb">Boot the chip</text>
|
|
|
|
<text x="60" y="420" class="dim">Burned into silicon at factory</text>
|
|
<text x="60" y="445" class="dim">Like BIOS in your computer</text>
|
|
|
|
<!-- Right Panel: What It Does -->
|
|
<rect x="620" y="110" width="540" height="340" rx="8" class="pnl"/>
|
|
<text x="640" y="148" class="sub">What It Does</text>
|
|
|
|
<rect x="640" y="170" width="500" height="42" rx="4" fill="#0a0a0f" stroke="#1a1a2e"/>
|
|
<text x="655" y="198" class="grn">1.</text>
|
|
<text x="700" y="198" class="txt">Initialize hardware</text>
|
|
|
|
<rect x="640" y="222" width="500" height="42" rx="4" fill="#0a0a0f" stroke="#1a1a2e"/>
|
|
<text x="655" y="250" class="grn">2.</text>
|
|
<text x="700" y="250" class="txt">Check boot sources</text>
|
|
|
|
<rect x="640" y="274" width="500" height="42" rx="4" fill="#0a0a0f" stroke="#1a1a2e"/>
|
|
<text x="655" y="302" class="grn">3.</text>
|
|
<text x="700" y="302" class="txt">Validate IMAGE_DEF</text>
|
|
|
|
<rect x="640" y="326" width="500" height="42" rx="4" fill="#0a0a0f" stroke="#1a1a2e"/>
|
|
<text x="655" y="354" class="grn">4.</text>
|
|
<text x="700" y="354" class="txt">Configure flash</text>
|
|
|
|
<rect x="640" y="378" width="500" height="42" rx="4" fill="#0a0a0f" stroke="#1a1a2e"/>
|
|
<text x="655" y="406" class="grn">5.</text>
|
|
<text x="700" y="406" class="txt">Jump to your code</text>
|
|
|
|
<!-- Bottom Panel: IMAGE_DEF -->
|
|
<rect x="40" y="475" width="1120" height="295" rx="8" class="pnl"/>
|
|
<text x="60" y="513" class="sub">IMAGE_DEF — Magic Markers</text>
|
|
<text x="60" y="548" class="dim">Bootrom looks for these to validate firmware</text>
|
|
|
|
<rect x="60" y="565" width="1080" height="50" rx="4" fill="#0a0a0f" stroke="#00ff41" stroke-width="2"/>
|
|
<text x="80" y="598" class="grn">Start Marker</text>
|
|
<text x="380" y="598" class="cyn">0xFFFFDED3</text>
|
|
<text x="680" y="598" class="dim">"I'm a valid Pico binary!"</text>
|
|
|
|
<rect x="60" y="625" width="1080" height="50" rx="4" fill="#0a0a0f" stroke="#00ff41" stroke-width="2"/>
|
|
<text x="80" y="658" class="grn">End Marker</text>
|
|
<text x="380" y="658" class="cyn">0xAB123579</text>
|
|
<text x="680" y="658" class="dim">"End of header block"</text>
|
|
|
|
<text x="60" y="718" class="txt">Bootrom reads flash at 0x10000000,</text>
|
|
<text x="60" y="748" class="txt">finds these markers, then boots.</text>
|
|
</svg> |