github cvhviz/CAIRN experimental-tdisplay-cm0-140-3
Experimental 3 · LilyGO T-Display CM0 · Cairn 140

pre-release2 hours ago

Experimental 3 · LilyGO T-Display CM0 (LR2021) · Cairn 140. The third build for a new board, checked against LilyGO's own image sources (pi-gen, lilygo-linux-dtoverlays): not offered by any online update, and not yet run on a CM0. It may not start at all; the log says why, and that log is what we need back.

The T-Display CM0 is a Raspberry Pi Compute Module Zero under the same 4.1" AMOLED, touch panel, LR2021 radio and keyboard base as the T-Display K230 kit, so this build is the K230's Cairn (tested on a K230 kit) with the parts that differ written for the Pi: the screen through the Pi's display driver, the keys and battery through the drivers LilyGO's image loads, and Wi-Fi through NetworkManager.

Changed from experimental 2: the installer now stops what LilyGO's current image runs on the screen and the radio (its launcher, lilygo-ui-launcher, and meshtasticd, which starts at boot on the same LR2021) and starts them again on uninstall; the Linux console lets go of the screen while Cairn runs; the radio's interrupt line is found at startup (DIO11 or DIO5, written in the log) rather than assumed; GPS through the nRF9151 on its USB port. Without the first two, experimental 2 most likely showed nothing and heard nothing: install this one. The same command installs it over either earlier build.

Cairn's own interface and MeshCore as one Linux program on the T-Display CM0's AMOLED, with the keyboard base.
For the CM0 with the LR2021 radio (830-945 MHz), on LilyGO's Raspberry Pi OS image (arm64). Not yet run on a CM0.

Files (named MeshCore-TDisplayCM0-Cairn140-2026-12-04-b3...):
  ....tar.gz       the program, its installer and its service, in one folder (start here)
  ...-cairn-bin    the program on its own (to update later: replace /root/cairn-bin)
  SHA256SUMS.txt


WHAT IS IN IT

- The interface the K230 has, on the same 568 x 1232 glass: Home, Chats, Nodes, Radios (Spectrum and its Live
  view, Listen), the Map, Settings; portrait or landscape (Settings > Display > Rotate).
- LoRa through the LR2021 (send, receive, the Spectrum page).
- The keyboard base: typing, F1-F6 for the side tabs, the LilyGO key for Home (twice: Apps), the Mic key for
  the Recorder.
- The battery, when LilyGO's battery drivers see one: percent, charging, a Battery page.
- Wi-Fi through the Pi's own NetworkManager: Cairn scans and joins with it, and leaves alone a connection it did
  not make (an SSH session over Wi-Fi stays up). Online maps.
- Sound through the board's ES8389 codec (picked by name, not the Pi's HDMI audio); the Recorder on its mic.
- The screen: brightness through the panel driver's own control (on the pixels if the driver has none). It
  goes dark on its timeout (Settings > Display > Timeout).
- The power key is the user button: press it to wake or darken the screen. Holding it 3 s still powers the
  board off (LilyGO's own service).
- The base's three LEDs: Caps Lock, unread messages, LoRa activity.
- GPS: the nRF9151 on its USB port (/dev/ttyACM0), on and off with the Quick panel's GPS tile. Outdoors, with its antenna.


NOT IN THIS BUILD

The camera, Bluetooth, the key light, online updates, a switch to LilyGO's desktop from inside Cairn (use the uninstall below).


BEFORE YOU START

- LilyGO's image for the CM0 (Raspberry Pi OS with their overlays: the panel, touch, keypad, radio power), with
  SSH or a console to the board, and a user that can sudo.
- Set the radio preset for your region on first start, before you send anything.
- Listen and Spectrum's Live view use an undocumented route in the LR2021's ROM 1.24. The System page (tap
  Home's System card) shows the chip's version ("LR2021 v1.24"); on another version, skip them.


INSTALL IT

From a computer on the same network (or copy the file over any way you like):
  scp MeshCore-TDisplayCM0-Cairn140-2026-12-04-b3.tar.gz pi@<board>:
On the board:
  tar xzf MeshCore-TDisplayCM0-Cairn140-2026-12-04-b3.tar.gz
  cd MeshCore-TDisplayCM0-Cairn140-2026-12-04-b3
  sudo sh install.sh cairn-bin
It stops LilyGO's launcher and meshtasticd (and keeps them off at boot), installs Cairn as a service and
starts it. Cairn then
starts at every boot. Its log: /var/log/cairn.log. Its data: /root/cairn.

To go back to LilyGO's launcher and meshtasticd:
  sudo sh install.sh --uninstall


WHAT TO TRY, AND WHAT TO SEND

1. Does the screen show Cairn? Does touch land where you tap, in portrait and in landscape (Settings >
   Display > Rotate)?
2. The System page (tap Home's System card): the radio chip and its version, the touch panel, the keyboard.
3. Send a message to another MeshCore node and have it send one back. A repeater's Ping.
4. The keyboard base: type into a chat; F1-F6; the LilyGO key.
5. Wi-Fi: Settings > Network: scan, join a network.
6. GPS: the Quick panel's GPS tile on, outdoors; a fix on Home's GPS card within a few minutes.
7. Brightness (Settings > Display), the screen going dark on its timeout, the power key (a press: wake or
   dark), the LEDs (Caps Lock; an unread message; a packet).
8. Send /var/log/cairn.log (sudo cat /var/log/cairn.log) in a GitHub issue (Bug report, with this release's
   tag), saying what happened at each step. "It works" is a useful report too. The first lines matter most:
   they say which display, touch device, keyboard, sound card, GPS port and radio IRQ DIO Cairn found.

Don't miss a new CAIRN release

NewReleases is sending notifications on new releases.