Armbian Linux build tools https://www.armbian.com
Find a file
2016-04-13 09:32:00 +02:00
bin
config Updated sun8i config, new options and CMA is enabled back 2016-04-13 09:29:54 +02:00
documentation
extras
patch New / updated sun8i (updated) kernel patches 2016-04-13 09:25:21 +02:00
scripts
boards.sh Added Hummingboard 2 to legacy kernel, bugfixes to boot script and removing BT loading from defaults 2016-04-11 12:50:21 +02:00
build-all.sh
common.sh
compile.sh
configuration.sh Changed default sun8i source to more recent one, forked from here: 2016-04-13 09:32:00 +02:00
debootstrap-ng.sh
debootstrap.sh
desktop.sh
distributions.sh
Dockerfile
fel-load.sh
general.sh
LICENSE
main.sh
makeboarddeb.sh
patching.sh
README.md
repo-show.sh
repo-update.sh
upgrade.sh
Vagrantfile

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),
  • gain root access.

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 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 want to invoke menu configuration:

KERNEL_CONFIGURE="yes"

More info: