Have you ever wanted to run Linux on a microcontroller like the ESP32-S3? GitHub user jcmvbkbc has a Linux for ESP32-S3 script that lets you do just that! However, compiling it can be tricky depending on your operating system with all of the toolchain dependencies. Don't worry though because there is a way around all of that: a Docker container! A container is a lightweight and fast virtual computer. The best part is it's easy for people to run no matter what operating system they are on. It's also much simpler and smaller than VirtualBox because it has only the bare essentials.

In this guide, you'll setup and install Docker, run a test Dockerfile to create a test container, run the ESP32-S3 Linux Dockerfile, upload the compiled files to the ESP32-S3 and then perform the ultimate skateboard trick: boot Linux on an ESP32-S3!

This version of Linux is barebones, the file system is utilizing cramfs, so don't expect it to be like booting up a Raspberry Pi with Raspberry Pi OS. You'll access it over serial and you'll only be able to do super basic things but you'll learn a ton along the way.

Parts

Angled shot of black, credit-card-sized dev board.
What's Metro-shaped and has an ESP32-S3 WiFi module? What has a STEMMA QT connector for I2C devices and a Lipoly charger circuit? What has your favorite Espressif WiFi...
$24.95
In Stock
USB to TTL Serial Cable With Type A plug and 4 wire sockets
The cable is easiest way ever to connect to your microcontroller/Raspberry Pi/WiFi router serial console port. Inside the big USB plug is a USB<->Serial conversion chip and at...
$9.95
In Stock
10 pieces of Break-away 0.1 inch 36-pin strip male header
Breakaway header is like the duct tape of electronics. It's great for connecting things together, soldering to perf-boards, fits into any breakout or breadboard, etc. We go through...
$4.95
In Stock
USB Type A to Type C Cable - approx 1 meter / 3 ft long
As technology changes and adapts, so does Adafruit. This  USB Type A to Type C cable will help you with the transition to USB C, even if you're still...
$4.95
In Stock

This guide was first published on Aug 22, 2023. It was last updated on Jul 16, 2024.

This page (Overview) was last updated on Mar 08, 2024.

Text editor powered by tinymce.