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
zador-blood-stained 5d3820e09a Add initrd support for Clearfog
Add missing DTB files for all Clearfog branches
Add parameter for loading Clearfog Base DTB
2016-11-20 15:45:26 +03:00
bin Add wireless firmware for OPI Zero to our small fw package 2016-11-11 13:44:17 +01:00
config Add initrd support for Clearfog 2016-11-20 15:45:26 +03:00
documentation Cleanup 2016-08-09 18:26:22 +03:00
extras Removing .git from firmware package 2016-11-03 06:47:36 +01:00
extras-buildpkgs Revert sunxi-tools sources to master branch 2016-11-13 18:56:05 +03:00
patch Add initrd support for Clearfog 2016-11-20 15:45:26 +03:00
scripts Permanent MAC address for xradio_wlan 2016-11-11 20:46:40 +01:00
build-all.sh Rename BLACKLIST to MODULES_BLACKLIST 2016-11-14 22:09:17 +03:00
chroot-buildpackages.sh Fixes and enhancements for chroot-builspackages 2016-11-11 20:31:36 +03:00
common.sh Small enhancement for overlayfs_wrapper 2016-11-18 16:35:46 +03:00
compile.sh If compile.sh is changed we need to bump number 2016-09-17 19:55:04 +02:00
configuration.sh Add ethtool to default packages list 2016-11-18 16:36:46 +03:00
debootstrap-ng.sh Generate DOS/windows friendly sha256sum by adding .sha to the file name. 2016-11-01 10:04:39 +01:00
desktop.sh UUID in boot script support for sunxi boards 2016-10-15 18:08:41 +03:00
distributions.sh Rename BLACKLIST to MODULES_BLACKLIST 2016-11-14 22:09:17 +03:00
Dockerfile Update container dependencies 2016-07-16 17:08:24 +03:00
fel-load.sh Cleanup 2016-10-25 17:57:57 +03:00
general.sh Add linaro 6.1 armhf toolchain 2016-11-11 19:49:50 +03:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Refactoring for overlayfs_wrapper 2016-11-03 20:57:56 +03:00
makeboarddeb.sh Fix uInitrd update logic 2016-11-20 13:00:10 +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 Add auto-created output directory to Vagrantfile 2016-11-06 22:22:08 +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: