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-06-23 14:19:27 +02:00
bin
config
documentation Overlay FS usage example added to manual 2016-06-23 14:19:27 +02:00
extras
extras-buildpkgs
patch
scripts Rename ID to BOARD_NAME to avoid conflicts 2016-06-23 14:28:57 +03:00
boards.sh
build-all.sh
chroot-buildpackages.sh
common.sh Debug mode. When enabled it takes previous created patch and always create new patch out on the top of everythig. U-boot and kernel sources are not updating when this mode is enabled. After debbuging is done, patch must be moved somewhere else, that you can start with new patch creating since name is fixed. (u-boot|kernel-family-branch.patch) 2016-06-19 16:37:35 +02:00
compile.sh
configuration.sh
debootstrap-ng.sh
debootstrap.sh
desktop.sh
distributions.sh
Dockerfile Made the dockerfile actually work. 2016-04-03 17:00:51 +07:00
fel-load.sh
general.sh
LICENSE
main.sh
makeboarddeb.sh Rename ID to BOARD_NAME to avoid conflicts 2016-06-23 14:28:57 +03:00
README.md
repo-show.sh
repo-update.sh
upgrade.sh
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: