Skip to main content
The Quantum Dispatch
Back to Home
Cover illustration for ESP32-S31 Linux BSP Boots Real Linux on 16MB PSRAM

ESP32-S31 Linux BSP Boots Real Linux on 16MB PSRAM

Espressif released a Linux 6.18 BSP developer preview for the ESP32-S31, fitting a bootable image into roughly 13.7MB of flash on a $10-class chip.

Alex Circuit
Alex CircuitAug 22, 20263 min read

Espressif has published a Linux board support package developer preview for the ESP32-S31, and it means exactly what it sounds like: a chip most people file under "microcontroller" can now boot a real, MMU-backed Linux kernel. The ESP32-S31 Linux BSP arrived on August 22, 2026, and it closes a gap that has kept the ESP32 family firmly on the RTOS side of the fence for more than a decade.

  • Espressif maintains a fork of Linux 6.18 for the ESP32-S31, integrated with Buildroot 2025.02
  • The resulting NOR-boot flash image lands at roughly 13.7MB, including the root filesystem
  • Development boards ship with 16MB of PSRAM, which is what makes a minimal Linux image practical
  • Two repositories carry the work: esp-linux-bsp for image layout and tooling, and esp-buildroot-external for the core project

Why an MMU Changes What the ESP32-S31 Can Do

Every previous ESP32 ran FreeRTOS because the silicon had no memory management unit. Without an MMU there is no virtual memory, no process isolation, and no realistic path to mainline Linux. The ESP32-S31 is the first Espressif part to include one, and that single block is the difference between porting a kernel by heroic effort and shipping a supported BSP.

The rest of the chip is familiar territory for anyone who follows this mini PC and single board computer coverage. Espressif announced mass production on July 27, 2026, describing a dual-core 32-bit RISC-V processor running up to 320 MHz, with one core carrying a 128-bit SIMD data path, a 40 MHz low-power coprocessor, 512 KB of on-chip SRAM, and support for DDR PSRAM up to 250 MHz. Connectivity covers Wi-Fi 6 on 2.4 GHz, Bluetooth 5.4 with LE Audio and Classic BR/EDR, IEEE 802.15.4 for Zigbee and Thread, and a Gigabit Ethernet MAC. We covered the original ESP32-S31 launch and its Gigabit Ethernet story back in May.

What Does the Linux BSP Actually Include?

The preview is a Buildroot-based stack rather than a distribution. You get Espressif's kernel fork, a Buildroot external tree, and image layout tools that produce a bootable NOR flash image. At around 13.7MB the whole thing fits comfortably in the flash budgets these boards already carry, and the 16MB PSRAM on the dev kits gives the kernel enough working memory to be useful rather than merely technically alive.

Espressif is candid about the maturity level. The company flags irregular updates, breaking changes, limited feature acceptance, and best-effort bug fixing during the developer preview, and states plainly that it is not recommended for production. The ESP-IDF side tells a similar story: ESP32-S31 support currently lives on the master branch as preview support rather than in a tagged release.

How This Compares to Community Linux Ports

Hobbyists got there first, which is usually how this goes. Community projects have been running Linux 6.12 and 7.1 variants on the ESP32-S31 with varying peripheral coverage, and Buildroot root filesystems and reboot have been reasonably stable in those trees. What Espressif adds is a maintained baseline: one kernel fork, one build system, one image layout, and a vendor on the hook for the RISC-V platform code.

For makers, the practical read is that a RISC-V microcontroller class part now sits in the same conversation as low-end SBCs. If you are choosing hardware for a project this week, our ESP32 variant buyer's guide still applies for the FreeRTOS parts, and the S31 becomes the option worth watching when your project genuinely wants a filesystem, a network stack, and standard Linux tooling in one place.

Sources: CNX Software — August 22, 2026; Espressif Systems — July 27, 2026; Espressif Developer Portal.

More Mini Computers Stories