interplane.Get Omega
Read in your language

aienux

Aienux, the AienOS kernel: boot, scheduling, IPC and capability boundaries. Pre-alpha; host, emulator and physical evidence are labelled separately.

Brought by drakestapleton

branch main Branches Tags History

aienux / evidence / imac_kernel0_2026-10-16 / README.md

57 lines · 2704 bytes Raw Blame History Rendered
1# iMac hardware run, 2026-10-16: AIENOS-IMAC-KERNEL-0
2
3The first run of the AIENOS C kernel on an x86_64 machine: `IMACKERN.EFI`
4(PR #405, `native/kernel/x86`) started from a SanDisk USB stick on the owner's
52017 iMac (iMac18,3, see `evidence/imac_boot0_2026-10-16`) through the
6Option-key boot picker. The iMac has no serial port and the kernel writes no file,
7so the only record is the screen. The owner sent a photo of it; the lines below
8are transcribed from that photo. The photo itself is not stored here.
9
10| Item | Value |
11| --- | --- |
12| Image | `EFI/BOOT/BOOTX64.EFI` = `IMACKERN.EFI`, sha256 `8618285bb00d3a1a657b4ebf5b747c6a178bd7fa9580344ce692bfaa77481d9d`, built from d8257aa |
13| Source of the lines | owner's photo of the iMac screen (4K panel, font scale 4) |
14| Serial numbers | none: the kernel never reads SMBIOS |
15
16## What the screen showed (transcribed)
17
18```
19firmware_vendor: Apple
20firmware_revision: 0x10000
21gop: ok 3840x2160 pitch=3840 format=1 base=0xc0300000 size=0x1fa4000
22acpi_rsdp: 0x8affe014
23image: 0x84f56000-0x84f9f000
24exit_boot_services: ok attempts=1
25cpu: GenuineIntel Intel(R) Core(TM) i5-7500 CPU @ 3.40GHz
26descriptors: ok
27handoff: CHANDOF3 ok
28screen: map=wc scale=4 grid=120x54
29paging: root=0x1000 firmware_cr3=0x84000000 switched=yes top_gib=18 pages_2m_wb=8143 pages_2m_wc=17 pages_2m_uc=1055 pt_frames=21 fb=wc pat1=wc
30memory: frame_ranges=14 free_bytes=16858255360 heap=0x100000+1048576 heap_test=ok
31stack: 0x84f75000-0x84f85000 guard=0x84f74000
32guard_page: ok fault=contained (#PF cr2=0x84f74000 error=0x0)
33timebase: hpet period_fs=41666667 tsc_hz=3408331676
34apic: mode=xapic id=0 version=0x1060015 timer_hz=1500200
35madt: cpus=4 ioapics=1 ioapic_lines_masked=24
36timer_irq: 20 ticks in 200 ms
37timer_stats: min/avg/max 10000 us stray_irqs=0
38kernel: alive
39AIENOS-IMAC-KERNEL-0 DONE
40power: holding the screen 60 s, then ACPI S5
41```
42
43Lines are condensed where the photo wrapped them; values are as shown.
44
45## What this proves and what it does not
46
47Proven on this machine: the kernel left the firmware on the first try, switched
48to its own page tables (16 GB of RAM write-back, the screen write-combining),
49caught a deliberate fault on its stack guard page, timed the CPU clock against
50the HPET (3.408 GHz, matching the i5-7500), saw the four cores in the ACPI MADT,
51masked every interrupt line it does not drive, and took 20 local APIC timer
52interrupts at exactly 10 ms each with no stray interrupts.
53
54Power-off: the owner reported afterwards that the iMac switched itself off after
55the 60 s hold, so the ACPI S5 write (PM1a control 0x1804, SLP_TYP 7 from the
56DSDT `\_S5` package) works on this machine. Not attempted: other CPU cores, NVMe,
57SATA, network, the AMD GPU.