nowfound

Life & fun · January 10, 2026

Porting xv6 to HiFive Unmatched board

Hi HN, I ported the teaching OS xv6-riscv to HiFive Unmatched and got it running on real hardware, including passing usertests. I've been self-studying OS internals using the MIT 6.1810 materials. After finishing most of the labs, I was eager to see what it's like to run the OS on bare metal, rather than QEMU. The Unmatched may not have the latest RISC-V features, but it's well-documented, and the Rev B release has made it more affordable, which makes it a good learning platform. The porting process involved several interesting challenges: - Hardware Quirks: Handling things like enabling…

Porting xv6 to HiFive Unmatched board launched on January 10, 2026 with 26 votes, #663 of 14,584 launches that month and more than 95% of that year's launches.

Visit github.com ↗Alternativestop 5% of January 2026

In plain words

This project demonstrates a successful port of xv6-riscv, an educational operating system, to the HiFive Unmatched RISC-V board, running on actual hardware rather than emulation. Created by a self-taught OS developer working through MIT 6.1810 coursework, the port addresses real hardware challenges including interrupt handling, memory management quirks, and boot flow compatibility. It is for students and hobbyists learning operating system internals who want to run teaching OS code on actual RISC-V hardware. The work stands out for bridging the gap between theoretical OS concepts and practical bare-metal implementation.

written from the facts on this page · September 2026

From the sources

A port of xv6-riscv to the SiFive HiFive Unmatched board. - eyengin/xv6-riscv-unmatched

This is a port of xv6-riscv to the SiFive HiFive Unmatched board (FU740). See notes for the implementation details. git clone https://github.com/eyengin/xv6-riscv-unmatched cd xv6-riscv-unmatched make unmatched The unmatched target automatically converts the kernel ELF to a raw binary and packages it into a FIT image ( xv6-unmatched.itb ) using mkimage . This image includes the necessary metadata for U-Boot SPL to recognize it as a bootable firmware. This port uses U-Boot SPL to load the xv6 kernel directly (replacing OpenSBI in the standard flow). Clone and build v2023.01 (Note: newer versions failed to initialize CPU clocks correctly in the SPL phase): git clone…from github.com

In the maker’s words, at launch

Hi HN, I ported the teaching OS xv6-riscv to HiFive Unmatched and got it running on real hardware, including passing usertests. I've been self-studying OS internals using the MIT 6.1810 materials. After finishing most of the labs, I was eager to see what it's like to run the OS on bare metal, rather than QEMU. The…

Does a similar job

all alternatives →
  • I integrated my from-scratch TCP/IP stack into the xv6-riscv OS2025 · github.com · ▲147

    Hi HN, To truly understand how operating systems and network protocols work, I decided to combine two classic learning tools: the xv6 teaching OS and a from-scratch TCP/IP stack. I'm excited to share the result: my own from-scratch TCP/IP networking stack running directly inside the xv6-riscv (https://github.com/pandax381/xv6-riscv-net) kernel. The project uses a modern virtio-net driver, allowing it to run seamlessly in QEMU and communicate with the host machine. Key features: - From-Scratch Stack: The core is powered by microps…

  • A Project Oberon System version running on RISC-V instead of RISC-5Aug 2026 · github.com · ▲121

    Modified version of the original from http://www.projectoberon.com/ for use with the Oberon IDE - GitHub - rochus-keller/OberonSystem at op2-rv32

  • RISC-V assembly tabletop board game (hack your opponent)2023 · punkx.org · ▲400

    I made this game to teach my daughter how buffer overflows work. I want her to look at programs as things she can change, and make them do whatever she wants. Building your exploit in memory and jumping to it feels so cool. I hope this game teaches kids and programmers (who seem to have forgotten what computers actually are) that its quite fun to mess with programs. We used to have that excitement few years ago, just break into softice and change a branch into a nop and ignore the serial number check, or go to a different game level because this one is too annoying. While working on the game…

  • A DOS-like hobby OS written in Rust and x86 assembly2025 · github.com · ▲207

    To try it out, simply build the project yourself from source, or use attached bootable ISO image of the system (in Releases on Github) and run it in QEMU. https://blog.vxn.dev/rou2exos-rusted-edition

  • RISC-V core written in 600 lines of C892023 · github.com · ▲190

    32-bit RISC-V CPU in ~800 lines of C89. Contribute to mnurzia/rv development by creating an account on GitHub.

  • v8-riscv — Port of JavaScript V8 engine to RISC-V2021 · github.com · ▲123

    Port of Google v8 engine to RISC-V. Contribute to riscv-collab/v8 development by creating an account on GitHub.

More life & fun this month

the category →

Source: Show HN post ↗ · launch text quoted in part

Launched alongside, January 2026

the whole month →
  • IN

    Hey HN! I wanted to share something I built over the last few weeks: isometric.nyc is a massive isometric pixel art map of NYC, built with nano banana and coding agents. I didn't write a single line of code. Of course no-code doesn't mean no-engineering. This project took a lot more manual labor than I'd hoped! I wrote a deep dive on the workflow and some thoughts about the future of AI coding and creativity: http://cannoneyed.com/projects/isometric-nyc

    AI · Jan 2026 · cannoneyed.com

  • Cowork▲1,088

    Turn Claude into your digital coworker

    AI · Jan 2026 · claude.com

  • DataFast▲867

    Revenue-first analytics

    Growth · Jan 2026 · datafa.st

  • OpenClaw▲836

    The AI that actually does things

    AI · Jan 2026 · openclaw.ai

  • Automatic AI-powered code reviews the moment you open a PR

    Dev tools · Jan 2026 · kilo.ai

  • AI Content Maker, for Social Media Publishing

    AI · Jan 2026 · postsyncer.com