A new era is dawning

Important news

A new era is dawning

Postby morpheus » Sun Oct 01, 2017 9:29 pm

AAPL has released the ARM64 portions of XNU. God knows what went through their heads if it's intentional, and God save the negligent engineer who did this if it's by mistake.

But whatever. It's done. And that means that XNU can now theoretically be compiled for ARM64 from source. I'm starting a team @Tg to focus on porting the pieces that are still missing - namely , some kexts and a basic iBoot clone loader - with the aim of getting a full distribution for generic ARM64 And possibly ARMv7 (though that's mostly dead now). Think, Hackintosh, but for ARM platforms like QEmu, BeagleBoard/Raspberri Pi or .. *gasp* unlocked Samsung Android devices :-)

Loose goals that come to mind (these will surely be revised, many times, but this is off the top of my head):

1) Produce a working makefile that gets XNU to compile for ARM64, from source. (Difficulty: Annoying but shouldn't be that hard)
2) Extend (1) so as to get Dtrace working on it, and whatever other CONFIG_DEVELOPMENT stuff
3a) Get (1) and (2) working on iOS 8 devices, by enabling a kloader type without that nagging KPP. (Difficulty: hard)
3b) Build a simple iBoot substitute that will load XNU + DT for arbitrary ARM64 hardware. (Difficulty: challenging)
5) Slowly but surely provide KEXT replacements for ARM64 Hardware (ARMplatform, etc.). (Difficulty: Hard to Sysiphean)

Interested? Leave your name here, or email me directly. You won't have to move - we're virtual. But you might just move AAPL.

Site Admin
Posts: 532
Joined: Thu Apr 11, 2013 6:24 pm

Re: A new era is dawning

Postby littlelailo » Mon Oct 02, 2017 12:52 pm

This sounds great! Unfortunately I haven't the time and experience to help you out, but I'll keep an eye on this and may join the team at some point in the future.
Posts: 7
Joined: Thu Sep 28, 2017 6:48 pm

Re: A new era is dawning

Postby coolstar » Tue Oct 03, 2017 4:59 am

Most of my experience with drivers is with PCI/i2c/HID/smbus devices (on both Windows KMDF drivers and macOS I/OKit based kexts), but I'm happy to contribute to kext development where needed :)

Regarding the bootloader/device tree, I wonder if it might be a feasible idea to use a EDK2/Tianocore based bootloader on ARM64 (since it already works pretty well on AMD64 and we can possibly import bits from the Clover project), and either have that load XNU with a DT, or we can use ACPICA and implement ACPI tables in EDK2 and xnu for ARM (similar to the currently-closed source AppleACPIPlatform kext)
Last edited by coolstar on Sun Dec 10, 2017 12:27 am, edited 1 time in total.
Posts: 3
Joined: Wed Apr 20, 2016 11:38 pm

Re: A new era is dawning

Postby Spamm3r » Tue Oct 03, 2017 8:41 am

Well I dont have experience in such things but I would really like to contribute.
Posts: 1
Joined: Tue Oct 03, 2017 8:36 am

Re: A new era is dawning

Postby scknight » Mon Oct 09, 2017 12:41 pm

I have experience reverse engineering and some experience writing kernel drivers. I would definitely be interested in helping
Posts: 27
Joined: Thu Nov 10, 2016 1:01 pm

Re: A new era is dawning

Postby InSaneDarwin » Mon Oct 09, 2017 8:07 pm

@coolstar we could us you know for our PureDarwin x64 build that we're stuck on. Come join us on Telegram(Main Devs site at) and our new forum for PureDarwin https://www.pd-devs.org
Posts: 1
Joined: Mon Oct 09, 2017 8:02 pm

Re: A new era is dawning

Postby annaleah » Tue Oct 10, 2017 12:06 pm

Amazing read that is, as me myself on my current cutting cycle and trying to follow proper guidelines and your articles helped me a lot in my cycle.
Posts: 1
Joined: Fri Oct 06, 2017 12:03 pm

Re: A new era is dawning

Postby binerdd » Wed Oct 11, 2017 3:38 am

I have some experience in reverse engineering and iOS internals, definately want to help out in any kind of way.
Posts: 1
Joined: Wed Oct 11, 2017 3:36 am

Return to Fresh off the press

Who is online

Users browsing this forum: No registered users and 2 guests