carbonian on the raspberry pi 2

The same experience, built for the Pi 2.

On the Raspberry Pi 2 Carbonian brings the same desktop, the same palettes, panels and conf files, over its own base: Raspberry Pi OS Lite (trixie) recompiled for the Pi 2's Cortex-A7 with -mcpu=cortex-a7 -mfpu=neon-vfpv4 instead of the ARMv6 baseline. From a key or a click to a panel moving takes 5 to 60 ms on a 1 GHz board. The Pi 2 is Carbonian's floor: what runs here runs everywhere.

A Carbonian session on the Raspberry Pi 2 in the Forest palette: fastfetch shows a Cortex-A7 / NEON-VFPv4 rebuild
pi 2 fastfetch at login: Carbonian 13, the Cortex-A7 / NEON-VFPv4 rebuild, in Forest.

On the Pi 2, in real time

The console from power-on to power-off, then a session: zsh, git, a script written in neovim, btop with two cores busy, logout and a reboot. Raspberry Pi 2, KMS display driver, real time. (Recorded before the site moved to Forest.)

Built for the real CPU

Every armhf package on the reference Pi comes from Carbonian, read from the archive every time the factory publishes.

–source packages
–binaries rebuilt for Cortex-A7
–imported unchanged (arch:all, gcc)
–MB in the pool
updated –
armv7-a · neon-vfpv4

Thumb-2, VFPv4, NEON

Raspberry Pi OS targets ARMv6 so one image fits a Pi 1. Carbonian compiles for the Pi 2's Cortex-A7, hardware integer division included, verified per binary with readelf -A.

glibc · systemd · openssl

The whole base

glibc, systemd, OpenSSL, zlib, OpenSSH, PAM, coreutils, bash, apt, Python 3.13 and PostgreSQL 17, all rebuilt; packages Raspberry Pi patches keep their patches.

gpiod · i2c · spi

Hardware ready, lean

gpiomem, I2C, SPI and PWM in the kernel; libgpiod, gpiozero, lgpio and smbus2 in the archive. No cloud-init or NetworkManager: 17 s to the login.

mesa · vc4 · gles2

A lean graphics stack

Carbonian's own Mesa for the VideoCore IV only: EGL, GLES2 and GBM on Wayland, no GLX, LLVM or Vulkan. wlroots 0.20 on top, with Carbonian's colour filter and CRT patches: the filters and styles work on the Pi too.

gtk 3 · wayland only

GTK without X

GTK 3 rebuilt for the Pi with no X11 or Broadway backend, no CUPS and no colord. A GTK app runs as a Wayland guest and takes the palette.

measured

Tuned where it costs

On a Pi, reading a full-screen picture back from the GPU costs tens of milliseconds, so the overview's pictures stay on the GPU and the status line asks the compositor through its socket instead of searching /proc.

Measured, not promised

Same Pi, same data, Raspberry Pi OS (ARMv6) binaries against Carbonian (ARMv7). The gain depends on the workload: big on memory and string work, flat on pure integer logic.

WorkloadRaspberry Pi OSCarbonianDifference
PostgreSQL 17 · pgbench TPC-B658–667 tps771–778 tps+16–18%
PostgreSQL 17 · read-only (warm)4 223 tps4 738 tps+12%
SQLite · LIKE '%abc%' scan0.863 s0.726 s+16%
SQLite · 300k-row insert10.78 s10.17 s+5.7%
SQLite · full workload16.78 s16.14 s+3.8%
glibc · memcpy / string search3 122 ms2 979 ms+4.6%
SQLite · index, group by, join——within 1%

Raspberry Pi 2 Model B v1.1, 4× Cortex-A7 @ 1.0 GHz, 1 GB. PostgreSQL: scale 10, 4 clients, 60 s, synchronous_commit=off.

Put Carbonian on a Pi 2

From Raspberry Pi OS Lite (trixie, 32-bit): Carbonian's packages win by pin priority, then the desktop goes on top.

Trust the key and add the repository

curl -fsSL https://deb.carbonian.org/carbonian.gpg | sudo tee /usr/share/keyrings/carbonian-archive-keyring.gpg >/dev/null
sudo tee /etc/apt/sources.list.d/carbonian.sources >/dev/null <<'EOF'
Types: deb deb-src
URIs: https://deb.carbonian.org
Suites: carbonian-pi2
Components: main
Signed-By: /usr/share/keyrings/carbonian-archive-keyring.gpg
EOF

Prefer Carbonian and upgrade

printf 'Package: *\nPin: release o=Carbonian\nPin-Priority: 700\n' | sudo tee /etc/apt/preferences.d/carbonian.pref
sudo apt update && sudo apt full-upgrade

Install the desktop and reboot

sudo apt install --no-install-recommends carbonian-desktop && sudo reboot

Until the release the archive asks for a login: ask for one. The Pi takes packages only from carbonian-pi2: anything new is built by the factory for it first.

Carbonian Micro

The same kernel and CPU tuning as a 21 MB Buildroot image, for appliances: no package manager, the whole system is the image.

The factory

Every package is built by scripts in git, signed with the Carbonian key and published with its sources. The same factory builds the other ports (amd64, arm64, riscv64).

SourcesRaspberry Pi OS and Debian, fetched by exact version
→
sbuildclean armhf chroots, a native x86 cross gcc inside them
→
Auditevery binary checked for ARMv7 / NEON before publishing
→
repreprothe signed carbonian-pi2 suite, binaries and sources