aienux
Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.
Brought by drakestapleton
aienux / evidence / m2_first_boot_2026-09-24.md
| 1 | # M2 first native boot on Machine 1: evidence (2026-09-24) |
| 2 | |
| 3 | **Result: `M2_GATE: PASS`.** Machine 1 (DGX Spark, spark-b87b) left firmware, |
| 4 | ran native AIENOS code at EL2 with no Linux underneath (`kernel: alive`), |
| 5 | left a report in firmware variable storage that Linux read after the reset |
| 6 | (ADR 0008), and returned to the existing Linux system undamaged. |
| 7 | |
| 8 | | Item | Value | |
| 9 | | --- | --- | |
| 10 | | AIENOS commit | `52109bcb334a95bdd33410b4d22c59dee8c917f4` | |
| 11 | | Boot image sha256 | `79505373088d2464b82181c06f07e18e20e4e9b2b55dbc9fc46e3f0a2e2e3ada` | |
| 12 | | Machine 1 lease holder | `claude-code` (aien-proof hold, stage and collect) | |
| 13 | | Operator at the machine | Drake (Secure Boot off, reboot, observation) | |
| 14 | | Staged | 2026-09-24T01:50:27Z, one-time entry Boot0000 via BootNext | |
| 15 | | Previous Linux stopped | 2026-09-23 20:52:35 CDT | |
| 16 | | Next Linux started | 2026-09-23 20:53:50 CDT (75 s gap: firmware, AIENOS, 30 s countdown, reset, firmware) | |
| 17 | |
| 18 | ## Hardware facts observed by native AIENOS code |
| 19 | |
| 20 | - CPU: 20 cores in the firmware MADT, 10 in efficiency class 0 and 10 in |
| 21 | efficiency class 1. The boot core is listed with class 0; MIDR `0x410fd871` |
| 22 | (part `0xd87`, Cortex-A725). The boot path runs on an efficiency core. |
| 23 | - Exception level at handoff: EL2. |
| 24 | - Memory map: 184 descriptors, 36 conventional regions, 0 rejected, |
| 25 | 130073720 KiB conventional. Largest region at `0x323800000`, 30776318 pages. |
| 26 | The early allocator reserved its first frame there. |
| 27 | - Timing: 64 ms from UEFI entry to handoff, 0 ms from handoff to kernel entry. |
| 28 | - Firmware variable writes: progress record (write 1) and final report (write 2 |
| 29 | of 3); attributes `0x07` (NV, BS, RT). |
| 30 | |
| 31 | ## Gaps (not gate failures; next iteration) |
| 32 | |
| 33 | - `gb10: unavailable`: pre-exit GB10 discovery found no match through the UEFI |
| 34 | PCI root bridge protocol, although Linux sees `10de:2e12` at |
| 35 | `000f:01:00.0`. Because the UART path runs only when the GB10 was found, no |
| 36 | UART output was attempted. |
| 37 | - The pre-exit report file `\EFI\AIENOS\BOOTREPORT.TXT` was not saved. The |
| 38 | reason printed on the firmware console is recorded only in the operator's |
| 39 | photograph, if taken. |
| 40 | - Post-exit screen drawing is not recorded in the variable (the final report |
| 41 | is written after the kernel stage but its `last_stage` precedes drawing); |
| 42 | the operator's photograph is the evidence for it. |
| 43 | - Firmware appended `Boot0004` (the attached USB stick) to BootOrder on its |
| 44 | own; the original entries `0001,0003` keep their order. |
| 45 | - No bootable recovery media: the only USB stick holds a key backup, not a |
| 46 | recovery system. |
| 47 | |
| 48 | ## Hardware-test ledger |
| 49 | |
| 50 | | Index | Action | Target | Intent | |
| 51 | | --- | --- | --- | --- | |
| 52 | | 83 | audit | stage-native-boot | pass exit=0 resources=machine-1 | |
| 53 | | 84 | audit | collect-native-boot | fail exit=1 (collector bug: efivarfs cannot seek; boot order check too strict) | |
| 54 | | 85 | audit | collect-native-boot | pass exit=0, hash `3120ca800f79cfbd1ef52d28e3b36cfd9c09e2cb76777a6b9e1ffd86676a8faf` | |
| 55 | |
| 56 | ## Ledger payload of event 85 (verbatim) |
| 57 | |
| 58 | ```text |
| 59 | == staging record (/boot/efi/EFI/AIENOS/STAGED.TXT) |
| 60 | aienos_commit: 52109bcb334a95bdd33410b4d22c59dee8c917f4 |
| 61 | image_sha256: 79505373088d2464b82181c06f07e18e20e4e9b2b55dbc9fc46e3f0a2e2e3ada |
| 62 | staged_by: claude-code |
| 63 | staged_at_utc: 2026-09-24T01:50:27Z |
| 64 | boot_current_before: 0001 |
| 65 | boot_order_before: 0001,0003 |
| 66 | linux_kernel_before: 7.0.0-1019-nvidia |
| 67 | aienos_boot_entry: 0000 |
| 68 | == staged image |
| 69 | sha256: 79505373088d2464b82181c06f07e18e20e4e9b2b55dbc9fc46e3f0a2e2e3ada |
| 70 | == pre-exit report (/boot/efi/EFI/AIENOS/BOOTREPORT.TXT) |
| 71 | missing |
| 72 | == native firmware-variable report |
| 73 | report_version: 1 |
| 74 | aienos_commit: 52109bcb334a95bdd33410b4d22c59dee8c917f4 |
| 75 | report_kind: final |
| 76 | last_stage: kernel_entered |
| 77 | nvram_write_index: 2 of 3 |
| 78 | AIENOS |
| 79 | arch: aarch64 |
| 80 | boot: native |
| 81 | conventional_memory_kb: 130073720 |
| 82 | memory_map_descriptors: 184 |
| 83 | memory_map_conventional_regions: 36 |
| 84 | memory_map_rejected_regions: 0 |
| 85 | memory_map_largest_region: 0x323800000 pages 30776318 |
| 86 | gb10: unavailable |
| 87 | cpu_cores: 20 |
| 88 | cpu_efficiency_class_0: 10 |
| 89 | cpu_efficiency_class_1: 10 |
| 90 | cpu_boot_core_listed: yes |
| 91 | cpu_boot_core_class: 0 |
| 92 | boot_cpu_midr: 0x410fd871 (part 0xd87) |
| 93 | allocator_managed_frames: 4096 |
| 94 | allocator_reserved_frame_phys: 0x323800000 |
| 95 | uefi_entry_to_handoff_ms: 64 |
| 96 | handoff_to_kernel_entry_ms: 0 |
| 97 | exception_level: EL2 |
| 98 | kernel: alive |
| 99 | progress_record: saved |
| 100 | == current boot state |
| 101 | BootCurrent: 0001 |
| 102 | Timeout: 1 seconds |
| 103 | BootOrder: 0001,0003,0004 |
| 104 | Boot0000* AIENOS handoff (one-time) HD(1,GPT,7c2b24e9-0ceb-4ad7-a401-9bf3c92c26ee,0x800,0x95000)/File(\EFI\AIENOS\aienos-handoff.efi) |
| 105 | kernel: 7.0.0-1019-nvidia |
| 106 | root: rw |
| 107 | == verdict |
| 108 | PASS image_unchanged: staged 52109bcb334a, image 79505373088d2464 |
| 109 | PASS left_firmware_into_aienos: pre-exit file: missing, native report: present |
| 110 | PASS native_code_after_firmware_exit: firmware variable written by AIENOS after ExitBootServices (kind final) |
| 111 | PASS kernel_alive: last stage kernel_entered |
| 112 | PASS boot_next_consumed: no pending one-time boot |
| 113 | PASS boot_order_preserved: before 0001,0003, now 0001,0003,0004 (added by firmware: 0004) |
| 114 | PASS linux_entry_booted: BootCurrent 0001 |
| 115 | PASS linux_kernel_unchanged: 7.0.0-1019-nvidia |
| 116 | PASS root_filesystem_writable: / |
| 117 | M2_GATE: PASS |
| 118 | ``` |