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-02-22 12:10:38 +01:00
bin
config Fixed dvfs settings for Orange Pi Lite in advance 2016-02-21 19:35:12 +01:00
documentation Logbook ++ 2016-02-20 20:47:29 +01:00
patch Unified Ethernet patch 2nd try, reorganised other sun8i patches 2016-02-20 11:08:35 +01:00
scripts Revert to normal cpufreq settings for OPi One/Lite, armhwinfo OPi detection fix, firstrun cleanup/fix (192MB tempfs on boards with only 512 MB RAM) and preparation of autodetect_h3 2016-02-22 12:10:38 +01:00
boards.sh Fix for injecting "gpio set PG11" in boot.cmd 2016-02-19 17:48:40 +01:00
build-all.sh example 2016-02-20 18:58:44 +01:00
common.sh (Hopefully) fix MT7601U for real 2016-02-21 16:26:43 +02:00
compile.sh compile.sh was changed, so increment version number 2016-02-10 10:19:41 +01:00
configuration.sh Revert to normal cpufreq settings for OPi One/Lite, armhwinfo OPi detection fix, firstrun cleanup/fix (192MB tempfs on boards with only 512 MB RAM) and preparation of autodetect_h3 2016-02-22 12:10:38 +01:00
debootstrap-ng.sh remount-ro is only for ext4 2016-02-04 20:12:09 +03:00
debootstrap.sh Shutdown by power button support in Trusty 2016-01-31 17:26:16 +03:00
desktop.sh Added MPV to Jessie desktop, separate xorg.conf for sunxi FB turbo, further fixes. TESTED 2015-12-27 10:45:37 +01:00
distributions.sh Handle PMU power button in Jessie 2016-01-31 15:05:58 +03:00
general.sh Cosmetic - new option for displaying msg with bright green text 2016-02-10 15:54:17 +01:00
LICENSE
main.sh Build driver for MT7601U 2016-02-20 13:49:19 +02:00
makeboarddeb.sh Add 2nd script.bin for H3 boards to be used with HDMI-to-DVI adapters 2016-02-15 13:35:07 +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
repo-show.sh
repo-update.sh
upgrade.sh fake-hwclock package 2016-01-21 13:02:55 +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: