notes

Bench boots 1 to 14, August 2026

Name: ratified 2026-10-18 (calef, "Approve all").

An appendix to notes/visionfive2.md, beside its BUGS section. It is the boot-by-boot record of first silicon and the limitations found on the way.

Boots 1 to 11, 2026-08-14 and 2026-08-15

The kernel first ran on this board on 2026-08-14. It got through its banner (DW-8250 console, DTB parse, paging, traps, timer, frame allocator) before panicking on the QEMU PCIe constants. jh7110-against-virt.md records that failure and its fix.

The second boot that day carried the PCIe fix. It got through fine paging and ISA discovery, and died starting hart 0. The vendor tree's status lie walked the S7 past the disabled-hart handling, and vendor OpenSBI crashed rather than refuse the start. That is the second stop in hart-roster-stops.md.

The boots after that carried the supervisor rule and the PLIC context map through, and hit the third stop. The first non-contiguous online set this kernel ever ran on exposed every count-as-index cpu loop at once. Spawn placement put init into parked slot 0's inbox first. It took three boots to diagnose, was fixed in 1329874, and was swept after.

The supervisor rule and the context map are QEMU- and host-proven, and board-proven as far as those boots reached. The online-set sweep's {1,2,3} shape is host-proven in crates/cpu_set. Whether the fixed placement carries the board through the demo was the next bench boot's fact. Like everything QEMU cannot prove, that is what "To measure at the bench" is for.

Boot 7 was the first with the placement fix and the cross-hart fence.i. It appeared to hang a fourth way, in a state the transition audit said no legal path produces. Boot 8's instrumented dump was read as catching an undelivered wake, and the undelivered-wake gate was built against it (boots-7-and-8.md).

The fifth stop (2026-08-15) overturned that reading (boots-9-and-10.md). The dumps of boots 7 through 9 show the terminal state of a completed tour. The parked receivers are the UART demo's driver and byte receiver. The wake was the worker's real send. svc=20 is the choreography's exact total. So no undelivered wake, no fabricated state and no corruption have been observed on this board. The gate and the pop-own-current guard stay as hardening, with their injection tests. Their origin story is corrected in notes/scheduler.md.

The fifth stop left one thing open. The tour's serial lines after "init : measured, built, started" were absent from the bench record, while the machine state proves the printing steps ran. Boot 11 carried the discriminators: tour stage in every dump header, tx= in the diag line, serve: ring events, and the registry canary. The first move was to re-examine the boot 7 through 9 captures for the missing lines.

Boots 12 and 13 closed the story, as the measured-boot pair

Boot 12, on 2026-08-15, was the first under the name nife. It cleared the whole bring-up and was refused at the trust boundary: MEASURED BOOT REFUSED: 'program_measurements' is not what this kernel image was built against. The kernel halted rather than hand the archive to init. The mismatch was real and ours. script/board-image built the kernel before packing the archive that regenerates the manifest the kernel compiles in. So the kernel on the card vouched for the previous archive. QEMU never hit it, because xtask orders those steps correctly. The fix swapped the script's order, and its comment carries this story.

Boot 13, with the pair built in order, ran the tour to the final banner. Init measured and built worker from the 6,294,016-byte archive (child sent 81, expected 81). Preemption ran two never-yield threads 3.3M and 28.3M iterations, with 61 preemptions. Every discriminator boot 11 was instrumented for reported a healthy machine. The five diag dumps show svc=20 frozen, identical event rings, and the two parked receivers of the demo's terminal state.

Two observations from 13 were recorded rather than chased. First, the early scheduler : smoke line reported 0 of 2 kernel threads ran; boot 12 said 1 of 2. The preemption numbers prove scheduling, so the smoke line races real timing and its wording overclaims. That was fixed 2026-08-15. The check was four yields on the boot hart, a yield count rather than a duration, which the other harts outran. It now waits clock-bounded, two seconds, until both threads have run. The success wording prints only then, with a loud FAILED line on the timeout path. So the next bench boot should read 2 of 2 kernel threads ran.

Second, a key press at the prompt did nothing. That confirms on silicon the UART-IRQ limitation below: the driver armed line 10, and the board interrupts on 32.

The refusal followed by the pass is the measured-boot demonstration end to end. The same board refused the wrong pair and ran the right pair.

Boot 14 put all four U74s online

Boot 14 (2026-08-15) was the first boot with the eight-seat, by-hart-id kernel, the revived fifth-hart work. It printed 5 core(s) in the device tree, 4 startable, the S7 exclusion line with its reason, then 4 core(s) online. The tour ran straight through to the banner with nothing after it. The stage-gated watcher stayed quiet, exactly as a finished tour should have it. Measured boot passed silently.

The preemption line is where the fourth core shows. It recorded 82 preemptions. The two never-yield threads' iteration counts landed far closer together (6.5M and 7.4M) than boot 13's three-core spread. The scheduler : smoke line said 0 of 2 again, its second board boot in a row. That line's wording overclaims on real timing, and it now has enough evidence to be a lane, not a shrug.

Three limitations found while building those

These were honestly not fixed that night. The first has since been closed, and its entry carries the record.

Two standing caveats

The text_offset in the Image header encodes one board's DRAM base. The header comment in boot.s and jh7110-against-virt.md carry the caveat.

Everything cited from "mainline" (Linux dtsi, U-Boot doc and source) describes current upstream. The flash on the board runs StarFive's vendor fork of unknown vintage. The relocation logic was verified in the vendor branch too. The environment defaults were not, which is why they sit on the bench list.