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.
Go to file
2016-10-12 12:28:18 +02:00
bin Missing binnary for Banana PRO wifi when building minimal firmware 2016-10-10 18:17:16 +02:00
config Odroid XU4 DEFAULT conf update 2016-10-12 12:28:18 +02:00
documentation
extras Tiny fixes 2016-10-11 17:13:37 +02:00
extras-buildpkgs Bugfix for board support package 2016-10-09 22:47:15 +03:00
patch Fix Ordoid C2 u-boot building 2016-10-11 19:52:17 +03:00
scripts Modify first run configuration code 2016-10-09 12:50:59 +03:00
build-all.sh Put boot script name and root device into variables 2016-10-10 19:36:51 +03:00
chroot-buildpackages.sh Fixes for desktop configuration 2016-10-05 19:32:23 +03:00
common.sh Bugfix 2016-10-06 19:52:01 +03:00
compile.sh
configuration.sh UUID support in fstab 2016-10-11 20:01:03 +03:00
debootstrap-ng.sh UUID support in fstab 2016-10-11 20:01:03 +03:00
desktop.sh Remove sunxi_no_mali_mem_reserve from kernel cmdline 2016-10-03 22:52:29 +02:00
distributions.sh Put boot script name and root device into variables 2016-10-10 19:36:51 +03:00
Dockerfile
fel-load.sh
general.sh Small cleanup 2016-09-29 19:42:17 +03:00
LICENSE
main.sh Move a10disp to extras-buildpackages 2016-09-29 18:54:57 +03:00
makeboarddeb.sh Bugfix for board support package 2016-10-09 22:47:15 +03:00
README.md Only Xenial is recommended for the build host in the meantime 2016-09-29 17:39:04 +02:00
repo-show.sh
repo-update.sh
upgrade.sh Really remove sunxi_no_mali_mem_reserve 2016-10-04 08:12:15 +02:00
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 with a minimum of 20GB hard disk space for the virtual disk image),
  • alternatively - Docker, systemd-nspawn or other containerization software. Using Xenial build host inside containers is highly recommended,
  • compilation environment is highly recommended to be Ubuntu Xenial 16.04 x64 (other releases are not officially supported but Ubuntu Trusty 14.04 x64 might still work),
  • installed basic system, OpenSSH and Samba (optional),
  • superuser rights (configured sudo or 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 change kernel configuration?

Edit compile.sh and set

KERNEL_CONFIGURE="yes"

to display kernel configuration menu prior to compilation

More info: