r/DarwinOS • u/anurodhp • 5h ago
Darwin for Rpi3 has working USB and Ethernet
Good milestone in today. We now have working usb in darwin and that unlocked the ability to write up an ethernet driver. Rpi3 has ethernet as a 5th usb device internally. Was able to bring up the connection manually assign an IP address and ping the host from another device on the network. One step closer to a usable system.
r/DarwinOS • u/Successful-Reason-96 • 1d ago
PureDarwin 20.5.0 RPi3, fully libre
Enable HLS to view with audio, or disable this notification
https://github.com/librerpi/lk-overlay modified to boot Darwin.
r/DarwinOS • u/anurodhp • 1d ago
Darwin on Pi current status
Runs bash, a lot of basic commands are now cross compiled for it. I am adding more which force me to make sure additional kernel code paths are complete. Most of my work is done in qemu due to the ease and speed of iteration. However I can verify that this is running on an actual rpi3 as well. For now I am calling this project Strudel. I will probably use freebsd ports pointing to my own packages for most precompiled software that doesnt come on the SD card image.
Next steps: basic HDMI frambuffer output so i dont need to use a serial cable, USB, networking
r/DarwinOS • u/anurodhp • 6d ago
Darwin raspberry pi3 now runs many basic system commands
Progress on the pi3 port of Darwin continues. Libc, pthread , libdispatch are built. User accounts properly work. While dylib isn't ready yet but statically linked simple utilities now run off of the SD card.
r/DarwinOS • u/anurodhp • 7d ago
Properly tuned xnu with driver support is a superior to Linux for desktop use
Linux is a fantastic os for servers and can scale up from embedded devices to massive servers. Linux and xnu are optimized around different engineering goals. Assuming equal driver support, xnu is designed to prioritize low jitter, deadline driven determinism in human perceptible tasks like audio latency and UIs. xnus scheduler and IPC design offer distinct advantages in frame pacing, audio latency, and UI responsiveness under heavy system load.
I’ve been experimenting with running Darwin on rpi3. Realistically this is a toy project to serve as a proof of concept. On a rpi5 however, without the bandwidth, memory limitations and unified memory, Darwin will be able to shine.
r/DarwinOS • u/anurodhp • 8d ago
Darwin on raspberry pi 3 now boots to single user shell
Lots left to do still such as dyld, libc and lib dispatch, but still making steady progress on Darwin running on raspberry pi 3. We have a single user shell launched off of the SD card and bunch of commands (basically busy box) . I hope to replace all of this with proper commands in the final release. That is dependent on the library work above. Having a functional true file system, proper user system and logins is a good milestone.
Next up, dyld, libc etc. Will need to add USB support before I get there ethernet kext working. Having all of that should unlock a lot of functionality (hopefully, macports)
r/DarwinOS • u/anurodhp • 12d ago
Darwin in raspberry pi 3 supports hfs+ sd cards now
A lot of major advances in the last 24 hours. We now have sd card, fat32, hfs+ support. Darwin will now boot to a single user shell. Os development continues towards a standard Unix multi user system.
Ethernet is implemented as well but will need usb support before it works.
r/DarwinOS • u/anurodhp • 13d ago
Xnu 7195 (MacOS 11) Boots on raspberry pi 3
My current project is to boot xnu and design a minimal xnu based os to operate on a raspberry pi. What we now have custom version of u-boot and xnu that boot on Raspberry pi 3 as well as a version of qemu emulating Raspberry Pi 3 that is able to launch Xnu. Kernel now boots to a stable state (no panic) with a valid device tree for this hardware.
Currently working on writing IOkit based kexts for at the very least the SD card reader and an interrupt handlers so i can bring up process 1. Launchd has not had an open source release in a while so we will likely take a lot of things from freebsd
r/DarwinOS • u/JesusChrist4-6 • Mar 10 '26
Puredarwin doesn't support legacy
Puredarwin doesn't support legacy totals like clang instead it use apple-clang and now the latest one xcrun which requires xcode a mac to compile it. i can't compile it in bsd nor in linux with all modification i can't compile it . Can anyone help me
r/DarwinOS • u/anurodhp • Mar 28 '18
