Menu

Proper Linux, on an ESP32
📰

Proper Linux, on an ESP32

Adafruit Industries – Makers, hackers, artists, designers and engineers!·Anne Barela·7 days ago
#JwdPanh0
#adafruit#linux#fairhead#programmer#chip
Reading 0:00
15s threshold

Harry Fairhead, writing at I Programmer, covers Espressif’s official Linux fork for the ESP32-S31. The S31 is a dual-core RISC-V chip running at 320MHz, and it has the memory management a real operating system needs: a two-level page table with address translation, plus privilege levels that keep the kernel separate from user space.

There are limitations. Memory is tight, and there’s no GPU, so a desktop GUI or large AI work is out. The chip does have Gigabit Ethernet, WiFi, Bluetooth and Zigbee, along with GPIO, SPI, I2C, camera and I2S audio.

The repository branch is marked a developer preview and isn’t recommended for production use yet. There’s no binary, so the kernel has to be built from source. Fairhead points to grieferpig’s unofficial Linux 6.18 port as a faster start, since it ships binaries. That one uses the Linux device tree for configuration, allows GPIO programming with libgpiod, and includes BusyBox for a command line.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.