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-27 19:04:39 +02:00
bin Some ath3 bluetooth firmware 2016-03-22 20:54:59 +01:00
config Odroid C2 kernel configuration and boot script update 2016-03-26 15:02:46 +01:00
documentation Merge pull request #245 from ThomasKaiser/master 2016-03-27 18:44:38 +02:00
patch Possible fix for Lime 2 network troubles 2016-03-27 19:04:39 +02:00
scripts Merge pull request #245 from ThomasKaiser/master 2016-03-27 18:44:38 +02:00
boards.sh Workaround for C2 - init FB at rc.local 2016-03-26 15:04:08 +01:00
build-all.sh Refactoring for build-all, added CLI_TARGET to configuration.sh for defining which CLI images we build, same logic as DESKTOP_TARGET, prepared for Ubuntu Xenial 2016-03-19 08:54:07 +01:00
common.sh U-boot for C2 was not building on multicore 2016-03-27 16:50:05 +02:00
compile.sh Faster check for git presence in compile.sh 2016-03-22 21:37:18 +03:00
configuration.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
debootstrap-ng.sh Let's save arhitecture name in cache files 2016-03-26 15:04:43 +01:00
debootstrap.sh Let's save arhitecture name in cache files 2016-03-26 15:04:43 +01:00
desktop.sh
distributions.sh
fel-load.sh
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
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
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
repo-update.sh
upgrade.sh

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: