Armbian Linux build tools https://www.armbian.com
Find a file
2016-01-30 18:30:24 +03:00
bin Set Armbian logo to Udoo uboot 2015-12-21 12:13:28 +01:00
config Disable CONFIG_U_SERIAL_CONSOLE to prevent kernel panic on shutdown 2016-01-30 18:28:28 +03:00
documentation Added new hidden switch to disable image ZIP creation 2016-01-24 16:09:36 +01:00
patch New version of axp sysfs patch 2016-01-30 18:30:24 +03:00
scripts Report IP for more cases fix. 2016-01-28 16:58:10 +01:00
boards.sh Modules creation for next and dev are the same. Better than having legacy modules on dev ... 2016-01-20 09:14:07 +01:00
build-all.sh Missing patches for u-boot default branch and fixes for "build all" 2015-12-28 12:26:28 +01:00
common.sh More fixes for Marvell Armada, kernel configuration for NEXT / DEV, fixed failed patch, u-boot packaging, ... 2016-01-08 19:50:53 +01:00
compile.sh Small change in compile.sh 2016-01-09 16:26:45 +03:00
configuration.sh Do not overwrite GPG_PASS in configuration.sh 2016-01-30 16:00:47 +03:00
debootstrap-ng.sh Added new hidden switch to disable image ZIP creation 2016-01-24 16:09:36 +01:00
debootstrap.sh Removed small code duplication 2016-01-21 21:49:11 +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 fix invalid directory 2016-01-22 16:10:59 +07:00
general.sh Marvel Armada patches. Second batch. Image with legacy kernel is running ... 2016-01-09 10:31:20 +01:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Small fix for logging 2016-01-07 11:47:38 +03:00
makeboarddeb.sh Proper packages co-install for BSP 2016-01-21 23:09:53 +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 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 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: