Show HN: Run xv6-riscv(64Bit,MMU) with RP2350 (github.com)
I have successfully run a 64-bit version of xv6-riscv—which includes an MMU—on the Raspberry Pi Pico 2W.
No PSRAM is attached.
I built a software emulator and ran it on the Hazard3 core.
(It should likely also run on the Cortex core.)
3 comments
[ 0.24 ms ] story [ 17.1 ms ] threadThis is a lightweight 64-bit RISC-V software emulator and bare-metal port designed to run xv6-riscv within the limited SRAM capacity of the RP2350 (Raspberry Pi Pico 2).
It emulates virtual memory based on the Sv39 MMU, a 16550 UART, CLINT, PLIC, and a VirtIO block device (for disk I/O) with a sector cache. This enables the full execution of user-mode processes, including a shell (sh) and various user utilities (such as ls and echo). ---