Skip to content

About

Watari Boot: native Windows 11 ARM64 dual boot on Apple Silicon (M1), research project. Minimal EL2 layer, our own EDK2 + ACPI. Not working on real hardware yet.

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Repository files navigation

Watari Boot logo: the letters W and B built from equilateral triangles, W and accent in blue, B in cyan, on a grey plate

Watari Boot

渡 (watari): to cross over, to pass from one shore to the other.

Watari Boot: Native Windows on Apple Silicon: an open research project to dual-boot Windows 11 ARM64 on Apple Silicon Macs, starting from the M1.

Warning

Not usable yet. Watari Boot is an early-stage research project. On a real M1, Windows now starts on top of our layer and reaches the first page of Windows Setup, with wrong colours and no keyboard or storage yet (2026-11-24). Those runs need a second Mac connected over USB as a debug host, and they write nothing to the M1's disk. Everything you can try yourself runs in QEMU on a Mac and never touches your Mac's disk or boot configuration. Do not expect a usable Windows install on Apple Silicon from this repository today.

What we are trying to do

Boot Windows 11 ARM64 directly on an Apple Silicon Mac, chosen at power-on like any other OS, with no macOS running underneath and no virtual machine like Parallels or UTM. The cores should run Windows at full speed, and Windows should drive the real hardware.

It is hard for one main reason: Windows on Arm expects a standard Arm platform (a GIC interrupt controller, PSCI, ACPI), while Apple Silicon uses Apple's own interrupt controller (AIC), delivers its timer as FIQ, and documents nothing. Asahi Linux solved this for Linux by changing Linux. We cannot change Windows.

How (Plan B: a minimal EL2 layer)

We first tried a purely native route: teaching Windows about the Apple hardware through its official extension points (HAL extensions, ACPI tables). Our experiments closed that route: Windows insists on a real GIC (docs/FAILURES.md, F-14), and the HAL-extension interface for custom interrupt controllers no longer exists (F-05).

So Watari Boot now builds a minimal EL2 layer, "Watari EL2", that sits below Windows and only does what Windows cannot do without:

flowchart LR
    A[iBoot] --> B[m1n1<br/>Asahi bootloader]
    B --> C[Watari EL2<br/>vGIC · PSCI · timer · IPI]
    C --> D[EDK2 UEFI<br/>+ our ACPI tables]
    D --> E[Windows 11 ARM64<br/>at EL1, full speed]
Loading
  • a virtual GICv3: the distributor/redistributor are emulated, the CPU interface uses the M1's hardware GIC virtualization (the same hardware Linux KVM uses on M1);
  • PSCI to start the cores;
  • the timer FIQ turned into a normal virtual interrupt;
  • IPIs translated to Apple's mechanism.

Everything else stays native: cores, memory, and real peripherals (which still need Windows drivers). Design: docs/design/watari-el2/ · decision: docs/adr/draft-plan-b-el2-layer.md.

Where we are

Milestone Result
Phase 0: research (11 studies on Windows ARM64, ACPI, M1 interrupts and timers, prior art) ✅ done, in re/
QEMU bench: our own EDK2 build, Windows 11 ARM64 unattended install, Apple HVF acceleration ✅ works (we had to fix an EDK2/HVF GIC detection issue, F-08)
V1: Windows boots with ACPI tables generated by us (tools/acpigen) ✅ works
V2: Windows without a GIC distributor in the tables ❌ Windows requires it, so the pure native route is closed
V3: secondary cores via Microsoft's parking protocol, no PSCI ⚠️ Windows uses it, then fails with HAL_INITIALIZATION_FAILED
V6: timer delivered as FIQ ⚠️ inconclusive
Watari EL2: design ✅ done
Watari EL2: M0 (first spike: vGIC host tests, layer boots in QEMU) ✅ done
Watari EL2: M1 (stage-2 + vGIC, list-register delivery, SMP via PSCI, EDK2 at EL1 on top of the layer) ✅ done
Watari EL2: M1.5 (hardening: LR overflow, EL2 MMU, trap-and-emulate CPU interface for the M1 erratum) ✅ done
Watari EL2: M2: Windows 11 ARM64 boots to the lock screen on top of Watari EL2 (QEMU TCG, 4 cores, both CPU interface modes) ✅ done 2026-10-20 (screenshot)
M1-shaped bench: WinPE from a RAM disk reaches Windows Setup with the M1's real ACPI tables and 8 cores (QEMU, layer + our M1 EDK2) ✅ done 2026-11-15
Watari EL2: M3a on the real M1 (tethered from a second Mac through m1n1's USB proxy, RAM only) 🔄 in progress
· day 2: the layer runs on the M1 at EL2 and hands over to a guest ✅ 2026-11-13
· our EDK2 runs on the layer on the M1; Windows' boot manager starts from a 713 MiB RAM disk ✅ 2026-11-16
· the M1 has no standard Arm PMU: HACR_EL2[56] routes those accesses to the layer, which emulates them; Windows reaches its boot logo and the kernel, then stops with INTERNAL_POWER_ERROR (0xA0, F-43, fixed on 2026-11-24) ✅ 2026-11-17
· Windows Setup's first page on the real M1, with one core and with eight. Colours are wrong (F-44), no input or storage ✅ 2026-11-24
Watari EL2: M3b: past Setup's driver page on the real M1, then USB input and storage ⏭️ next

Current state and next steps: docs/STATUS.md. Estimated time to a usable Windows on a real M1 (desktop, storage, keyboard, USB): months, not weeks.

Failures are part of the project

We document every dead end with what we tried, what happened, why, and the lesson, so the next person does not repeat it: docs/FAILURES.md.

Try the QEMU bench

Requirements: an Apple Silicon Mac, Homebrew, plenty of disk space (we keep 75–115 GB of data on an external disk), and an official Windows 11 ARM64 ISO from Microsoft. Everything the project installs is listed in docs/INSTALLED.md and can be removed with tools/uninstall-watari.sh.

make -C tools/acpigen test          # host tests of the ACPI table generator
tools/build-edk2.sh                 # EDK2 ArmVirtQemu with our HVF fix
tools/run-qemu-windows.sh           # Windows 11 ARM64 in QEMU (window)
tools/build-edk2-watari.sh          # our EDK2 platform (WatariAcpiOverride, …)

Paths, options and caveats: tools/ and the plan.

Repository map

Path What
el2/ Watari EL2, the layer: boot code, vGIC model and its host tests, a test guest
re/ research notes (Windows ARM64 HAL, interrupts, M1 FIQ/timer, prior art, Plan B feasibility, hardware-day results)
docs/ plan, status, session diaries, ADRs, designs, failures, hardware procedures (docs/procedures/), a guide for newcomers (docs/learn/)
edk2-apple/WatariM1Pkg/ our EDK2 platform for the M1 (GOP on the panel, RAM disk, ACPI tables for the j293)
edk2-apple/WatariQemuPkg/ our EDK2 drivers for the QEMU bench (ACPI override, timer-as-FIQ experiment, parking protocol)
tools/ acpigen (ACPI table generator + tests), build and QEMU scripts, unattended install, token counter
ralph/ prompts and logs of the autonomous agent loops

Team

Role
Marco Barlera (@ZonatedCord) Started the project; builds it with Flavio. Research, design, code, and the M1 used for the hardware days
Flavio A. Ciani (@FloshDev) Builds the project with Marco. Research, design, code, and the hardware days: his Mac is the debug host that boots Watari on the M1
Ralph Claude in an autonomous loop, on its own branches (ralph/)

How this is built

Watari Boot is developed by Marco (@ZonatedCord) and Flavio (@FloshDev) with AI agents doing much of the research and implementation: Claude Opus plans and verifies, Claude Sonnet agents execute, and long tasks run in autonomous "Ralph" loops (see CLAUDE.md and ralph/). Every technical claim in the docs is marked verified (with its source) or hypothesis. For transparency, the cost of this work is tracked below; each contributor updates their own share with python3 -I tools/token-usage.py --autore <name>.

Tokens and costs

Total tokens: 2,981,754,422 · Estimated cost: $1208.46 (updated 2026-11-24; ciani: 14 sessions, $90.97, marco: 23 sessions, $1117.49)

Model Input Output Cache written Cache read Estimated cost
claude-fable-5-2 492 445,448 3,182,474 36,831,998 $80.26
claude-haiku-5-5 426 257,384 1,993,634 18,320,227 $0.56
claude-opus-5-5 10,132 3,258,524 35,091,299 1,389,987,062 $623.94
claude-sonnet-5-5 19,686 7,195,479 58,363,129 1,426,797,028 $503.70

Estimate at Anthropic API prices, computed from local Claude Code transcripts with tools/token-usage.py. With a subscription (Pro/Max) the real cost is the subscription fee: this is the equivalent pay-as-you-go cost. Subagent output may be under-reported in the logs.

Build it with us

You can fork this repository, and the license allows it. But we hope you will do something better than copy it: build on it with us.

No single person cracked Linux on Apple Silicon. Hundreds of people did it, one register, one driver, one bug report at a time, and the Asahi Linux project still welcomes newcomers. Windows on Apple Silicon is the same kind of problem. It will not be solved by a lone genius or a lone AI. It might be solved by a community that shares what it learns, including what went wrong.

So if this project speaks to you:

  • Bring what you know. If you understand the Windows ARM64 boot process, GICv3 virtualization, EDK2, hypervisors, or Apple Silicon hardware, a single comment in an issue can save us weeks.
  • Pick a piece. The EL2 layer, the vGIC emulation and its host tests, the ACPI generator, and later the Windows drivers for the SSD, keyboard and USB are all separable pieces of work. docs/STATUS.md says where we are and what comes next.
  • Prove us wrong. Every claim in this repository is marked verified or hypothesis. If you can turn a hypothesis into a fact, or show that a "verified" fact is wrong, that is a contribution.
  • Share your dead ends. Add your failures to docs/FAILURES.md. A documented dead end is worth more than a silent success.
  • If you fork, keep the bridge open. Send your findings back upstream, credit the people whose work you build on, and keep the "no Microsoft code, no disassembly" rule: it keeps this work safe to share.

And a word of caution. This is hard, slow, and it may not work in the end. Be skeptical of anyone who promises Windows on your Mac "next month", including us. Never run experimental boot code on a machine you cannot afford to restore, and always back up first.

But if it does work, it will be because many people decided to cross the river together. That is what watari means.

Read docs/CONTRIBUTING.md before your first pull request.

Credits

This project would not exist without the work of others, above all Asahi Linux (m1n1, the Linux drivers and the hardware documentation that make Apple Silicon understandable), TianoCore EDK2, QEMU, and the pioneering NT for Apple Silicon project. Full list, with what each one taught us: CREDITS.md.

Legal

  • Licensed under the MIT License; files with a different SPDX-License-Identifier (e.g. the EDK2 drivers, BSD-2-Clause-Patent) follow that license.
  • Not affiliated with, endorsed by, or sponsored by Apple, Microsoft, Arm, or the Asahi Linux project. Apple, Apple Silicon and Mac are trademarks of Apple Inc.; Windows is a trademark of Microsoft Corporation; Arm is a trademark of Arm Limited.
  • This repository contains no Microsoft code or binaries, and we do not disassemble Microsoft software. You need your own legitimate copy of Windows.

Why this exists

Over the last year I watched AI agents rebuild apps, clone games, and recreate whole products from scratch: work that used to take teams and years, done in days. Then I looked at the Mac on my desk. Running Windows natively on Apple Silicon is the kind of problem everyone calls impossible: neither Apple nor Microsoft wants it, the hardware is undocumented, and it needs reverse engineering on the scale of Asahi Linux.

If AI really changes what a small team can build, this was the test I had to try. Maybe it fails. If it does, the failures are written down here, so the next person starts further ahead. Maybe it doesn't.

— Marco (@ZonatedCord), creator of Watari Boot

About

Watari Boot: native Windows 11 ARM64 dual boot on Apple Silicon (M1), research project. Minimal EL2 layer, our own EDK2 + ACPI. Not working on real hardware yet.

Topics

Resources

Contributing

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages