127. The seL4 machine: a Jetson TX1, so identical silicon referees the comparison
Correction, 2026-10-06: the seller shipped a TK1, and the TX1 is awaited
The board in hand since 2026-09-01 is not a TX1. calef photographed it on 2026-10-06 (UTC), still
sealed: PM375 DEV KIT, PCB:180-7R375-1002-D00, NVIDIA TEGRA K1. That is a Jetson TK1 (Tegra
K1, four Cortex-A15s, 32-bit Armv7), shipped against the TX1 order recorded below. Sources are in
notes/bench-runbook.md, "argon is not in hand". calef, 2026-10-06: the TK1 is going back
regardless, and he is working with the seller to get a TX1.
The plan stands: argon is the TX1, for identical silicon with seL4's published figures. Only the
board in hand was wrong. So the gate is a delivery again, with no date, and status stays
NOT-STARTED. Everything below about the TX1 (tegra210, the A57, DRAM at 0x8000_0000, the
16550, the J21 header) is awaiting the board, not false. What is false is the 2026-09-01 record
that argon was in hand, marked where it appears.
Raised 2026-08-15 from the aarch64 board survey (notes/aarch64-board-survey.md, which holds the candidate table, the sel4bench support tiers with sources, and the port-cost analysis this block summarizes). Purchased 2026-08-15 (calef): a factory-sealed TX1 developer kit, $89.99, delivery estimated 2026-08-19 to -26; in hand as of 2026-09-01 (corrected 2026-10-06: a TK1 arrived, see above), and named argon (notes/target-hardware.md). The milestone completes when the board has printed a byte over serial; the sel4bench comparison itself remains milestone 25's, sequenced behind the customer path by the ranking function.
The board is here (corrected 2026-10-06: it was not; the TX1 is awaited). calef confirmed on 2026-09-01 that argon is in hand, so this gate no longer means "waiting for a delivery" and now means the sense milestone 53 uses: the board is on the desk and this needs hands on it. What remains is bring-up, not procurement. The two pre-board lanes the block names are deliberately NOT gated and can run now.
Why this board and no other. The seL4 Foundation publishes aarch64 benchmark numbers for exactly one platform, the TX1, and they are the 413/426-cycle figures notes/benchmarks.md already compares against, regenerated by their CI within days of the survey. Owning that silicon upgrades the thesis's seL4 clause from a caveated cross-machine comparison ("a large part of the gap closing is the machine, not the kernel") to identical-die measurement, and referees our methodology for free. Our sel4bench run on this board can be validated against published figures before we trust it against ourselves. The purchase is an option on the thesis's named claim, made while EOL supply exists; the work waits its turn.
Port cost, from the survey: near the floor. GIC-400 is the GICv2 our driver speaks. The Tegra UART
is 16550-compatible in the reg-shift shape the JH7110 already taught ns16550.rs. The timer is
architected. Boot is stock U-Boot from SD taking the Image header we already emit. PSCI comes from
upstream TF-A's tegra210 BL31. Two prerequisites are buildable before the box arrives, each its own
lane. The first is the EL2 to EL1 entry drop in aarch64 boot.s (U-Boot enters at EL2; QEMU's ELF
path never did). The second is milestone 74's aarch64 PMCCNTR half, which is what the PMU is for.
To verify at the bench (the survey's unknowns, kept honest). Kit contents against the retail
manifest. The flashed L4T revision and whether U-Boot comes up without a JetPack reflash detour.
Entry EL and the DTB register from this U-Boot. PSCI visibility to a non-Linux payload on shipped
firmware. PMCCNTR readable at EL1. What pins the 1.9 GHz clock. sel4bench booting from SD rather
than the Foundation's rig. The A57 errata sheet negative-check.
And whether argon's U-Boot boots a USB stick through UEFI (added 2026-09-19, from DECISIONS
ยง157, whose stick should serve the bench as well as a customer). The tree records nothing about the
TX1's boot sources yet; recalled, not read, is that it boots from eMMC through NVIDIA's chain and
that L4T's U-Boot can read USB storage and SD. The same five commands as radon's
(notes/visionfive2.md, "To measure at the bench", item 10) answer it at argon's U-Boot prompt with a
FAT32 stick in: usb start, usb storage, fatls usb 0:1 /, help bootefi,
printenv boot_targets.
Prerequisite 1 (2026-09-02): the EL2 to EL1 entry drop, built and rehearsed on QEMU
Built, and milestone 127 stays NOT-STARTED: this is one of the two pre-board prerequisites the block above names, not the milestone, and nothing here has run on argon.
nife had only ever been started by QEMU's virt, which puts a payload at EL1. No real aarch64
bootloader does. boot.s now reads CurrentEL and drops itself to EL1 when it finds itself at
EL2, and continues unchanged when it is already there. Detection rather than a build-time switch,
because a switch means one binary for QEMU and a different one for argon, which is the arrangement
that produces a defect nobody can reproduce on the machine they have.
Both entries take the drop, and the second is not defensive symmetry. PSCI starts a core at
the highest implemented non-secure exception level whichever level called CPU_ON, so under an
EL2 the secondaries arrive at EL2 even though EL1 asked. A kernel that dropped only core 0 would
come up single-core-correct and fault on its second, which is the worst shape a bug can have.
The registers configured before the eret, and where the list comes from. Every one is a
register whose reset value is UNKNOWN or which a bootloader may leave however it liked, so at EL1
it is either invisible (the kernel cannot write HCR_EL2) or reads as something the kernel would
then believe. The register semantics are Arm DDI 0487 (the Arm Architecture Reference Manual for
A-profile); the choice of which ones was checked against Linux's arch/arm64/kernel/head.S
init_el2, which is the same list arrived at independently by people who have booted on
everything.
| register | why it is on the list |
|---|---|
SCTLR_EL1 = 0x30d0_0800 |
RES1 bits only: MMU, caches and alignment checking off, little-endian. The MMU-enable further down boot.s read-modify-writes this register, so entering at EL2 without it would orr three bits into garbage. Linux's INIT_SCTLR_EL1_MMU_OFF. |
HCR_EL2.RW |
EL1 is AArch64. Zero means AArch32, which is what a cleared HCR_EL2 gives. Every other bit stays zero, which is what says stage-2 is off and EL1 does not trap up. |
CPTR_EL2 = 0x33ff |
RES1 with TFP clear, so FP and SIMD work at EL1 and EL0. A set TFP faults the first floating-point instruction anywhere in the system, which on this ISA includes the compiler's own q-register memcpy. |
HSTR_EL2 = 0 |
No AArch32 system-register traps. One instruction to make the answer definite rather than inherited. |
MDCR_EL2 |
No debug or PMU traps to EL2, and HPMN = PMCR_EL0.N so every event counter is EL1's. This one is on the other prerequisite's path: MDCR_EL2.TPM traps every EL1 access to PMCCNTR_EL0, which is exactly what the aarch64 half of milestone 74 (cycle counters) reads. A flat zero is wrong: zero is a reserved HPMN without FEAT_HPMN0, which the A57 lacks, and 74's boot line then shows 0 event counters visible under NIFE_EL2=1. Linux's init_el2 writes PMCR_EL0.N, and so does this. |
MDSCR_EL1 = 0 |
No EL1 debug exceptions armed. A bootloader that was itself debugged can leave single-stepping on. |
CNTHCTL_EL2 bits 0-1 |
EL1PCTEN and EL1PCEN: EL1 access to the physical counter and timer does not trap. |
CNTVOFF_EL2 = 0 |
Subtracted from the physical counter to make the virtual one, which is the counter arch/aarch64/timer.rs deliberately uses. Leaving it is leaving the system clock offset by an arbitrary 64-bit number. |
VPIDR_EL2, VMPIDR_EL2 |
These are what MIDR_EL1 and MPIDR_EL1 return at EL1 once EL2 is implemented. Not copying the real values across leaves the core-parking branch, arch::isa's refusal check and the SMP bring-up all reading garbage, each failing far from the cause. |
VTTBR_EL2 = 0 |
Stage-2 is off, but this register's VMID still tags the EL1 TLB entries about to be created, so a stale value tags them with a number nothing invalidates by name. |
SPSR_EL2 = 0x3c5 |
D, A, I, F masked, M[3:0] = EL1h. Masked interrupts are what EL1 entry looks like on the QEMU path too, and nothing can take one until exceptions::initialize writes VBAR_EL1. |
ELR_EL2 |
The continuation, as a physical address (adr, not ldr =: the MMU is off). |
Deliberately not on the list, each for a stated reason. SCTLR_EL2 is left alone, because
the arm64 boot protocol requires the MMU and caches off on entry and this kernel takes that
contract rather than re-proving it. ICC_SRE_EL2 is a GICv3 register and drivers/gic.rs speaks
GICv2 only (notes/aarch64-board-survey.md), which is the same reason this board was chosen.
CNTFRQ_EL0 is writable only at the highest implemented level and is firmware's to set; writing
our own guess would replace a real number with an invented one.
QEMU could rehearse it, which is much better than reasoning
qemu-system-aarch64 -machine virt,virtualization=on gives the machine a hypervisor level and
starts the payload there, which is what U-Boot does on a board. NIFE_EL2=1 in the aarch64 runner
turns it on (TCG only; HVF has no nested virtualization to offer, and asking for both fails loudly
rather than silently ignoring one).
What was run and what it showed:
script/test, default: green on all three architectures,smp: psci over hvc, four cores online. The unchanged path.NIFE_EL2=1 script/test: green on all three architectures,smp: psci over smc, four cores online, which is the secondaries' drop working and not merely core 0's.- The boot banner, both ways:
exception level : EL1 (entered here)by default, andexception level : EL1 (entered at EL2, dropped in boot.s)underNIFE_EL2=1. Two numbers because on a board's first boot they are the two different questions.
The rehearsal corrected an assertion, which is the part that could not have been reasoned to.
the_psci_call_was_read_from_the_machine asserted the conduit was hvc as a constant, and the
EL2 run failed it. It should have: with a real EL2, an hvc from EL1 lands in that EL2 rather
than in firmware, so QEMU implements PSCI on smc and says so in the tree, and TF-A will do the
same on argon. The test now asserts the pairing of entry level and conduit, which is stronger
than the constant was, because the machine is not free to say either.
What only argon can confirm
The rehearsal proves the mechanism on an emulator whose EL2 QEMU implements. It cannot prove anything about NVIDIA's boot chain. These stay open and are the first items on the bench list:
- The entry level from this U-Boot really is EL2, rather than EL1 with a hypervisor already installed, or something a JetPack-specific chain does differently.
x0really holds the DTB pointer. Linux'sDocumentation/arch/arm64/booting.rstsays abootipayload gets the device tree's physical address inx0and zero inx1-x3. That is a firmware contract, not a measurement, and this project has a scar exactly here: it once told calef QEMU passed a device tree inx0, printed it, and got zero. What is verified today is QEMU's behavior, continuously, bydevice_tree_pointer_was_provided.- PSCI states
smcand answers a non-Linux payload on the shipped TF-A revision. PMCCNTR_EL0is readable at EL1 onceMDCR_EL2is cleared, with the shipped secure-world settings.MDCR_EL2.TPMis the EL2 half;MDCR_EL3/SDCRis TF-A's and is not ours to write.- Whether U-Boot leaves the MMU on. The boot protocol says off, and
enter_el1takes that contract rather than checkingSCTLR_EL2.M.
The bench procedure, in order
Run with a 3.3 V USB-TTL cable on the J21 header at 115200, per the survey's cost table.
- Power on with no SD card and capture U-Boot's own banner. Expected: a U-Boot version and an autoboot countdown. Failure: silence means the cable, the baud, or a boot chain too old to reach U-Boot, and the flashed-L4T-revision detour the block above budgets for. Nothing below is meaningful until this prints.
- Interrupt autoboot and run
bdinfoandprintenv fdt_addr_r kernel_addr_r. Records the DRAM base and where U-Boot intends to place things, which is what the board memory map inboot.swill be written against. Expected: DRAM at0x8000_0000on tegra210, not the0x4000_0000QEMUvirthardcodes. - Boot the image with
booti, kernel image and DTB loaded from the SD card. Expected: the banner, and specificallyexception level : EL1 (entered at EL2, dropped in boot.s). This line is the milestone's deliverable: a byte over serial from argon, and it happens to be the byte that reports this prerequisite worked.- Failure, silence: the machine faulted before the UART came up. The map in step 2 is the first suspect, then the entry level in step 4.
- Failure,
(entered here)withEL1: U-Boot entered at EL1 after all, the drop was a branch not taken, and everything below still holds. Record it; it makes the board less interesting as a rehearsal, not broken. - Failure, garbage characters: the UART divisor, not the kernel. The survey expects
ns16550withreg-shift=2and a board clock.
- Read the device tree line in the same banner (
device tree : 0x...). A zero is thex0contract failing, which is the one item on this list with a scar behind it. If it is zero, printx1-x3too before concluding anything, becausebootiandgodiffer here and the survey left which one open. - Confirm four cores. Expected
smp: psci over smc, CPU_ON 0xc4000003and4 core(s) online. One core online with a PSCI error is TF-A refusing the call; one core online with no error is/psciabsent from the DTB U-Boot passed. Four cores online is the secondaries' drop confirmed on real firmware, which is the claim the QEMU rehearsal can only make about QEMU. - Then milestone 74's half, which is now a line the boot prints rather than a step to perform.
Since 2026-09-19 every core starts and checks its own
PMCCNTR_EL0intimer::initialize, and the boot printscycles : PMCCNTR_EL0 running on 4 of 4 cores (...)right after step 5'ssmpline.running on 4 of 4 cores: the counter runs with the shipped secure-world settings. Then runscript/benchon the board and read thecycles_per_tickprobe. It should be near the core clock overCNTFRQ(about 99 at 1.9 GHz over 19.2 MHz) and not a clean integer, which is the emulator's signature (QEMU prints exactly 16.00). Record it, and publish no cycle figure until calef has ruled onPMCCFILTR_EL0(design/roadmap/proposals/the-aarch64-half-of-74.md).enabled but did not advance ...; refused: the registers were writable and the counter did not count, which on this board means the secure world prohibits Non-secure counting (MDCR_EL3, TF-A's). A fact about the firmware, not a kernel bug; record it.no PMUv3: the A57 has PMUv3, so this would meanID_AA64DFR0_EL1is not what the part is.- Silence or a fault before this line, and after step 5. This ordering changed and it is
worth knowing: the kernel's first PMU access is milestone 228's
PMUSERENR_EL0write intimer::initialize, which runs on core 0 before the banner and on each secondary during step 5. If TF-A leftMDCR_EL3.TPMset, that write traps to EL3 and the boot stops there, so the earlier step list's promise that nothing touches the PMU until step 6 no longer holds. The last line printed says how far it got. The kernel makes the first PMU access at init, so the order is not the procedure's to choose, and the procedure says where to look instead.
xenon can referee the method on x86_64, with the TX1 still awaited
The referee role this block gives the TX1, reproducing the Foundation's published figures before
trusting our own sel4bench run, does not need aarch64. The same page publishes x86_64 figures for
an i7-6700, a Skylake, and xenon's i5-7500T is the same core. sel4bench for that row is built at
the page's manifest with the page's command, byte-identical to the Foundation's toolchain, and
packed into one UEFI file per configuration that GRUB boots on xenon by network or stick
(bench/xenon-sel4bench/). It has not run on xenon: it needs calef at the power button, up to five
boots. notes/benchmarks/sel4bench-on-xenon.md has
the runbook, what is not apples-to-apples (the x86 "cycle" is a TSC tick, xenon's microcode may make
seL4 refuse the published configuration, the Foundation's clock settings are unpublished), and the
verdict criteria, fixed before the run.
What stays the TX1's whatever xenon shows: the PMCCFILTR_EL0 question milestone 25 (cross-OS
performance comparison) records, and
nife's own aarch64 cycle counts. This milestone's completion criterion, a byte over serial from
argon, is unchanged.
Scope note
This is the machine and its serial byte, nothing else; milestones 25 (the comparison) and 74 (the
counters) stay themselves. The survey's other finding is recorded where it belongs and not here:
gic.rs is GICv2-only, and a GICv3 driver milestone should be minted deliberately someday, since
this is the last GICv2 generation anyone will buy. Nothing here advances the aarch64 IOMMU story;
16b's silicon gate stands.
Index row
The Foundation publishes aarch64 numbers for exactly one platform, and it is the one notes/benchmarks.md already compares against with a recorded caveat this purchase retires. Sealed kit bought 2026-08-15 ($89.99, arrives ~08-19 to -26); port cost near the floor; the comparison work stays milestone 25's, behind the customer path