I am trying to run XNU/Hackintosh, if possible. You can back me on this project :)
XNU Kernel:
- Compile Mach-O
Then, there are three options. Either:
[ ] Convert to an ELF Kernel and then raw image[ ] Load the raw image
or:
[x] Convert and load raw image
or,
Then, we can write an Mach-O loader in ELF format, which can be loaded by Raspberry Pi:
- Maybe an Mach-O loader
The kernel can be debugged and further developed:
- Make sure the kernel is bootable
- Make sure UART works
- Try to make a VC4 driver
Hackintosh:
- Try to make an ARM64 macOS sysroot
The following kernel version(s) can be successfully built at the moment:
See the doc for detailed build steps and patches.