8000 GitHub - awesome-os/t2xnu: T2macOS — ARM64 T2Linux (Linux 7.0+) + AFK-surf/xnulinux (fki.ko/xnu.ko) native zero-hypervisor Darwin/macOS personality powered by Holo v11 CAS (bring your own macOS disk) · GitHub
[go: up one dir, main page]

Skip to content
This repository was archived by the owner on Nov 26, 2026. It is now read-only.
awesome-osPublic archive

About

T2macOS — ARM64 T2Linux (Linux 7.0+) + AFK-surf/xnulinux (fki.ko/xnu.ko) native zero-hypervisor Darwin/macOS personality powered by Holo v11 CAS (bring your own macOS disk)

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

8 Commits

Folders and files

Repository files navigation

[!NOTE] Consolidated into the unified Holo v11 OS monorepo at https://github.com/awesome-os/awesome-os

awesome-os/t2xnu

T2XNU (ARM64 Linux + AFK-surf/xnulinux fki.ko + xnu.ko) — sovereign bootable ARM64 UEFI ISO & QEMU QCOW2 powered by b8g-ghost @ cas-v1.

t2xnu boots offline straight into a zero-dependency static musl ARM64 C11 PID 1 (/init) verified against B8G_ABI_MAGIC_V3 (0x33564742), mounts a persistent LABEL=B8G_CAS ext4 volume (or tmpfs fallback), hydrates packages from awesome-os/b8g-ghost @ cas-v1, and bundles /scripts/enable-xnulinux.sh to load fki.ko + xnu.ko with zero VM / hypervisor overhead.


Downloads (v0.1.0)

Download the latest verified ARM64 release artifacts from GitHub Releases (v0.1.0):

Artifact Description Direct Link
t2xnu-aarch64.iso Bootable ARM64 UEFI ISO (Limine v8 BOOTAA64.EFI) Download
t2xnu-aarch64.qcow2 GPT disk image (64 MiB FAT32 ESP + persistent ext4 B8G_CAS) Download
vmlinuz-aarch64 ARM64 Linux kernel for direct QEMU boot Download
initramfs-aarch64.cpio.zst zstd-compressed initramfs (/init, busybox, b8g-ghost, enable-xnulinux.sh) Download
init-aarch64 Static musl ARM64 PID 1 binary Download
SHA256SUMS.txt SHA-256 checksums for all release artifacts Download

Architecture

  ARM64 Hardware (Apple Silicon / DGX Spark / QEMU aarch64)
    └── Limine v8 ARM64 UEFI (EFI/BOOT/BOOTAA64.EFI)
          └── ARM64 Linux Kernel + initramfs-aarch64.cpio.zst
                ├── /init (Static musl ARM64 PID 1, B8G_ABI_MAGIC_V3=0x33564742)
                ├── Linux Userspace (/bin/b8g-ghost, /bin/busybox, /var/lib/b8g/cas)
                └── /scripts/enable-xnulinux.sh -> fki.ko + xnu.ko (zero hypervisor)
                      └── User-supplied Darwin / macOS System Disk (BYO disk)

Boot in QEMU (aarch64)

1. Direct Kernel + Initramfs (Interactive Shell)

qemu-system-aarch64 \
  -M virt -cpu cortex-a57 -m 512 -nographic \
  -kernel vmlinuz-aarch64 \
  -initrd initramfs-aarch64.cpio.zst \
  -append "console=ttyAMA0,115200"

2. Direct Kernel + Initramfs (CI Self-Test)

qemu-system-aarch64 \
  -M virt -cpu cortex-a57 -m 512 -nographic -no-reboot \
  -kernel vmlinuz-aarch64 \
  -initrd initramfs-aarch64.cpio.zst \
  -append "console=ttyAMA0,115200 t2.selftest=1"

3. Bootable ARM64 UEFI ISO (qemu-efi-aarch64)

qemu-system-aarch64 \
  -M virt -cpu cortex-a57 -m 1024 -nographic \
  -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd \
  -cdrom t2xnu-aarch64.iso

4. GPT UEFI QCOW2 with Persistent B8G_CAS Partition

qemu-system-aarch64 \
  -M virt -cpu cortex-a57 -m 1024 -nographic \
  -bios /usr/share/qemu-efi-aarch64/QEMU_EFI.fd \
  -drive file=t2xnu-aarch64.qcow2,format=qcow2,if=virtio

Quick Start (ARM64 Host)

# 1. Inspect host compatibility & cas-v1 status
node src/index.mts --status

# 2. Load fki.ko + xnu.ko against your own legally obtained Darwin/macOS disk image
sh /scripts/enable-xnulinux.sh /path/to/darwin-system.img

Cross-Compiling /init Locally

zig cc -target aarch64-linux-musl -static -Os -s -Wall -Wextra src/init.c -o dist/init-aarch64

Licensing & Trademark Boundary

  • awesome-os/t2xnu ships only open-source orchestration, CAS hydration, and loader glue (MIT / APSL-2.0 upstream XNU via awesome-os/upstream-mirrors @ mirror/xnulinux).
  • t2xnu never redistributes proprietary Apple macOS userspace files — users bring their own legally obtained system disk image.

Quick Install & Run (Windows / Linux / macOS)

# Install / hydrate from v11 CAS via holo-pm
holo-pm install repository://github.com/awesome-os/t2xnu@main

# Or project & run directly via holo-project (0-byte hardlink)
holo-project "project://node/t2xnu?from=repository://github.com/awesome-os/t2xnu@main"

About

T2macOS — ARM64 T2Linux (Linux 7.0+) + AFK-surf/xnulinux (fki.ko/xnu.ko) native zero-hypervisor Darwin/macOS personality powered by Holo v11 CAS (bring your own macOS disk)

Resources

Code of conduct

Contributing

Security policy

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages

0