News for hackers. Stuff that matters.
Re:Show HN: Run xv6-riscv(64Bit,MMU) with RP2350 by notorandit on Saturday November 07, 2026 @01:42PM (#50406877)
Pi Pico 2W is ARM right? Hazard3 is risc-v right?
Re:Show HN: Run xv6-riscv(64Bit,MMU) with RP2350 by kamisori-daijin on Saturday November 07, 2026 @05:58PM (#50408846)
This does not mean that xv6 is running directly; rather, a software emulator has been built to emulate privileged mode, the MMU, and 64-bit registers, and it is this emulator that runs on Hazard3. In other words, xv6 is not being executed directly.
Re:Show HN: Run xv6-riscv(64Bit,MMU) with RP2350 by notorandit on Saturday November 07, 2026 @02:00PM (#50407029)
From the repo:

This 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). ---