6 months in, we have a booting xnu kernel! #554
mszoek
started this conversation in
Show and tell
Replies: 1 comment 8 replies
|
Very cool @mszoek I am really looking forward to this. Only one question I keep thinking, why not work with PureDarwin? |
8 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I started working on the Darwin port in Oct 2025 and it's now April 16. In that time, I've written a simple EFI bootloader for our XNU kernel, an ACPI Platform Expert, AHCI driver kext, ported and built countless tools and libraries, wrote a kernel prelinker tool and ported enough of the stack to have everything cross-building on Linux. We have a ravynOS SDK and a toolchain bundle that can be replicated per host platform. I mined deep and slayed a couple of balrogs down there.
And now, after all that, we have a booting XNU kernel that is ready to run userspace on a QEMU Q.35 virtual machine, AHCI SATA disk, HFS filesystem with EFI bootloader. Yay!! <3
Now... this is very proof of concept, and that's all. My drivers only match ICH9 controllers. I'm very sure stuff is missing from my PE. The console is not real IOGraphics, just a stub IOFramebuffer that uses the EFI GOP framebuffer to display, like I did in FreeBSD. The bootloader hardcodes the UUID of the root filesystem. There's a lot left to do. This is the starting point.
All reactions