Open-Source ARM64 Type-1 Hypervisor & RTOS Foundation
Runs a from-scratch SMP RTOS (VM0) and upstream Linux 6.6 (VM2) side-by-side on one machine — with hardware Stage-2 isolation, fail-closed cross-VM windows, and 173+ replayable QEMU verification gates.
底层之光,守护生命 · The light beneath, guarding life.
60-Second Live Demo & Quick Start
Captured from a single QEMU ARM64 session: EL2 hypervisor boot → VM0 SMP RTOS running musl /bin/hello → VM2 Linux 6.6 running the same ELF binary simultaneously.
Real serial output on QEMU virt (4× Cortex-A57): VM0 and VM2 remain simultaneously VM_RUNNING under EL2 Stage-2 isolation.
git clone https://github.com/eshine-os/eshine-os.git
cd eshine-os
# Ubuntu 24.04 + cross-gcc + QEMU 8.2.2
scripts/container.sh build
scripts/container.sh run
ESHINE_CONTAINER_ENGINE=podman. Set ESHINE_CONTAINER_NETWORK=bridge to bootstrap Linux guest artifacts inside the container.git clone https://github.com/eshine-os/eshine-os.git
cd eshine-os
# Build binaries & run boot smoke gates (1..18)
make && make verify-fast
make run
make verify for the full non-heavy green suite, or scripts/bootstrap.sh --adopt for offline artifact reuse under .work/.System Architecture
One machine, three domains — structured along functional safety (ISO 26262) and cybersecurity (ISO/SAE 21434) isolation boundaries.
| Layer / Domain | Design Targets | Status | Implemented & Planned Capabilities |
|---|---|---|---|
| Type-1 Hypervisor (EL2) | ASIL-D / CAL-4 | Implemented | Direct EL2 hardware control with no host OS; per-VM Stage-2 isolation, vGICv3, vtimer, virtio-blk/net, DTB injection, PSCI VM lifecycle, CPU/memory quotas, and fail-closed cross-VM shared windows. |
| VM0 · Management RTOS | ASIL-D / CAL-3 | Implemented | From-scratch 2-vCPU SMP RTOS with 32-priority preemptive bitmap scheduler, per-process Stage-1 MMU + ASID, Send/Recv/Reply IPC, futex/signals, ramfs/procfs, HAM health monitor, and musl ELF loader. |
| VM1 · Cockpit Slot | QM / CAL-2 | Reserved | Currently runs a bare-metal fault-isolation test guest; slot reserved for a future Android cluster / center-console cockpit domain. |
| VM2 · Linux Domain | ASIL-A/B / CAL-2 | Implemented | Real upstream Linux 6.6 SMP kernel + busybox initramfs + musl userland for perception, planning, and intelligent-driving workloads. |
virt (ARM64) — see KNOWN-ISSUES.md for open defects, QEMU 10.2.1 compatibility tracking, and the current security boundary.
AI-Pair Engineering & Evidence Discipline
Initiated by Julian Chu and built in pair with AI models (Claude Code, GLM-5.3, DeepSeek V4.1) — where AI writes code, but deterministic QEMU gates decide truth.
68-Station Playbook
Every feature lands as one vertical slice with a written design spec, replayable verification gates, clean SPDX headers, and an engineering devlog recording real pitfalls and refuted hypotheses.
Read STATION-PLAYBOOK.md →173/173 Fixture Gates
Ordinary gates boot a fresh QEMU session; stateful families run isolated scenario fixtures. Currently 173 green gates pass across 3 GitHub Actions shards in 403 s (4 quarantined gates openly tracked).
Read CI.md →Transparent Attribution
Commits declare actual participating models via Model: / Assisted-by: trailers enforced in CI, separating high-invariant architecture review from implementation throughput.
Roadmap
Ordered strictly by engineering risk and defect-budget rules: hardware invariants and security boundaries before new surface area.
-
NextEL2 Stage-1 MMU, Security Boundary Hardening & Quarantine Zero Enable EL2 MMU & alignment safety (unblocking QEMU 10.2+), enforce strict RTOS
access_ok/ W^X / SMP TLB invalidation, align 64-bit spinlock widths, and close the 4 quarantined gates (177/177). -
In ProgressFunctional Safety Architecture (ISO 26262) Close remaining SMP dual-core fault families under quiet-window double-green criteria, strengthen fault containment, and formalize traceability from safety requirements to gates.
-
In ProgressCybersecurity Hardening (ISO/SAE 21434) Fuzz the EL2 virtualization and RTOS syscall boundaries, add negative Stage-2 ACL tests, and enforce strict user-copy exception fixups.
-
PlannedReal-Hardware Bring-up (Board HAL → SoC) Extract QEMU
virtconstants into a Board HAL and bring up low-cost ARM64 hardware (Raspberry Pi 5 / RK3588) en route to automotive SoCs with SMMU and GIC-ITS. -
PlannedSub-Tick Deterministic Real-Time & VM1 Cockpit Domain Add oneshot hrtimer wake-ups with real-hardware wake-up latency histograms, and bring up Android in the reserved VM1 cockpit slot.
Releases & Source Mirrors
Semi-annual YY.MM release cadence (April & October) with weekly -Nw development tags.
Versions
| Track | Version | Date | Artifacts |
|---|---|---|---|
| mainline | 27.04-dev | Active | [browse master] |
| stable | 26.10 | 2026-10-21 | [tarball] · [notes] |
Git Repositories
| Role | Clone URL |
|---|---|
| GitHub (Primary) | github.com/eshine-os/eshine-os.git |
| Gitee (China Mirror) | gitee.com/eshine-os/eshine-os.git |