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-03-05 18:44:08 +01:00
bin Fixed Bluetooth on Cubietruck 2016-02-28 18:48:01 +01:00
config Udoo quad default kernel upstream patches + added missing package 2016-03-05 18:44:08 +01:00
documentation Added preliminary armbianmonitor code 2016-03-04 00:32:07 +01:00
patch Udoo quad default kernel upstream patches + added missing package 2016-03-05 18:44:08 +01:00
scripts Changed kernel parameters for NFS boot 2016-03-04 14:20:20 +03:00
boards.sh Enable PG11 on every H3 variant, improve user experience through green led on H3 Oranges 2016-02-25 23:40:24 +01:00
build-all.sh example 2016-02-20 18:58:44 +01:00
common.sh Final documentation fixes for 5.04 OPi release, fixed common.sh 2016-02-26 20:22:13 +01:00
compile.sh compile.sh was changed, so increment version number 2016-02-10 10:19:41 +01:00
configuration.sh Udoo quad default kernel upstream patches + added missing package 2016-03-05 18:44:08 +01:00
debootstrap-ng.sh Further separation of debootstrap packages list 2016-03-04 00:00:37 +03:00
debootstrap.sh Those process hangs inside quemu and we can't remove loop devices 2016-03-05 14:05:46 +01:00
desktop.sh Udev-rules 2016-02-29 10:48:45 +02:00
distributions.sh Added sunxi-tools for all releases 2016-02-26 12:30:06 +03:00
fel-load.sh Basic documentation for fel-load 2016-03-04 21:11:58 +03:00
general.sh Improvements for fel-load 2016-03-04 12:29:21 +03:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Workaround for wrong /tmp permissions after finishing build proccess 2016-03-03 11:49:23 +01:00
makeboarddeb.sh Cleanup and small fix 2016-03-05 09:40:39 +01:00
patching.sh New hidden variable - exit if patching fails, added to configuration too, default = unchanged = warning 2016-01-08 19:49:47 +01: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 Banana M1 / M1+ / Pro micro fixes in legacy and vanilla kernel. 2016-03-01 22:27:09 +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: