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
Thomas Kaiser c17867b64e Add orangepizero.fex in 'Xunlong state'
This fex file should also be suitable for various Android or outdated Linux builds out there. See
https://codearetoy.wordpress.com/2016/01/12/orangepi-pc-android-display-on-dvi-monitor/
2016-11-07 21:39:00 +01:00
bin Adding Realtek firmwares to minimal FW image which is now default. This covers Lamobo R1 and various and popular el cheapo USB sticks. 2016-10-27 08:54:09 +02:00
config Add orangepizero.fex in 'Xunlong state' 2016-11-07 21:39:00 +01:00
documentation Cleanup 2016-08-09 18:26:22 +03:00
extras Removing .git from firmware package 2016-11-03 06:47:36 +01:00
extras-buildpkgs Bugfix for board support package 2016-10-09 22:47:15 +03:00
patch Update NAND partition sizes for cubietruck 2016-11-07 18:09:42 +03:00
scripts Fix Wi-Fi power management with 15 sec delay 2016-11-07 08:34:02 +01:00
build-all.sh Support for updating u-boot on eMMC 2016-10-22 18:34:18 +03:00
chroot-buildpackages.sh Fixes for desktop configuration 2016-10-05 19:32:23 +03:00
common.sh Small enhancement for overlayfs 2016-11-07 18:10:15 +03:00
compile.sh If compile.sh is changed we need to bump number 2016-09-17 19:55:04 +02:00
configuration.sh Add language selector to desktop Xenial images 2016-11-03 20:58:29 +03:00
debootstrap-ng.sh Generate DOS/windows friendly sha256sum by adding .sha to the file name. 2016-11-01 10:04:39 +01:00
desktop.sh UUID in boot script support for sunxi boards 2016-10-15 18:08:41 +03:00
distributions.sh Small fix for haveged fix 2016-10-18 10:58:13 +02:00
Dockerfile Update container dependencies 2016-07-16 17:08:24 +03:00
fel-load.sh Cleanup 2016-10-25 17:57:57 +03:00
general.sh Check for binfmt_misc support 2016-10-26 16:50:11 +03:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Refactoring for overlayfs_wrapper 2016-11-03 20:57:56 +03:00
makeboarddeb.sh Add copy of a boot script to board support package 2016-11-03 20:59:20 +03:00
README.md Only Xenial is recommended for the build host in the meantime 2016-09-29 17:39:04 +02:00
repo-show.sh Fix trailing space characters at EOL (#472) 2016-09-18 17:34:45 +03:00
repo-update.sh Fix comment glitches (#471) 2016-09-18 17:33:36 +03:00
upgrade.sh Really remove sunxi_no_mali_mem_reserve 2016-10-04 08:12:15 +02:00
Vagrantfile Add auto-created output directory to Vagrantfile 2016-11-06 22:22:08 +03: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 with a minimum of 20GB hard disk space for the virtual disk image),
  • alternatively - Docker, systemd-nspawn or other containerization software. Using Xenial build host inside containers is highly recommended,
  • compilation environment is highly recommended to be Ubuntu Xenial 16.04 x64 (other releases are not officially supported but Ubuntu Trusty 14.04 x64 might still work),
  • 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 change kernel configuration?

Edit compile.sh and set

KERNEL_CONFIGURE="yes"

to display kernel configuration menu prior to compilation

More info: