I’ve been wondering how plausible it would be to port Darwin or even just XNU over to RISC-V. I already downloaded the XNU source code and have been poking around a little, but I would likely need to really get into RISC-V assembly to make a working build. (Which I will do as soon as I get a RISC-V SBC to play around with, which I plan to soon)
XNU has already been officially supported on two CISC platforms (68k on NeXTStep machines and x86 for OpenStep, Rhapsody, and OS X/macOS) and two RISC platforms (PowerPC and ARM). So porting it to a third RISC platform should be possible in theory.
If you’re wondering why, I want this, the answer is just because the idea of Darwin on RISC-V just sounds really cool to me, even when Linux, another UNIX based system, is right there.
If I continue with this idea should I go for a recent version (Apple Silicon era) or older version (back when Apple had complete binaries of Darwin up for download)?
(If this post feels out of place on this forum, I apologize, I wasn’t 100% sure where to post this)
XNU has already been officially supported on two CISC platforms (68k on NeXTStep machines and x86 for OpenStep, Rhapsody, and OS X/macOS) and two RISC platforms (PowerPC and ARM). So porting it to a third RISC platform should be possible in theory.
If you’re wondering why, I want this, the answer is just because the idea of Darwin on RISC-V just sounds really cool to me, even when Linux, another UNIX based system, is right there.
If I continue with this idea should I go for a recent version (Apple Silicon era) or older version (back when Apple had complete binaries of Darwin up for download)?
(If this post feels out of place on this forum, I apologize, I wasn’t 100% sure where to post this)