Open Hardware & RISC-V

BMDS desktop OS brings FreeRTOS-based GUI environment to ESP32-P4

Key Takeaway

BMDS is a new bare-metal desktop operating system built on FreeRTOS that runs ELF binaries with POSIX compliance and a graphical desktop on the RISC-V-based ESP32-P4.

Summary

Developer Jthwho has released BMDS (Bare Metal Do Stuff), a desktop operating system targeting the ESP32-P4 application processor on Olimex development boards. The OS uses the FreeRTOS kernel as its foundation but layers a minimal, single-user environment reminiscent of DOS atop it, capable of running ELF binaries with partial POSIX compliance and a ported BusyBox userland. Its most distinctive feature is a polished graphical user interface evoking late-1990s desktop aesthetics, which the developer suggests would have competed with contemporary Amiga, 68k Macintosh, and Windows 3.x systems.

The ESP32-P4 represents Espressif's push into higher-performance application processors, pairing dual RISC-V cores with a price point accessible to hobbyists and embedded developers. BMDS arrives as this SoC gains traction among hardware hackers seeking more capable platforms than traditional microcontrollers, potentially carving out a niche for lightweight, responsive operating systems that avoid the overhead of full Linux distributions on resource-constrained devices.

Architecture and ESP32-P4 target

  • Kernel foundation: BMDS builds on the FreeRTOS real-time kernel, a widely deployed open-source RTOS, rather than a general-purpose operating system kernel like Linux.
  • Binary format: The OS executes ELF binaries directly, enabling standard toolchain compilation rather than requiring custom executable formats.
  • POSIX compliance: Partial POSIX compatibility is implemented, allowing porting of existing Unix-like software including BusyBox, the embedded userland tool suite.
  • Target hardware: Specifically developed for an Olimex board carrying the ESP32-P4, Espressif's dual-core RISC-V application processor with expanded memory and I/O capabilities over prior ESP32 generations.
  • GUI subsystem: Features a complete graphical desktop environment with visual styling comparable to 1990s workstation operating systems, implemented without underlying windowing system dependencies typical of modern Linux desktops.

Why it matters

BMDS contributes to the growing software ecosystem around the ESP32-P4 as it establishes itself among hackers and embedded developers seeking more powerful open hardware platforms. For developers working with RISC-V microcontrollers, it offers an alternative path between bare-metal programming and full Linux adoption, potentially reducing complexity for applications where real-time responsiveness and minimal resource usage outweigh the need for general-purpose operating system features. The project's open-source nature and use of standard ELF binaries may encourage further tool and application ports to this tier of capable, low-cost RISC-V hardware.

Original reference: hackaday.com →