Skip to content

Releases

Cosmo Debian Beta1.2: first-login freeze fix

Choose a tag to compare

@atzandrew atzandrew released this 20 Nov 22:35

Cosmo Debian Beta1.2: first-login freeze fix

A fix release for Beta1
and Beta1.1,
with a new kernel.

New install? Use the files from this release (see Downloads). The
Beta1 and Beta1.1 images have the first-login freeze below.
Already running Beta1 or Beta1.1? Your account is past its first
login, so the freeze will not happen to you. To get the new kernel without
reinstalling, see "Update an installed Beta1 or Beta1.1".

No warranty. This software is provided as is, without warranty of
any kind. I am not responsible for bricked or damaged devices or lost
data. You flash it at your own risk.

What was fixed

  • First login: the start menu froze. Typing into the application
    launcher on the first login of a new account made the menu flicker, and
    the keyboard stopped working until the next login or a restart. At
    exactly display scale 2 the launcher keeps resizing itself the first
    time it opens. New accounts now start at scale 2.25 (everything is about
    11% larger). The setup screens and the login screen stay at 2.
  • Display errors in the kernel log. The display read memory without
    its IOMMU, so it could not show graphics buffers from the GPU and logged
    sg_table is not contiguous and swiotlb buffer is full, in bursts in
    every session. The display now uses the IOMMU, as the stock firmware
    does; the errors are gone.
  • Bluetooth mice and keyboards (BLE) paired but never connected. The
    Bluetooth address was lost each time Bluetooth was switched off and on.
    It is now set again at every power-on. Devices paired while the address
    was wrong need to be paired again once.
  • SCP firmware missing. The image now includes firmware-mediatek, so
    the SCP co-processor starts without a firmware error.

What changed

  • Front camera works through libcamera and PipeWire, for apps that
    use PipeWire cameras. The rear camera does not work yet.
  • Speaker profile: the speaker shows up as "Built-in Audio Speaker".
  • Sensors and vibrator have kernel drivers (accelerometer, light,
    compass). Screen rotation stays off.
  • Headphone and line-out volume read back correctly after a restart.
  • Debian updates since Beta1.1.

The dtbo file is the same as Beta1.

Update an installed Beta1 or Beta1.1

This updates the kernel and its modules. It does not install the front
camera and speaker profile packages; for those, reinstall with the image
from this release.

  1. Download cosmo-beta1.2-update.sh and cosmo-modules-beta1.2.tar.zst
    into the same folder on the Cosmo and run:

    sudo sh cosmo-beta1.2-update.sh
    

    It prints what it installed and ends with Done. It needs an internet
    connection for firmware-mediatek. Your previous modules are kept in
    /usr/lib/modules/6.18.58-cosmo.before-beta1.2.

  2. On your PC, write the new boot image (Cosmo connected as for the
    install, see docs/install.md):

    mtk w boot "$COSMO_FILES/cosmo-boot-beta1.2.img"
    
  3. Start the Cosmo.

Versions

Part Version
Kernel Linux 6.18.58-cosmo (new: IOMMU display, camera, Bluetooth, SCP)
Debian 13.7 (trixie)
Plasma 6.3.6 (Wayland)
Mesa 26.1.6 (trixie-backports), panfrost GPU driver, GLES 3.1
Firefox 160.0.1 (Mozilla's repository)
libcamera 0.7.2 (Cosmo build), PipeWire 1.6.9 (trixie-backports)
Source: kernel, boot image, modules cosmo-linux618 tag beta1.2 (b511341)
Source: root filesystem build gemini-debian 6d29db2

On an installed Cosmo, cat /etc/gemini/build-info shows the same
versions.

Downloads

File Use
cosmo-boot-beta1.2.img new install: write to boot; update: see above
cosmo-dtbo-beta1.img new install: write to dtbo (same as Beta1)
cosmo-debian-beta1.2.img.zst new install: write to userdata (decompress first)
cosmo-beta1.2-update.sh installed Beta1/Beta1.1: update script (see above)
cosmo-modules-beta1.2.tar.zst installed Beta1/Beta1.1: modules for the update script
SHA256SUMS check the downloads: sha256sum -c SHA256SUMS

The install guide's write command names the Beta1 files. For Beta1.2,
decompress cosmo-debian-beta1.2.img.zst and use this command instead:

mtk w boot,dtbo,userdata "$COSMO_FILES/cosmo-boot-beta1.2.img","$COSMO_FILES/cosmo-dtbo-beta1.img","$COSMO_FILES/cosmo-debian-beta1.2.img"

Install steps, warnings and known issues are as in Beta1: read
docs/install.md
and the Beta1 release notes
before flashing. Installing erases the data partition.

Cosmo Debian Beta1.1: sleep fix

Choose a tag to compare

@atzandrew atzandrew released this 18 Nov 21:05

Cosmo Debian Beta1.1: sleep fix

A fix release for Beta1. Sleep ended after about a second: the screen went off, then
the Cosmo woke straight away instead of staying in deep sleep.

Already running Beta1? You do not need to reinstall. Run the fix script
below. New install? Use the image from this release in place of the
Beta1 image (see Downloads).

No warranty. This software is provided as is, without warranty of
any kind. I am not responsible for bricked or damaged devices or lost
data. You flash it at your own risk.

What was fixed

  • Sleep woke up at once. The Beta1 image installed the Wi-Fi sleep hook
    (/usr/lib/systemd/system-sleep/cosmo-wifi-sleep) without its execute
    bit. systemd skips such hooks without a message, so the Wi-Fi chip stayed
    powered during sleep and woke the Cosmo within about a second. The hook
    now runs: Wi-Fi switches off, the Cosmo stays in deep sleep, and Wi-Fi
    comes back at wake.

Fix an installed Beta1 (no reflash)

Download cosmo-sleep-fix.sh to the Cosmo, then run:

sudo sh cosmo-sleep-fix.sh

It prints Fixed: .... No reboot is needed, and running it again is
harmless. It changes nothing else.

What changed in the image

  • The sleep fix above.
  • Debian updates since Beta1: Firefox 160.0.1, libopenexr (security update),
    linux-perf.

Nothing else changed. The kernel, boot image, dtbo and kernel modules are
the same as Beta1, and the boot and dtbo files below are the Beta1 files.

Versions

Part Version
Kernel Linux 6.18.58-cosmo (unchanged)
Debian 13.7 (trixie)
Plasma 6.3.6 (Wayland)
Mesa 26.1.6 (trixie-backports), panfrost GPU driver, GLES 3.1
Firefox 160.0.1 (Mozilla's repository)
Source: kernel, boot image, modules cosmo-linux618 tag beta1.1 (0000d86, same as Beta1)
Source: root filesystem build gemini-debian e3b789e

On an installed Cosmo, cat /etc/gemini/build-info shows the same
versions.

Downloads

File Use
cosmo-sleep-fix.sh installed Beta1: run it with sudo (see above)
cosmo-boot-beta1.img new install: write to boot (same as Beta1)
cosmo-dtbo-beta1.img new install: write to dtbo (same as Beta1)
cosmo-debian-beta1.1.img.zst new install: write to userdata (decompress first)
SHA256SUMS check the downloads: sha256sum -c SHA256SUMS

The install guide's write command names the Beta1 image. For Beta1.1,
decompress cosmo-debian-beta1.1.img.zst and use this command instead:

mtk w boot,dtbo,userdata "$COSMO_FILES/cosmo-boot-beta1.img","$COSMO_FILES/cosmo-dtbo-beta1.img","$COSMO_FILES/cosmo-debian-beta1.1.img"

Install steps, warnings and known issues are as in Beta1: read
docs/install.md
and the Beta1 release notes
before flashing. Installing erases the data partition.

Cosmo Debian Beta1

Choose a tag to compare

@atzandrew atzandrew released this 13 Nov 19:00

Cosmo Debian Beta1

Sleep fix: sleep in this image ends after about a second. Get
Beta1.1
for the fixed image, or its fix script for an installed Beta1.

The first public beta of Debian 13 with KDE Plasma on the Planet Computers
Cosmo Communicator, running a mainline Linux 6.18 kernel in place of the
vendor 4.4 kernel.

Read docs/install.md
before flashing.
Installing erases the data partition.

No warranty. This software is provided as is, without warranty of
any kind. I am not responsible for bricked or damaged devices or lost
data. You flash it at your own risk.

Read before flashing

  • NT36672 screen only. Cosmos were made with two screens. Units with
    the SSD2092 screen are not supported. The kernel is meant to refuse
    other screens and power off, but that has never been tested on an
    SSD2092 unit: check your screen first (install guide, step 2).
  • No mobile functionality. Calls, SMS, mobile data and the SIM slot
    do not work yet. Cameras and GPS do not work either.
  • Back up first. The backup in the install guide (step 3) is the only
    way back to Android, and holds your unit's calibration data.
  • I have only tested on my device. The CPU voltage tables have not
    been checked on other units. Do not flash a device you cannot recover
    with mtk.
  • Rescue mode has a root shell with no password. If Debian fails to
    start, the Cosmo starts a small rescue system the next time instead.
    While it is in rescue mode, any computer plugged into it with a USB
    cable can get a root shell without a password. It cannot be reached
    over Wi-Fi or Bluetooth. See "Rescue mode" in the install guide.
  • SSH is on and accepts passwords. Choose a strong password during
    setup, or turn SSH off if you do not use it:
    sudo systemctl disable --now ssh.

Versions

Part Version
Kernel Linux 6.18.58-cosmo
Debian 13.7 (trixie)
Plasma 6.3.6 (Wayland)
Mesa 26.1.6 (trixie-backports), panfrost GPU driver, GLES 3.1
Firefox 160 (Mozilla's repository)
Source: kernel, boot image, modules cosmo-linux618 tag beta1 (0000d86)
Source: root filesystem build gemini-debian 3a3866c

On an installed Cosmo, cat /etc/gemini/build-info shows the same
versions.

Working

  • Display, GPU, Plasma Wayland, touchscreen, keyboard and backlight, lid
  • Wi-Fi (WPA2), Bluetooth (mice, keyboards, audio)
  • Speaker and headphones
  • Charging, including USB-C PD fast charging; battery level
  • Deep sleep at stock power draw (~85 mA); lid, Esc or power key wake
  • USB device and host mode, microSD, cover display (time and battery)

Known issues

  • After sleep, the right USB-C port may stop working until a restart.
  • The left USB port supplies power to devices only until the first sleep.
  • Wi-Fi switches off during sleep and comes back on at wake.
  • No headset microphone; plugging headphones in is not detected.
  • WPA3-only Wi-Fi networks do not connect yet (mixed WPA2/WPA3 networks
    connect over WPA2).
  • The GPU may log errors and briefly stall when a web page starts WebGL.
  • The bootloader shows its orange-state warning at every start.

Not supported yet: modem, GPS, cameras, sensors and screen rotation, HDMI
out, vibration, NFC, fingerprint reader.

Downloads

File Write to
cosmo-boot-beta1.img boot
cosmo-dtbo-beta1.img dtbo
cosmo-debian-beta1.img.zst userdata (decompress first)
SHA256SUMS check the downloads: sha256sum -c SHA256SUMS

Reporting problems

Open an issue with what you did, what you expected and what happened,
plus the output of cat /etc/gemini/build-info. See
docs/beta-testing.md
for what to test and which logs to attach.