Skip to content

About

This is a linux that you can flash and run on Waveshare epaper 1.54 AIOT device

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

retro — Linux for Waveshare ESP32-S3-ePaper-1.54 (8 MB)

A self-contained flash kit for the 8 MB ePaper image. Flashing needs no Docker, buildroot or ESP-IDF — just Python 3 and esptool.

What is in this folder

  • flash.sh — the flash script. Supports a full-image write, --parts, --erase, --creds and --backup. Run ./flash.sh --help for details.
  • images/ — the 8 MB image (linux-esp32s3-epaper-154-full.bin, sha256 11bcff20…2c6271d9052f0cda148fef7), individual partition images, SHA256SUMS and the build manifest/configs.
  • FLASH-AND-RUN.md — quick start: prerequisites, port, flashing, first boot, panel controls and verification.
  • FLASH-DETAILS.md — the full guide: host setup per OS, partition layout, Windows path, backups, and troubleshooting.
  • new-files/esp-hosted/network_adapter/partition_table.esp32s3.8m and tools/credential.py — required by flash.sh; leave them where they are.

Requirements

  • Waveshare ESP32-S3-ePaper-1.54 (8 MB flash, 8 MB PSRAM)
  • USB-C cable and a microSD card (the board uses it as /home)
  • Python 3 and esptool: python3 -m pip install esptool

Find the serial port

macOS: /dev/cu.usbmodem* · Linux: /dev/ttyUSB* or /dev/ttyACM* · Windows: COMx. Pass it with -p; auto-detection only checks /dev/ttyACM*.

WiFi credentials (optional)

Put them in a file outside this folder, for example ~/epaper-wifi.txt:

ssid=YOUR_WIFI_SSID
psk=YOUR_WIFI_PASSWORD

S39wifi-cred reads the cred partition on every boot and installs /etc/wpa_supplicant.conf before the network starts, so the board joins the network and shows its address on the panel without anyone logging in. Keep the file private — it contains your passphrase in plain text.

Flash

cd /path/to/retro
./flash.sh -p /dev/cu.usbmodemXXXX --creds ~/epaper-wifi.txt

Without a credential file:

./flash.sh -p /dev/cu.usbmodemXXXX

Add --erase to wipe the whole chip first. The full image overwrites /etc; /home is on the SD card and is not touched. To save the board's current /etc and /home, use ./flash.sh --backup DIR -p PORT.

Run and verify

  • The panel shows the status screen: IP, telnet target, uptime, SD state and battery percentage.
  • Log in over telnet (or serial at 115200) as root / only-esp32. Telnet is the default listener; SSH is off until remote-login ssh.
  • Only one remote session at a time: the panel mirrors that terminal. poff shows the status screen, pon resumes mirroring.
  • Useful checks: epshow dump, ip addr, df -h /home, vbat -n 1, remote-login status.
  • Set WiFi later with wifi connect "SSID" "PASSWORD".

Provenance

Image and configs: branch epaper-154-build (built from a71f9aa). Script: branch n8r8/7.2.4 (identical to epaper-154-build). Docs: QUICKSTART.md and docs/flash-new-device.md from epaper-154-build.

About

This is a linux that you can flash and run on Waveshare epaper 1.54 AIOT device

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages