The official build framework for the Armbian Linux distribution. This repository contains the complete toolchain and scripts required to compile custom OS images from source, including kernel configuration, U-Boot handling, and board-specific tweaks for various ARM and ARM64 single-board computers.
aarch64armdebianfirmwareframeworkimageisokernelkernel-compilationkernel-hackinglightweightlinuxlinux-distributionoperating-systemu-bootubuntuuefiwsl2x86
|
|
||
|---|---|---|
| bin | ||
| config | ||
| documentation | ||
| extras | ||
| patch | ||
| scripts | ||
| boards.sh | ||
| build-all.sh | ||
| common.sh | ||
| compile.sh | ||
| configuration.sh | ||
| debootstrap-ng.sh | ||
| debootstrap.sh | ||
| desktop.sh | ||
| distributions.sh | ||
| Dockerfile | ||
| fel-load.sh | ||
| general.sh | ||
| LICENSE | ||
| main.sh | ||
| makeboarddeb.sh | ||
| README.md | ||
| repo-show.sh | ||
| repo-update.sh | ||
| upgrade.sh | ||
| Vagrantfile | ||
Armbian
Ubuntu/Debian images for ARM based single-board computers http://www.armbian.com
How to build my own image or kernel?
Preparation
- x86/x64 machine running any OS; 4G ram, SSD, quad core (recommended),
- VirtualBox or similar virtualization software (highly recommended),
- alternatively - Docker, systemd-nspawn or other containerization software,
- compilation environment is highly recommended to be Ubuntu Trusty 14.04 or Ubuntu Xenial 16.04 (other releases are not officially supported),
- installed basic system, OpenSSH and Samba (optional),
- superuser rights (configured
sudoor root shell).
Execution
apt-get -y install git
git clone https://github.com/igorpecovnik/lib --depth 1
cp lib/compile.sh .
./compile.sh
This will download all necessary sources, execute compilation and/or build a bootable image. Most of things will be cached so next run will be extremely faster!
How to edit kernel configuration?
Edit compile.sh and set
KERNEL_CONFIGURE="yes"
to display kernel configuration menu prior to compilation
More info: