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-01-02 16:32:37 +01:00
bin Set Armbian logo to Udoo uboot 2015-12-21 12:13:28 +01:00
config fix for cubox kernel config not providing CPU temperature 2016-01-02 16:32:37 +01:00
documentation add user root fs install 2015-12-30 08:59:35 +01:00
patch Missing R1 patch in DEV kernel 2016-01-02 08:11:14 +01:00
scripts Just a proper name 2016-01-01 12:24:16 +01:00
boards.sh another rename, suggested by Odroid gurus 2015-12-31 19:20:27 +01:00
build-all.sh Missing patches for u-boot default branch and fixes for "build all" 2015-12-28 12:26:28 +01:00
common.sh Use kernel config provided by user if it exists 2015-12-27 17:03:01 +03:00
compile.sh Fix for checking out the latest version of build script 2016-01-01 14:42:20 +03:00
configuration.sh Let's disable XU4 next kernel for now. Not quite useful 2016-01-01 12:10:26 +01:00
debootstrap-ng.sh Small fix for displaying partition types 2016-01-01 20:23:16 +03:00
debootstrap.sh Added MPV to Jessie desktop, separate xorg.conf for sunxi FB turbo, further fixes. TESTED 2015-12-27 10:45:37 +01:00
desktop.sh Added MPV to Jessie desktop, separate xorg.conf for sunxi FB turbo, further fixes. TESTED 2015-12-27 10:45:37 +01:00
distributions.sh Suppress output 2015-12-26 19:00:22 +01:00
general.sh Added rsync to host dependencies list 2015-12-30 11:49:38 +03:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Small improvements 2015-12-30 16:07:40 +03:00
makeboarddeb.sh Show message at first login fixed 2015-12-21 13:43:01 +01:00
patching.sh Removed unneeded description 2015-12-18 16:37:39 +03:00
README.md Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
repo-show.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
repo-update.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
upgrade.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00

How to build my own image?

Preparation

  • x86 machine running any OS, 4G ram, SSD, quad core (recommended),
  • virtual box or similar virtualization software, (highly recommended)
  • host system is highly recommended to be Ubuntu 14.04 (some but not all sources can also compile on Ubuntu 15.04, Mint 17.2 and Debian Jessie),
  • installed basic system, OpenSSH and Samba (optional),
  • root access.

Execution

apt-get -y install git
git clone https://github.com/igorpecovnik/lib --depth 1
cp lib/compile.sh .
chmod +x compile.sh
./compile.sh

This will download all necessary sources, execute compilation and build an bootable image. Most of things will be cached so next run will be extremly faster!

How to build my own kernel?

Prerequisition are the same as building an image!

Edit compile.sh prior to running and alter switch:

KERNEL_ONLY="yes"

In directory (output/debs) you will find deb packed kernel, together with headers, firmware and u-boot.

If you are doing changes to kernel source, disable GIT lock with:

FORCE_CHECKOUT="no"

If you want to invoke menu configuration:

KERNEL_CONFIGURE="yes"

More info: