Ubuntu/Debian images for ARM based single-board computers http://www.armbian.com
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 Trusty 14.04 x64 or Ubuntu Xenial 16.04 x64 (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!
Edit compile.sh
and set
KERNEL_CONFIGURE="yes"
to display kernel configuration menu prior to compilation
More info: