r/osdev • u/TheOfficialGojo • 49m ago
I got Alpine Linux booting on my iPhone with a RISC-V interpreter
I’ve been working on Hartbox, a RISC-V system emulator written in Rust. It boots Alpine Linux locally on my iPhone 17e and runs without a JIT.
The emulator loads the Linux kernel and initramfs, generates the device tree, and handles SBI calls itself. The terminal uses an emulated UART, and the guest uses VirtIO for networking and a persistent disk.
I used an AI coding assistant while building it. I’d be curious to hear from everyone who try it
https://github.com/u6420771547-hash/hartbox here is the GitHub link below if you want to try it if it is useful, staring is appreciated

