#asahi-re · 2026-03-22 04:11
zakiryaanyone who wants to look at the ADT mapping#asahi-re · 2026-03-22 04:11
zakiryaYeah, the missing IOKit stuff in the public git is a pain. That’s why I'm targeting the vmapple machine model specifically. Since it's built for VirtIO and standard GICv3, I'm hoping it's less of a 'brain in a jar' than the bare-metal kernel. Right now I'm just trying to get a serial output through m1n1. If I can get the Mach-O to execute the first few instructions and hit a sync exception I can trace, I'll put the repo up for #asahi-re · 2026-03-22 04:03
zakiryaI'm focusing on the XNU kernel research first. Specifically, I'm trying to use the vmapple variant as a skeleton to reach a bootable state on generic ARM64 using m1n1 as the shim. The goal is to prove we can dummy the PAC (HVC 0xC1000002) and map GICv3 interrupts to bypass the AIC dependency. Once we get a serial console from a raw Mach-O boot, then we can worry about the rest of the OS stack."#asahi-re · 2026-03-21 12:06
zakiryaAlso I am I'm researching the vmapple kernel variant's compatibility with generic ARM GICv3 distributors. Has anyone here mapped the minimum required Device Tree nodes to get a serial log on a non-Apple host, or does it hard-panic without the Apple-specific power management (PMGR)?"#asahi-re · 2026-03-21 11:27
zakiryaSorry if I am asking too many questions but I am researching yeah I need this info #asahi-re · 2026-03-21 11:26
zakiryaI’m aware of the EULA restrictions. This is purely for personal educational research into XNU’s boot-up sequence and GIC v3 implementation. I'm more interested in the technical 'how' of the kernel's initialization than the 'legal' end result."#asahi-re · 2026-03-21 11:22
zakiryaUnderstood. So if XNU is SoC-specific, my focus is now strictly on the VMAPPLE build. Does anyone know if that variant is restricted to Apple's hypervisor (signatures/entitlements) or if it can be bootstrap-loaded by a third-party bootloader like OpenCore-AA64 on a standard GIC v3 system?"#asahi-re · 2026-03-21 11:17
zakiryaThanks @chaos_princess, that's a massive tip. If vmapple uses a GIC, has anyone successfully extracted the vmapple device tree (DTB) or the specific boot-args needed to force the XNU kernel into vmapple mode on non-Apple hardware? I'm looking at the AVPBooter in the Virtualization framework to see how it initializes the GIC v3."#asahi-re · 2026-03-21 11:13
zakirya I'm researching booting the XNU arm64 kernel on non-Apple hardware (Qualcomm/Snapdragon). I'm currently looking into the differences between the Apple Interrupt Controller (AIC) and standard GIC. Does anyone know of any existing documentation or shims that map AIC-style interrupts to a standard GIC for the Darwin kernel?"#asahi-re · 2026-03-21 11:13
zakiryaAnyone here?