Armbian Linux build tools https://www.armbian.com
Find a file
faddat e590f2ffae Made the dockerfile actually work.
Build:
docker build --name lib .

Invocation:
docker run lib --privileged -it -P
2016-04-03 17:00:51 +07:00
bin Some ath3 bluetooth firmware 2016-03-22 20:54:59 +01:00
config Bumpt dev branch to 4.6.0-rc1, switch sun8i mainline to wens/h3-emac, adopt sun7i/sun8i led behaviour for mainline 2016-04-02 19:30:55 +02:00
documentation Move _important_ stuff to top of H3 FAQ so maybe a few users will read it 2016-03-31 10:24:37 +02:00
patch Bumpt dev branch to 4.6.0-rc1, switch sun8i mainline to wens/h3-emac, adopt sun7i/sun8i led behaviour for mainline 2016-04-02 19:30:55 +02:00
scripts Bumpt dev branch to 4.6.0-rc1, switch sun8i mainline to wens/h3-emac, adopt sun7i/sun8i led behaviour for mainline 2016-04-02 19:30:55 +02:00
boards.sh Tiny bugfixes 2016-03-31 07:26:07 +02:00
build-all.sh Allow using FAT boot partition with any device 2016-03-30 19:20:42 +03:00
common.sh Bugfix for C2 uboot creation and wrong arhitecture while compiling 3rd party drivers 2016-03-31 07:20:31 +02:00
compile.sh Faster check for git presence in compile.sh 2016-03-22 21:37:18 +03:00
configuration.sh Bumpt dev branch to 4.6.0-rc1, switch sun8i mainline to wens/h3-emac, adopt sun7i/sun8i led behaviour for mainline 2016-04-02 19:30:55 +02:00
debootstrap-ng.sh Added option for package EXCLUDE on deboostrap. If some packages are not friendly for our system, we can define them in PACKAGE_LIST_EXCLUDE, beside PACKAGE_LIST_RELEASE 2016-03-31 07:25:34 +02:00
debootstrap.sh Added option for package EXCLUDE on deboostrap. If some packages are not friendly for our system, we can define them in PACKAGE_LIST_EXCLUDE, beside PACKAGE_LIST_RELEASE 2016-03-31 07:25:34 +02:00
desktop.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
distributions.sh Tiny bugfixes 2016-03-31 07:26:07 +02:00
Dockerfile Made the dockerfile actually work. 2016-04-03 17:00:51 +07:00
fel-load.sh Few more H3 fixes, green LED high active again, little fel-boot enhancements 2016-03-17 20:16:26 +01:00
general.sh Small tweaks to main readme, moving screen size detection from configuration to main, to have this info from start 2016-03-27 15:39:08 +02:00
LICENSE Create LICENSE 2014-10-08 10:14:29 +02:00
main.sh Layout typo 2016-04-02 13:40:09 +03:00
makeboarddeb.sh Create BSP package preinstall script to remove certain things to supress error on install and setting default system arhitecture in profile.d that we don't need to declare this each time. 2016-03-31 07:28:04 +02:00
patching.sh Added function to abort build with verbose error message 2016-03-05 21:29:04 +03:00
README.md Small tweaks to main readme, moving screen size detection from configuration to main, to have this info from start 2016-03-27 15:39:08 +02:00
repo-show.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
repo-update.sh Build script complete rewrite. Added user patches and WIP boards: Orangepi+, Lemaker Guitar 2015-12-02 20:33:32 +01:00
upgrade.sh Banana M1 / M1+ / Pro micro fixes in legacy and vanilla kernel. 2016-03-01 22:27:09 +01:00

How to build my own image?

Preparation

  • x86 machine running any OS, 4G ram, SSD, quad core (recommended),
  • virtual box or similar virtualization software, (highly recommended)
  • host system is highly recommended to be Ubuntu 14.04 (some but not all sources can also compile on Ubuntu 15.04, Mint 17.2 and Debian Jessie),
  • installed basic system, OpenSSH and Samba (optional),
  • gain root access.

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 build an bootable image. Most of things will be cached so next run will be extremly faster!

How to build my own kernel?

Prerequisition are the same as building an image!

Edit compile.sh prior to running and alter switch:

KERNEL_ONLY="yes"

In directory (output/debs) you will find deb packed kernel, together with headers, firmware and u-boot.

If you want to invoke menu configuration:

KERNEL_CONFIGURE="yes"

More info: