/armbian_build

Armbian build tools

Primary LanguageShellGNU General Public License v2.0GPL-2.0

Armbian

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

How to build my own image or kernel?

Supported build environments:

How to build RT Preempt Kernel for the Asus Tinkerboard to install it as deb package

  • $sudo ./compile.sh CLEAN_LEVEL=make,alldebs USE_CCACHE=no PROGRESS_LOG_TO_FILE=yes CREATE_PATCHES=yes KERNEL_ONLY=yes KERNEL_CONFIGURE=yes BOARD=tinkerboard BRANCH=next RELEASE=xenial
  • Add additional patches or change the kernel config if needed during the process

How to build a complete RT Preempt enabled Xenial image

  • $sudo ./compile.sh CLEAN_LEVEL=make,alldebs USE_CCACHE=no PROGRESS_LOG_TO_FILE=yes BUILD_DESKTOP=yes KERNEL_ONLY=no KERNEL_CONFIGURE=no BOARD=tinkerboard BRANCH=next RELEASE=xenial

What works

  • Preemption
  • HDMI
  • Gigabit Ethernet
  • WiFi
  • USB
  • Rebooting

What doesn't work

  • Bluetooth

What wasn't testet

  • Sound in any way

What is disabled on purpose in the Device Tree (might be reenabled)

  • spidev
  • MIPI

Execution

apt-get -y install git
git clone https://github.com/armbian/build
cd build
./compile.sh

You will be prompted with a selection menu for a build option, a board name, a kernel branch and an OS release. Please check the documentation for advanced options and additional customization.

Build process uses caching for the compilation and the debootstrap process, so consecutive runs with similar settings will be much faster.

Reporting issues

Please read this notice first before opening an issue.

More info: