Armbian Linux build tools https://www.armbian.com
Find a file
2016-03-16 19:32:05 +01:00
bin More desktop stuff 2016-03-12 17:04:52 +03:00
config Moving sun8i next patches to dev branch, removing obsolete patches, fixing faling u-boot bananapi patch, adding sun8i_emac to dev config 2016-03-16 17:40:15 +01:00
documentation Documentation update 2016-03-16 09:15:50 +01:00
patch Final H3 fixes for u-boot 2016.03 2016-03-16 19:32:05 +01:00
scripts FEL and NFS related fixes 2016-03-14 19:26:07 +03:00
boards.sh Merge branch 'master' of https://github.com/zador-blood-stained/lib 2016-03-15 20:15:02 +01:00
build-all.sh example 2016-02-20 18:58:44 +01:00
common.sh Refactor package names to fix installation of u-boot in debootstrap 2016-03-14 23:03:08 +03:00
compile.sh compile.sh was changed, so increment version number 2016-02-10 10:19:41 +01:00
configuration.sh Eth not working on v2016.03 on Banana PRO ... fixing to previous u-boot version for all except sun8i 2016-03-16 19:19:00 +01:00
debootstrap-ng.sh Improvements to FEL mode 2016-03-16 19:53:45 +03:00
debootstrap.sh This commit dissapeared ;) 2016-03-08 10:05:34 +01:00
desktop.sh Xenial desktop legacy needs separate code for hardware acceleration support 2016-03-14 23:42:29 +03:00
distributions.sh Refactor package names to fix installation of u-boot in debootstrap 2016-03-14 23:03:08 +03:00
fel-load.sh Improvements to FEL mode 2016-03-16 19:53:45 +03:00
general.sh Updated key for aptly repository 2016-03-16 12:47:23 +03:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Refactor package names to fix installation of u-boot in debootstrap 2016-03-14 23:03:08 +03:00
makeboarddeb.sh Refactor package names to fix installation of u-boot in debootstrap 2016-03-14 23:03:08 +03:00
patching.sh Added function to abort build with verbose error message 2016-03-05 21:29:04 +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 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: