roadmap NOT-STARTED

511. The boards' screen comes from the firmware, not from a ramfb

(Number provisional until the merge queue lands it.) Promoted from the proposal the-boards-screen-under-uefi, filed 2026-09-19, on calef's instruction of 2026-09-20 to give every proposal on main a number. The text below is the proposal's own, unedited, by the promotion rule. Found by milestone 243's lane while closing that block's two Outstanding items, and filed because milestone 441 changed the premise underneath it while the lane was running. uefi_loader gained aarch64 and riscv64 boot files, so on those architectures there is now a firmware stage that has already lit a display.

Everything is in this tree; the only outside dependency is a machine to try it on, and QEMU with the board firmwares is enough to start.

In brief. Milestone 243 (a machine with no serial port) gave aarch64 and riscv64 a screen through QEMU's ramfb, which is what virt can present when nothing lit a display. The guest supplies 1.9 MB of .bss and tells the emulator where it is. That was the right answer for a board booted from -kernel and it is the wrong one for a board booted from a stick. A UEFI firmware on those architectures has a EFI_GRAPHICS_OUTPUT_PROTOCOL exactly as an x86 one does, with a real aperture behind it.

The two pieces, and the second is the interesting one

  1. The handoff banner, on all three architectures. uefi_loader's find_screen and its screen::paint_handoff call are under arch/x86_64/ because that is where they were written. Nothing in either is x86-specific: find_screen is one LocateProtocol call, and the painter is screen_console. Moving find_screen up to uefi_loader/src/arch/mod.rs and calling paint_handoff from the aarch64 and riscv64 hand_over functions, after exit_boot_services, gives those boards the same bounded window milestone 243 gave x86_64. Small, and it is the part that needs no agreement between stages.

  2. Carrying the screen to the kernel, which is a wire format and therefore the real work. The x86 path rides PVH's cmdline_paddr, which the boards do not have: they are handed a device tree, and uefi_loader already copies and patches one (uefi_loader::device_tree_patch, for the initrd). So the loader could synthesize a simple-framebuffer node into that copy, which is the same node milestone 157 (real display output on the board) will read from U-Boot on the VisionFive 2. One parser in machine_discovery::framebuffer would then serve both stages, and neither would need a second spelling of a screen.

Why it is worth doing rather than leaving ramfb in place

What has to be decided before it is built, and by whom

This is a wire format between two boot stages, which the move fast on what can be undone tenet puts in the expensive column, so it should not be invented by a lane in passing. The questions:

Where the pieces are

Index row

uefi_loader gained aarch64 and riscv64 boot files in milestone 441 (the program that makes the stick), so the boards now have a firmware stage that has lit a display. It could paint milestone 243's handoff banner there too. And it could hand the kernel a real aperture by synthesizing the simple-framebuffer node milestone 157 will read from U-Boot, retiring the ramfb's 1.9 MB of .bss. The second half is a wire format between two boot stages and wants a decision rather than a lane.