- Shell 89%
- Makefile 11%
| Filename | Latest commit message | Latest commit date |
|---|---|---|
| distribution@6548f97964 | ||
| docs | ||
| profiles | ||
| scripts | ||
| .gitignore | ||
| .gitmodules | ||
| LICENSE | ||
| Makefile | ||
| README.md | ||
rockbian
Debian Linux for arm64 handheld game consoles, built on a mainline kernel with ROCKNIX's hardware patches.
This project exists to provide developers and tinkerers with a modular, easily extensible, updated and mostly upstream base, upon which they can build their own work. It aims to fill the gap between ROCKNIX, which is immutable-by-default so not really hacker-friendly, and dArkOS, which ships a 4.x kernel with proprietary blobs for graphics.
Currently only works on R36S clones (eeclone), but more device support is coming soon.
⚠️ Experimental. Building and flashing is safe and fully verified on a R36S clone, but don't touch your device's internal eMMC (if it has one), and expect to tinker.
What you get
rockbian provides composable image variants: a minimal base plus optional feature profiles; see docs/profiles.md.
- Minimal: just enough to get Debian started and displayed on your device
- Debian 13 "trixie" (arm64, systemd)
- The kernel ROCKNIX pins for these devices, plus its hardware-enablement patches
- Open GPU stack (Mesa Panfrost), no proprietary blobs in user space
- agetty on the panel + serial, logins
root/rootanddebian/debian(sudo) - Screen bring-up through a device-tree overlay (
mipi-panel.dtbo), the same mechanism ROCKNIX uses for panels
- Console variant (default): a lightweight but more complete base to build on and tinker with
- First-boot storage expansion: the root partition grows to the whole SD card automatically
- Networking: NetworkManager brings a USB ethernet adapter up with DHCP the moment it is plugged in; Wi-Fi via
sudo nmcli/nmtui; the device answers torockbian.local(mDNS) - Remote shell: ssh server installed and started at boot, host keys generated per card
- More variants coming soon
What you need
| Device | RK3326 handheld (EE-clone family works today) |
| Card | a genuine microSD, ≥ 2 GB (~120 MB download, ~1.3 GB written) |
| PC | Linux with Docker, git, ~25 GB free disk |
| Time | ~1 hour first build, seconds per unchanged rebuild, ~5 min when profiles change |
Documentation
- Build and flash an image: toolchain, variants, display overlay, flashing
- First boot: boot sequence, logins, serial console, networking, ssh
- First-boot storage growth: how
/grows to fill the card, verification, opt-out - Variants and profiles: what each profile does and how to combine them
Credits & licenses
- Boot chain, kernel patches and device trees: ROCKNIX and its LibreELEC / ArkOS / JELOS heritage. Sources are used as-is except the kernel config (ROCKNIX's embedded initramfs disabled) and the generated boot menu; licensed GPL-2.0-or-later (see their repository)
- Debian packages inside the image: see each package's own license
- Bootloader images embed Rockchip's
rkbinblobs (DDR init + Trusted Firmware), exactly as ROCKNIX distributes them: non-free, unmodified - This repository (scripts, docs): GPL-2.0-or-later
Disclaimer
Provided as-is, no warranty. Flashing bootloaders or using broken storage can brick hardware; eMMC flashing is explicitly out of scope and unsupported here. You are responsible for what you put on your devices.