Build a Debian-based ARM64 system for Raspberry Pi 3
FreeBuild Debian ARM64 for Raspberry Pi 3
About Build a Debian-based ARM64 system for Raspberry Pi 3
RPi-arm64 is an open-source script-based tool for building a Debian-based ARM64 system tailored for Raspberry Pi 3 (including 3 B+). The build process is divided into four stages: kernel preparation (using rpi-4.14.y by default), rootfs construction via debootstrap, installation of bootcode and Raspberry Pi userland, and offline configuration (e.g., adding users). It supports on-board Wi-Fi, Bluetooth (requires manual hciattach), camera (bcm2835_v4l2 with kernel 4.12+), and RPi.GPIO. Users can customize the build via a configuration file (rpi3_defconfig) or use prebuilt images (available via Baidu Netdisk) that include desktop environments like XFCE, i3wm, LXDE, and rpi-chromium. The tool also offers Docker-based builds for reproducibility and is licensed under LGPL-3.0.
Key Features
Pros & Cons
- Automated build process reduces manual effort
- Supports multiple desktop environments in prebuilt images
- Includes support for hardware features (Wi-Fi, Bluetooth, camera, GPIO)
- Docker build option for reproducible environments
- Open source under LGPL-3.0 license
- Community maintained with active development (209 commits)
- Limited to Raspberry Pi 3 and 3 B+ (not Pi 4 or newer)
- Bluetooth requires manual hciattach command after boot
- Camera support requires kernel 4.12 or later
- Prebuilt images only available via Baidu Netdisk (China-specific)
- Documentation is limited to README files; may lack troubleshooting depth