Igor Pecovnik d663a04804 firstrun: cover the full 64-bit Raspberry Pi lineup
The single arm64 rpi4b image boots every 64-bit Pi, but the first-boot
hostname map only recognised four models; the rest kept the generic
rpi4b hostname. Expand it to the whole 64-bit lineup (Pi 3B+ onward)
using the authoritative model strings from the upstream Raspberry Pi
kernel device trees, and switch from sequential [[ ]] tests to an
ordered case so more specific names win (e.g. "Model B+" over "Model B",
"Pi 500" over "Pi 5", "Compute Module 4S" over "Compute Module 4").

Covered: 3A+, 3B+, 3B, 4B, 400, 5, 500, Zero 2 W, and Compute Module
3/4/4S/5/5 Lite (Compute Modules matched by SoM substring since the
reported string comes from the carrier board). 32-bit-only and pre-3B
models are intentionally excluded and keep the default hostname.

Signed-off-by: Igor Pecovnik <igor@armbian.com>
2026-08-29 09:02:11 +02:00
2026-02-09 00:28:39 +01:00
2026-08-26 19:57:21 +02:00

Armbian logo

Purpose of This Repository

The Armbian Linux Build Framework creates customizable OS images based on Debian or Ubuntu for single-board computers (SBCs) and embedded devices.

It builds a complete Linux system including kernel, bootloader, and root filesystem, giving you control over versions, configuration, firmware, device trees, and system optimizations.

The framework supports native, cross, and containerized builds for multiple architectures (x86_64, aarch64, armhf, riscv64) and is suitable for development, testing, production, or automation.

Looking for prebuilt images? Use Armbian Imager — the easiest way to download and flash Armbian to your SD card or USB drive. Available for Linux, macOS, and Windows.

Quick Start

git clone https://github.com/armbian/build
cd build
./compile.sh

Build demonstration

Build Host Requirements

Hardware

  • RAM: ≥8GB (less with KERNEL_BTF=no)
  • Disk: ~50GB free space
  • Architecture: x86_64, aarch64, or riscv64

Operating System

  • Native builds: Armbian/Debian 13 (Trixie)
  • Containerized: Any Docker-capable Linux
  • Windows: WSL2 with Armbian/Debian 13 (Trixie)

Software

  • Superuser privileges (sudo or root)
  • Up-to-date system (outdated Docker or other tools can cause failures)

Resources

  • Documentation — Comprehensive guides for building, configuring, and customizing
  • Website — News, features, and board information
  • Blog — Development updates and technical articles
  • Forums — Community support and discussions

Contributing

We welcome contributions! See CONTRIBUTING.md for guidelines on reporting issues, submitting changes, and contributing code.

Support

Community Forums

Get help from users and contributors on troubleshooting, configuration, and development. 👉 forum.armbian.com

Real-time Chat

Join discussions with developers and community members on IRC or Discord. 👉 Community Chat

Paid Consultation

For commercial projects, guaranteed response times, or advanced needs, paid support is available from Armbian maintainers. 👉 Contact us

Contributors

Thank you to everyone who has contributed to Armbian!

Contributors

Armbian Partners

Our partnership program supports Armbian's development and community. Learn more about our Partners.

S
Description
Armbian Linux build framework generates custom Debian or Ubuntu image for x86, aarch64, riscv64 & armhf
Readme GPL-2.0
1,021 MiB
Languages
Shell 67.2%
Python 11.8%
GSC 8.6%
Batchfile 4.4%
C 3.4%
Other 4.5%