roadmap BUILT

243. A machine with no serial port has no way to say anything, and no gate can read it

Built. The boot tour reaches a UEFI machine's framebuffer from early boot on, on all three architectures, and a gate reads it under QEMU. See notes/serial-less-output.md.

What BUILT means here, stated plainly, because two of the three problems below are answered rather than solved. A kernel that can write its diagnostics somewhere other than a UART now does so on all three architectures. The window before the kernel exists is bounded rather than narrated, and it cannot be narrated (see below). And a gate can read a screen under emulation on all three, while reading a real serial-less machine is milestone 369 (the fleet is not virtual) and has always been its own block.

What was built, and what it does not cover

The mechanism chosen is the firmware's own linear framebuffer. UEFI's EFI_GRAPHICS_OUTPUT_PROTOCOL reports one, and its address survives ExitBootServices, because the aperture is a BAR on the display adapter rather than firmware memory: what ends is the firmware's console, not the display. That single fact is why this milestone is a week rather than a quarter.

Piece Where
The sentence one boot stage says to the next machine_discovery::framebuffer, riding PVH's own cmdline_paddr (a field the format has always had and nothing ever read)
Asking the firmware uefi_loader::find_screen, one LocateProtocol call
Painting text crates/screen_console (name provisional), sharing bitmap_font with the graphical terminal and sharing nothing else with video_terminal
The kernel seam console::attach_screen, teed under the lock print! already takes; arch::x86_64::mmu carries the aperture into the fine map
A gate reading a screen board_console::screen: a screendump decoded back into text by exact glyph match, judged by board_console::progress unchanged

Measured under OVMF, 2026-09-04: 1280x800 bgrx at 0x80000000, 182x100 cells, and cargo xtask uefi-boot reads 96 non-blank rows of the boot tour back off the framebuffer. That assertion is the one the serial transcript could not make: the transcript would be identical if the screen were black.

One thing it still does not cover, and two that were closed on 2026-09-19:

In brief. Every word nife has ever said, it said down a UART.

A commodity machine does not have one. xenon does, and that was chosen rather than lucky: milestone 87 (the x86_64 bare-metal machine) picked a Dell with a C4PDJ serial module and a null modem. So this was consciously deferred, and this block is where the deferral stops being implicit.

Three problems wearing one name

  1. A human watching a machine boot. Answered by the framebuffer chain: milestone 157 (the U-Boot framebuffer handoff), milestone 242 (USB host and HID) and milestone 177 (wire the graphical terminal stack into the real interactive boot). That path exists and is partly built.

  2. A gate reading a machine. No answer exists. Every instrument this project has for unattended hardware reads a serial line. The candidates each cost something:

  1. Early boot, which is the hardest. Before the framebuffer exists, a serial-less machine is silent, and a panic there produces nothing at all. This is not a nife peculiarity: it is why commodity operating systems ship a firmware console, a splash, or postmortem logging. nife has none of the three.

The fleet this unlocks, which calef named on the day this was minted

The household machines calef named, why a nife stick already reaches them, which of them it cannot start, and the cheap experiment they make available are in the-fleet.md. The bench procedure for that experiment is notes/serial-less-output.md's bench section.

Why it is worth one block rather than three

Because the answer might be one mechanism. A kernel that can write its diagnostics somewhere other than a UART serves the human, the gate and the panic at once, and choosing three separate answers would be the expensive way to discover that. This block does not pick the mechanism, and the choice is the milestone.

The constraint that should drive it: whatever it is has to work when the thing being reported is the reason the machine is broken. A network console needs a working stack; a filesystem log needs a working filesystem; the UART needed neither, which is why it was the right first answer and why replacing it is harder than it looks.

Follow-on

Early boot, 2026-09-19: bounded rather than narrated

The window cannot be made to speak, and that is a finding rather than a concession. From ExitBootServices to console::attach_screen there is no console at all. The firmware's is gone by specification and the kernel's is not up. Everything in between (the loader's mode-switch trampoline, boot.s's 32-bit half, the page tables, the long-mode jump) runs 32-bit with no IDT. A fault there is a triple fault and a silent reset. No code anybody could write in that window knows where the screen is.

So the window is bounded instead. uefi_loader clears the screen and paints two lines as its final act, after ExitBootServices and before the jump:

nife loader: firmware released, entering the kernel.
If this line is still here, the kernel stopped before its console came up.

The screen is therefore never blank across the handoff. Five outcomes are distinguishable where four used to share one appearance. The firmware never started the stick. The loader refused and said why over ConOut. The kernel never reached its first statement (this line, still there). The kernel armed its console and died after (black). Or the boot tour. The third is the one that did not exist, and it is the whole of what is buyable.

Proved rather than reasoned. With a temporary halt in place of the jump, cargo xtask uefi-boot's screendump had ink in exactly the top sixteen pixel rows of a 1280x800 screen, reading those two lines and nothing else.

The boards get nothing equivalent and the reason is the boot chain. Under QEMU they are entered from -kernel with no stage before the kernel to paint anything. The kernel's own ramfb framebuffer is in .bss, which boot.s has not finished zeroing at the point a banner would have to be written. On the VisionFive 2 the stage that could speak is U-Boot, which is milestone 157. Their dark window is boot.s plus one fw_cfg conversation, a few hundred instructions.

The other two architectures, 2026-09-19: ramfb

x86_64 gets a screen because the firmware already lit one. The two virt boards are entered from -kernel with nothing configured, so there was nothing to discover and no amount of arch-neutral console code could help. What those boards can present is ramfb, which inverts the arrangement: the guest owns the pixels and tells the emulator their physical address over fw_cfg, after which QEMU scans them out continuously. Nothing sits between a println! and the picture.

Piece Where
The fw_cfg wire format, host-tested (10 tests) crates/firmware_configuration (name provisional)
The register poking, two DMA transactions before arch::mmu::init kernel/src/drivers/ramfb.rs
The memory and the wiring kernel/src/screen.rs (name provisional), console::peek_screen (provisional)
Painting text crates/screen_console, unchanged
The gate cargo xtask screen-boot <arch> (name provisional), uefi-boot's twin, decoding with board_console::screen unchanged

Measured 2026-09-19, and both legs run inside script/test:

screen-boot: read 33 non-blank row(s) of the aarch64 tour back off a ramfb, ending
screen-boot:   | nife self-test: 5 of 5 passed
screen-boot: read 63 non-blank row(s) of the riscv64 tour back off a ramfb, ending

The surprise worth recording is what the inversion broke. Milestone 400's handover maps the screen's physical range into a userspace driver, which is right for a display adapter's BAR and is a hole for a framebuffer that is the kernel's own .bss. user::boot_screen_terminal now refuses a screen inside the kernel image, checked before the yield so a refusal leaves the kernel still painting rather than a cleared screen nobody owns. It is a range test rather than a flag, so milestone 157's U-Boot aperture will pass it with nothing to remember.

It is a boot of its own rather than a stage of the suite, for the reason the boards' screen gives.

Two repairs the lane made to these gates afterwards are in gate-repairs.md: the x86_64 marker that asserted a race on 2026-09-20, and the riscv64 leg's first red run in CI with the diagnostic line that made it readable.

BUGS

Index row

the boot tour is on the screen on all three architectures, read back off the framebuffer by a gate that decodes the glyphs: a UEFI aperture on x86_64 and a ramfb the guest supplies on the two boards. The window before the kernel exists is bounded by a line the loader paints and cannot be narrated further; a gate reading a real serial-less machine is milestone 369