Open Hardware & RISC-V

ESP32-OS brings a touch desktop, NetSurf browser, Doom and Quake to the Waveshare ESP32-P4 board

Key Takeaway

Maker TheUnkn0wnC0DE wrote an open source desktop OS in Rust for the ESP32-P4 that reimplements KolibriOS system calls, letting unmodified KolibriOS C applications run on the RISC-V core.

Summary

A maker known as TheUnkn0wnC0DE has published ESP32-OS, an open source desktop operating system targeting the Waveshare ESP32-P4 5-inch touch board. The build provides a touch-driven desktop environment along with a NetSurf web browser with JavaScript support, PDF and image viewers, a music player handling MP3, WAV and OGG files, a weather applet, and playable ports of Doom at 55 FPS and Quake at 27.5 FPS. The project is hosted on GitHub and is described by its author as open source.

The most technically distinctive element is the compatibility layer: the author reimplemented the KolibriOS system calls in Rust so that existing KolibriOS C applications execute unchanged on the ESP32-P4's RISC-V core. That turns a microcontroller-class board into a small general-purpose desktop with a legacy application base, rather than a single-purpose firmware demo. The work sits at the intersection of open hardware, embedded Rust and retro-computing software preservation.

How ESP32-OS turns an ESP32-P4 board into a desktop

  • Target hardware: The OS is built for the Waveshare ESP32-P4 5-inch touch board, using the ESP32-P4 SoC and its touch display as the primary input and output surface for a desktop-style UI.
  • KolibriOS ABI reimplementation in Rust: Rather than porting applications, the author reimplemented KolibriOS system calls in Rust, so existing KolibriOS C programs run on the RISC-V core without source changes.
  • Bundled userland: The system ships a NetSurf browser with JavaScript, PDF and image viewers, an MP3/WAV/OGG music player and a weather applet, all reachable from the touch desktop.
  • Game performance figures: The author reports Doom running at 55 FPS and Quake at 27.5 FPS on the board, giving a concrete measure of the platform's rendering headroom.
  • Open source distribution: Source and further details are published on GitHub, so the system-call layer and desktop components can be inspected, reused or ported by other embedded developers.

Why it matters

ESP32-OS shows that the ESP32-P4, a relatively new RISC-V microcontroller-class part, can host a full windowed desktop with a browser and 3D-era games, which broadens the case for the chip in open hardware projects beyond sensor nodes and displays. Reimplementing KolibriOS system calls in Rust is also a reusable pattern for running legacy C software on RISC-V microcontrollers, and it gives the small KolibriOS ecosystem a new hardware target. For embedded developers, the published source offers a concrete reference for touch UI, media decoding and game ports on the P4.

Original reference: blog.adafruit.com →