roadmap PARTIAL

260. Boot xenon over the network, because the stick is the tax and the router is ours

calef, 2026-09-05: "xenon already hurts. We can control our router since it runs OpenWRT." Everything that does not need xenon is built, and the firmware settings and the router edit are done. What remains is one power cycle at the bench and one photograph, calef's because it is his machine, not because anything is unchosen. Nothing in this block asks calef to choose between options: the step is written down in notes/x86-uefi-boot/network-boot-xenon.md, and CI rehearses everything up to the real NIC on every pull request.

Why this is not the same problem radon had, and why the answer just changed

Milestone 257 (boot radon over the network) needed no cooperation from the network at all. U-Boot takes the server address from a script we write onto the card, so 192.168.8.216 is baked in and the house router never has to know anything.

PXE is the opposite. The DHCP server has to advertise the next server and the boot filename, and that is the router. When 257's lane refused dnsmasq, it did so for exactly this reason. Its own words are worth keeping because they are what made this look blocked: "a second DHCP server on it is an outage for everyone in the building."

That objection does not apply here and the difference is the whole reason this is startable. This is not a second DHCP server; it is one option on the existing one. OpenWRT's DHCP is dnsmasq, and its boot options can be scoped to a single MAC address, so xenon gets an offer and nothing else on the house network sees any change.

What makes it easier than radon, which is the opposite of what anyone would guess

xenon's payload is one file. cargo xtask uefi-image stages the loader, the kernel and the archive into a single BOOTX64.EFI, 9,210,880 bytes as measured on 2026-09-05 (this block said 9,180,160 when it was minted; the number moves with every kernel change and is not a constant). So a netboot is one TFTP transfer, where radon needs two and a boot script to sequence them. There is no fallback branch to write, because PXE either produces the file or the firmware moves to the next boot entry on its own.

And script/board-netboot is already board-agnostic. It serves a directory over TFTP and knows nothing about RISC-V; milestone 257 built it, and the ratified name says netboot rather than a board or a protocol precisely so it could serve this too. It served this without a single change to how it serves radon, at --root target/esp, and the one change it did need is in BUGS below.

What was built

The router half, written down and then made to run

bench/xenon-netboot/dnsmasq.conf. Four directives, each with its reason beside it: a dhcp-host tagging xenon by MAC, two dhcp-match lines tagging an EFI x86-64 client by option 93, and one dhcp-boot requiring both tags.

It is not only a record, and that is the point. script/netboot-rehearsal parses this file and answers DHCP out of it, so a typo in the configuration fails a gate on patagonia rather than at a bench with a camera in hand. That is the same move the multicast DNS responder's configuration document made (retired 2026-09-15; notes/mdns.md): one document, read by the thing and by the thing's test. A fact that lived only in the router would be the rung-four failure AGENTS.md names, and a reflashed router would take it with it.

No address is assigned to xenon, deliberately: set: with no IP is valid dnsmasq, tags the host without removing it from the dynamic range, and so cannot collide with a lease the router has already handed out. Nothing needs to reach xenon at a known address.

The architecture question, answered rather than sidestepped

DHCP option 93 says what the client can execute. Scoping by MAC alone would sidestep the problem, and the hole that leaves is worth naming: xenon itself is a BIOS client whenever Boot List Option is Legacy, which is one setup visit away. So the offer requires the architecture tag as well, and a client in the wrong mode gets no boot filename and falls through to the next boot entry, rather than being handed 9 MB of the wrong instruction set.

Measured, script/netboot-rehearsal --check, in under a second and with no emulator:

Client option 93 Offered
xenon in UEFI mode 7 EFI/BOOT/BOOTX64.EFI from 192.168.8.138
xenon, firmware sending the other EFI x86-64 value 9 the same
xenon after somebody sets Boot List Option to Legacy 0 nothing
xenon asking for an HTTP boot 16 nothing
xenon on firmware too old to send option 93 absent nothing
any other machine in the house 7 nothing

Only the first row can be exercised under OVMF, because OVMF is a UEFI machine and cannot be asked to be a BIOS one. That is why the table exists as its own gate.

The rehearsal, which is the deliverable that mattered

script/netboot-rehearsal boots nife the way xenon will, on patagonia, with nothing plugged in. A synthetic ethernet on QEMU's stream socket netdev carries real OVMF to the real script/board-netboot, serving the real target/esp, with the DHCP answers coming out of the config file above. No disk of any kind is attached: the wire is the only way in.

Measured, 2026-09-05 on patagonia: nife x86_64: boot complete, halting. in 8.2 seconds from QEMU start, 9,210,880 bytes transferred, blksize 1468 as EDK2 asks for it, the whole boot tour on serial. A second run an hour later, after the suite had rebuilt the image, measured 7.9 seconds and 9,797,120 bytes, which is the same claim twice and is also the evidence for the size not being a constant. The negative case (--mac 02:00:00:00:00:01) produces PXE-E16: No valid offer received and no boot, which is what a house machine that is not xenon must see.

CI runs all three (the configuration check, the boot and the refused MAC) against the release image in the boot-check job, as script/ci-build netboot-rehearsal. On an x86_64 Linux host on 2026-10-24 the release image (8,180,736 bytes) booted in 14.1 s and the whole row took 1 min 36 s.

-netdev user was refused rather than missed. QEMU's slirp has a DHCP server and a TFTP server built in, and pointing them at target/esp PXE-boots this image in one line. That was the first thing tried and it worked, and it is what proved the payload boots at all. It proves nothing about our configuration or our server, because neither is in the path, and neither can be put there. Slirp's NAT has no TFTP helper, and TFTP moves to a fresh server port after the first packet, so the DATA reply is dropped by the very NAT that was meant to carry it.

One defect found in board-netboot, and what it cost

EDK2 asks for a file twice: once to learn its size, which it does by starting a read, taking tsize out of the option acknowledgement, and sending a TFTP ERROR to stop the transfer it just started. And once to fetch it. board-netboot did not understand ERROR. It retried its acknowledgement six times, held the client past its own timeout so the real request had to be sent again, and printed FAILED on the one transfer of a boot that was working perfectly.

Handling it took the rehearsal from 23.4s to 8.2s and made the log true. Milestone 257 wrote down the shape of this: a network boot can fail in a way that looks like success. This is the same coin's other face, and it would have been read at the bench as a broken server.

The bench procedure

notes/x86-uefi-boot.md, in the shape notes/visionfive2.md's runbook has: the two firmware settings with their photograph numbers, the router edit in both UCI and raw-dnsmasq form, the two commands on patagonia. What the screen and the server terminal should each say in order, and a failure table keyed on what a person with a camera and no shell can actually see.

It removes the co-location, which is the second reason to want it. First light is on record as happening the way it did because "patagonia could not be moved to the bench". A netboot does not need it to be: xenon needs a cable to the house local area network and patagonia needs to be on the same local area network, from wherever it is.

The two firmware settings, which are calef's

Read off notes/xenon-firmware.md, which transcribed 70 photographs of this machine's setup UI on 2026-09-05 so that a lane would not have to walk to it. Both are on one page:

IMG_4031, Integrated NIC. Enable UEFI Network Stack unticked. Disabled ( ); Enabled (•); Enabled w/PXE ( ). So the LAN is visible to an OS but there is no UEFI PXE path.

So two changes: tick Enable UEFI Network Stack, and move Integrated NIC from Enabled to Enabled w/PXE. They are calef's for the reason that note already gives about firmware generally, that a setting changes this machine's behavior for everything else it is used for.

Nothing else in the transcription is in the way. Boot List Option is already UEFI, Secure Boot is Disabled, legacy option ROMs are unticked, and UEFI Boot Path Security has no effect while no admin password is set, and none is.

The proof that this milestone worked

xenon boots nife with no removable media in it, photographed, since the Dell's video output is the channel that carried first light. Anything short of that is a rehearsal, and the rehearsal is now done: it exists, it is green, and it is what makes the bench session worth an evening.

What this does not fix, and it is the thing that will bite next

xenon halts at POST without a keyboard. notes/xenon-firmware.md records Warnings and Errors set to Prompt on Warnings and Errors, Enable Keyboard Error Detection ticked, and eight Alert! Keyboard not found entries in the machine's own event log across a year. A netboot rig whose point is an unattended power cycle runs straight into that, and the two settings that would change it are an architect's for the same reason as the two above. Network boot without that is a faster bench session, not an unattended one.

Status, 2026-10-24 (UTC)

PARTIAL. The exit criterion is the proof above, a photograph of xenon booting nife with no removable media, and it does not exist yet. Against the tree:

Piece State Evidence
Router configuration, parsed and obeyed built, gated bench/xenon-netboot/dnsmasq.conf; script/netboot-rehearsal --check, six clients
PXE boot through the real server, no disk built, gated script/ci-build netboot-rehearsal in CI's boot-check job
A refused client gets no boot file built, gated the same row, --mac 02:00:00:00:00:01, ends at PXE-E16
The bench procedure written notes/x86-uefi-boot/network-boot-xenon.md, steps 3 and 4
The two firmware settings done 2026-10-04 notes/xenon-firmware.md's table; photographs owed
The router edit done 2026-10-04 below
xenon booted over the wire, photographed not done scheduled: step 3 of the xenon evening

BUGS

Follow-on

Index row

PXE needs the DHCP server to point at the boot server, which milestone 257 could avoid and this cannot. The objection died when calef said the router is OpenWRT: not a second DHCP server, one option on the existing one, scoped to one MAC