Open Hardware & RISC-V

BMDS brings DOS-like desktop OS to ESP32-P4 RISC-V board with windowing and networking

Key Takeaway

BMDS is a new MIT-licensed bare-metal operating system that transforms the Olimex ESP32-P4-PC into a self-contained desktop computer with windowing, networking, and local program development capabilities, built atop FreeRTOS rather than Linux.

Summary

Jason Howard has released BMDS (Bare Metal Do Stuff), a lightweight DOS-inspired operating system targeting the Olimex ESP32-P4-PC single-board computer. The system provides a full desktop environment including overlapping windows, a command shell, file manager, text editor, sound output, networking, and package-based program installation, all running directly on the ESP32-P4's dual-core 360 MHz RISC-V processor without a Linux kernel underneath.

Unlike mainstream embedded Linux distributions, BMDS adopts a classical single-user architecture where applications receive direct hardware access with minimal kernel interference. FreeRTOS serves as the underlying real-time kernel through Espressif's ESP-IDF framework, while BMDS itself implements hardware drivers, filesystems, the windowing system, GUI toolkit, program loader, and a stable C application binary interface. The project explicitly targets pre-v3.0 chip revisions and aims eventually to host its own compiler toolchain for fully self-contained software development.

Architecture and hardware platform

  • SoC and memory: The target Olimex ESP32-P4-PC uses an ESP32-P4 with dual-core RISC-V at 360 MHz, 768 KB internal SRAM, 32 MB external PSRAM, and 16 MB flash storage.
  • Kernel foundation: FreeRTOS via ESP-IDF provides task scheduling and basic services; BMDS replaces Linux with custom drivers, filesystem implementations, and windowing stack.
  • I/O interfaces: The board furnishes HDMI video output, four USB-A ports for keyboard and mouse, SD card storage, and 100 Mbit Ethernet networking.
  • Application model: Programs link against a stable C interface and are built separately from the OS, loaded dynamically rather than running as kernel modules or ESP-IDF tasks directly.
  • Chip revision constraint: BMDS currently runs only on ESP32-P4 silicon revisions prior to v3.0, indicating potential compatibility or peripheral differences in newer silicon.

Why it matters

BMDS offers a genuinely alternative open-source operating system model for low-cost RISC-V hardware, demonstrating that meaningful desktop-like computing remains achievable without the complexity footprint of Linux on severely resource-constrained devices. For open hardware practitioners and embedded educators, it provides a hackable, MIT-licensed reference showing direct hardware programming on modern Espressif silicon, potentially inspiring similar bare-metal environments on other RISC-V microcontrollers as the architecture proliferates in hobbyist and industrial boards.

Original reference: blog.adafruit.com →