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
Guillaume Romagny dbc642f81a adding kernel mainline (4.6.2) for Odroid-XU4
modified:   config/boards/odroidxu4.conf
	new file:   config/bootscripts/boot-odroid-xu4-next.ini
	modified:   config/kernel/linux-odroidxu4-next.config
	modified:   config/sources/odroidxu4.conf
	deleted:    patch/kernel/odroidxu4-next/patch-4.2.0-1.patch
	deleted:    patch/kernel/odroidxu4-next/patch-4.2.1-2.patch
	deleted:    patch/kernel/odroidxu4-next/patch-4.2.2-3.patch
	deleted:    patch/kernel/odroidxu4-next/patch-4.2.3-4.patch
	deleted:    patch/kernel/odroidxu4-next/patch-4.2.4-5.patch
	deleted:    patch/kernel/odroidxu4-next/patch-4.2.5-6.patch
	deleted:    patch/kernel/odroidxu4-next/patch-4.2.6-7.patch
	deleted:    patch/kernel/odroidxu4-next/patch-4.2.7-8.patch
2016-06-21 05:16:52 +02:00
bin Get linux firmware for kernel.org, add missing ones, create a package linux-firmware and install it on the image in the building process. Firmware package, which is build with kernel is removed. We need to test if anything is missing - tested so far: Cubietruck, Banana PRO, M2+ 2016-06-15 17:11:01 +02:00
config adding kernel mainline (4.6.2) for Odroid-XU4 2016-06-21 05:16:52 +02:00
documentation Added Beelink to log 2016-06-14 18:48:47 +02:00
extras Remove default hostapd before installing customized one 2016-06-16 20:55:29 +03:00
patch adding kernel mainline (4.6.2) for Odroid-XU4 2016-06-21 05:16:52 +02:00
scripts Merge branch 'master' of https://github.com/igorpecovnik/lib 2016-06-18 16:28:30 +02:00
boards.sh Move more configuration files to board support package 2016-06-16 20:02:13 +03:00
build-all.sh Move boots cript installation to sources templates 2016-06-13 22:25:46 +03:00
common.sh Support for executing commands at host in customize_image 2016-06-18 12:51:57 +03:00
compile.sh Introducing new feature, defined as "DEBUG_MODE" for easier source debugging. You can create changes on the top of all our patches and patch, placed into sub dir userpatches, will be produced automatically 2016-06-13 21:02:39 +02:00
configuration.sh Remove useless auto detection stuff, add sysstat package 2016-06-18 16:28:02 +02:00
debootstrap-ng.sh Missing def, bugfix 2016-06-19 08:53:31 +02:00
debootstrap.sh working only for sid 2016-05-28 06:25:10 +02:00
desktop.sh partially rework desktop.sh 2016-06-17 18:59:33 +03:00
distributions.sh Remove default hostapd before installing customized one 2016-06-16 20:55:29 +03:00
Dockerfile Made the dockerfile actually work. 2016-04-03 17:00:51 +07:00
fel-load.sh Xenial target related updates 2016-05-01 14:24:40 +03:00
general.sh Modify firmware packaging procedure 2016-06-15 19:44:14 +03:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Remove old build log files 2016-06-16 14:34:45 +03:00
makeboarddeb.sh Small changes to makeboarddeb.sh 2016-06-19 00:57:24 +03:00
README.md Update project README 2016-04-19 13:27:35 +03:00
repo-show.sh Xenial to the repository 2016-05-23 20:07:05 +02:00
repo-update.sh Read passwd from user config file 2016-05-23 20:11:06 +02:00
upgrade.sh Banana M1 / M1+ / Pro micro fixes in legacy and vanilla kernel. 2016-03-01 22:27:09 +01:00
Vagrantfile Manually merged 2016-04-07 16:06:41 +02:00

Armbian

Ubuntu/Debian images for ARM based single-board computers http://www.armbian.com

How to build my own image or kernel?

Preparation

  • x86/x64 machine running any OS; 4G ram, SSD, quad core (recommended),
  • VirtualBox or similar virtualization software (highly recommended),
  • alternatively - Docker, systemd-nspawn or other containerization software,
  • compilation environment is highly recommended to be Ubuntu Trusty 14.04 or Ubuntu Xenial 16.04 (other releases are not officially supported),
  • installed basic system, OpenSSH and Samba (optional),
  • superuser rights (configured sudo or root shell).

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/or build a bootable image. Most of things will be cached so next run will be extremely faster!

How to edit kernel configuration?

Edit compile.sh and set

KERNEL_CONFIGURE="yes"

to display kernel configuration menu prior to compilation

More info: