How armbian/build works
Armbian Build Framework produces customizable Debian- or Ubuntu-based images for SBCs and embedded devices. The documented workflow starts with an operator invoking a build, which assembles a Linux system from a kernel, bootloader, and root filesystem into an image. The sampled files expose supporting target and CI-matrix generation, patch application, and board-specific firmware components, but not the central build entry point or most image-assembly code. Accordingly, documented workflow links use README evidence; implementation links are limited to relationships visible in the supplied excerpts or source index.
Main entry points: patching.py Patch orchestrator · targets-compositor.py Target compositor · patching_config.py Patch configuration · patching_parallel.py Parallel patching
Components 18
Image build
- Armbian framework
- Linux kernel
- Bootloader
- Root filesystem
- OS image
Target planning
- Target compositor
lib/tools/info/targets-compositor.py - Board inventory
lib/tools/info/board-inventory.py - GitHub Actions matrix
lib/tools/info/output-gha-matrix.py - Workflow output
lib/tools/info/output-gha-workflow.py
Patch management
- Patch orchestrator
lib/tools/patching.py - Parallel patching
lib/tools/common/patching_parallel.py - Patch configuration
lib/tools/common/patching_config.py - DT Makefile patcher
lib/tools/common/dt_makefile_patcher.py
Board support
- Helios64 U-Boot
patch/u-boot/v2026.07/board_helios64/board/helios64.c - Sophgo image installer
extensions/image-output-sophgo-emmc-installer/mkcimg.py - Sunxi MMIO access
packages/bsp/sunxi-temp/mod_mmio.h
Build reporting
- Artifact information tools
lib/tools/info/info-gatherer-image.py
Other components
- Operator
Connections 14
- Operator → Armbian framework: invokes build
- Armbian framework → Linux kernel: builds kernel
- Armbian framework → Bootloader: builds bootloader
- Armbian framework → Root filesystem: builds rootfs
- Armbian framework → OS image: produces image
- Target compositor → Board inventory: reads inventory
lib/tools/info/targets-compositor.py - GitHub Actions matrix → Target compositor: uses invocations
- Workflow output → Target compositor: uses invocations
- Patch orchestrator → Parallel patching: dispatches patches
lib/tools/patching.py - Patch orchestrator → Patch configuration: loads configuration
lib/tools/patching.py - Patch orchestrator → DT Makefile patcher: invokes patcher
lib/tools/patching.py - Parallel patching → Patch configuration: reads options
lib/tools/common/patching_parallel.py - DT Makefile patcher → Patch configuration: reads settings
lib/tools/common/dt_makefile_patcher.py - Artifact information tools → Armbian framework: reports artifacts