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-30 19:20:42 +03:00
bin Some ath3 bluetooth firmware 2016-03-22 20:54:59 +01:00
config Merge pull request #251 from ThomasKaiser/master 2016-03-30 15:16:00 +02:00
documentation Added logging of SD card parameters and move auto detection override to armhwinfo 2016-03-28 12:40:55 +00:00
patch There are problems with u-boot 2016.03 on some GMAC baeded A20 boards. Switching to 2016.01, where things works fine, for some time. 2016-03-28 20:55:50 +02:00
scripts In case a really slow SD card is used display warning at 3rd boot 2016-03-28 16:13:37 +00:00
boards.sh Workaround for C2 - init FB at rc.local 2016-03-26 15:04:08 +01:00
build-all.sh Allow using FAT boot partition with any device 2016-03-30 19:20:42 +03:00
common.sh Odroid C1 building bugfixes 2016-03-28 20:04:01 +02:00
compile.sh Faster check for git presence in compile.sh 2016-03-22 21:37:18 +03:00
configuration.sh Allow using FAT boot partition with any device 2016-03-30 19:20:42 +03:00
debootstrap-ng.sh Let's save arhitecture name in cache files 2016-03-26 15:04:43 +01:00
debootstrap.sh Removing quemus from both architectures 2016-03-27 22:27:11 +02:00
desktop.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
distributions.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
fel-load.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
general.sh Small tweaks to main readme, moving screen size detection from configuration to main, to have this info from start 2016-03-27 15:39:08 +02:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Small tweaks to main readme, moving screen size detection from configuration to main, to have this info from start 2016-03-27 15:39:08 +02:00
makeboarddeb.sh Odroid C2 config update (Docker ready) and small fixes to build process due too ARM64 introduction 2016-03-24 11:01:18 +01:00
patching.sh Added function to abort build with verbose error message 2016-03-05 21:29:04 +03:00
README.md Small tweaks to main readme, moving screen size detection from configuration to main, to have this info from start 2016-03-27 15:39:08 +02: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),
  • 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: