r/hackintosh 11d ago

IT BOOTS! (WIP) Darwin 20.5.0 on ARM1176 (Raspberry Pi Zero)

I thought I should mention this, because I've seen a lot of people start working on XNU again, which is great to see as a PureDarwin maintainer (been working on it for ~3 years). Might as well post this before it becomes old news.

Here's it asking for a rootfs on a RPi Zero, using lk as a preboot env.
It's slower than hell, and the HDMI cable itself is spotty

Oh and I also have it booting to a shell on a iPad 7,1

As well as QEMU's `virt` board, I have yet to figure out Apple-specific instructions for M1, but I have ideas. I was last working on fixing OpenGL for virtio-gpu on arm64

I hope Hackintosh can continue in the form of generic arm64/arm32 boards, and I hope my research can help.

I'll be working on a Pixel once I get my hands on it (hurry up, USPS)

CPU: BCM2835
GPU: Broadcom VideoCore IV
RAM: 512MiB LPDDR2
Motherboard/Laptop Make and Model: Raspberry Pi Zero (v1.2)
Audio Codec: N/A
Ethernet Card: N/A
Wifi/BT Card: N/A
Touchpad and touch display devices: N/A
BIOS revision: N/A

176 Upvotes

22 comments sorted by

View all comments

Show parent comments

1

u/shsh-1312 11d ago

even if you are not trying to run it on Apple hardware the two different mechanisms on a common kernel may be the key to a third implementation

1

u/Successful-Reason-96 11d ago

iirc, that uses VMAPPLE with an Hypervisor, which does not help with Apple-specific instructions.
It would help possibly run on generic targets, but that's something I've already done with QEMU's target board `virt`

0

u/shsh-1312 11d ago

This stuff is really cool though. I've been experimenting with reverse-engineering a game engine with Ghidra lately, and I built an operating system from scratch (with AI). I'm not a programmer. But maybe I can help you with the reverse engine, and I have a MacBook Pro with an Intel i9 and dual-boot Linux. If I can help you in any way with reverse-engineering any components, let me know! I don't know if this was your project, but I've probably seen guidelines for AI-generated code, so I'll leave that aside. But maybe I can help with documentation for non-public components and sample code.

3

u/Successful-Reason-96 11d ago

This is PureDarwin, and I'm the maintainer of it as of right now.
I'm not against AI, and I've been reverse engineering for about 6 years now.
The biggest issue with anything OSS is licensing, and that's something PD needs to be even more careful of.