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-07 17:56:32 +02:00
bin Updated driver for AP6212, found in M2+ and some Belink X2 2016-09-30 21:25:31 +02:00
config Improve XU4 sources config file 2016-10-06 18:28:17 +03:00
documentation Cleanup 2016-08-09 18:26:22 +03:00
extras Update firmware package relationships 2016-09-29 19:23:30 +03:00
extras-buildpkgs Move glshim to private directory 2016-10-06 20:29:29 +03:00
patch Merge branch 'master' of https://github.com/igorpecovnik/lib 2016-10-04 18:39:05 +02:00
scripts Bugfix. Properly add UUID to fstab 2016-10-06 19:46:47 +02:00
build-all.sh Fix trailing space characters at EOL (#472) 2016-09-18 17:34:45 +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 If compile.sh is changed we need to bump number 2016-09-17 19:55:04 +02:00
configuration.sh Install 32bit Firefox on arm64 systems since 64bit is unstable. 2016-10-07 17:56:32 +02:00
debootstrap-ng.sh Install 32bit Firefox on arm64 systems since 64bit is unstable. 2016-10-07 17:56:32 +02:00
desktop.sh Remove sunxi_no_mali_mem_reserve from kernel cmdline 2016-10-03 22:52:29 +02:00
distributions.sh Better default modues handling 2016-09-12 14:19:21 +02:00
Dockerfile Update container dependencies 2016-07-16 17:08:24 +03:00
fel-load.sh Xenial target related updates 2016-05-01 14:24:40 +03:00
general.sh Small cleanup 2016-09-29 19:42:17 +03:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Move a10disp to extras-buildpackages 2016-09-29 18:54:57 +03:00
makeboarddeb.sh Fixes for desktop configuration 2016-10-05 19:32:23 +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 Fix trailing space characters at EOL (#472) 2016-09-18 17:34:45 +03:00
repo-update.sh Fix comment glitches (#471) 2016-09-18 17:33:36 +03:00
upgrade.sh Really remove sunxi_no_mali_mem_reserve 2016-10-04 08:12:15 +02:00
Vagrantfile Update container dependencies 2016-07-16 17:08:24 +03:00

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: