h2. License

The use of Juno software is subject to the terms of the Juno "End User License Agreement":https://releases.linaro.org/latest/openembedded/juno-lsk/#tabs-5.

h2. Building the Linaro Kernel

h3. Prerequisites

* Ubuntu 12.04 64 bit system. You can download Ubuntu from ubuntu.com
* "13.11 Linaro aarch64 Linux GNU 4.8 toolchain":http://releases.linaro.org/13.11/components/toolchain/binaries/gcc-linaro-aarch64-linux-gnu-4.8-2013.11_linux.tar.xz

h3. Get the Linaro Kernel Source

bc. git clone https://git.linaro.org/landing-teams/working/arm/kernel-release.git
cd kernel-release
git checkout lsk-3.10-armlt-juno-20140814

h3. Create a kernel config

Do not use the arm64 defconfig, instead, build a config from the config fragments that Linaro provides:

bc. ARCH=arm64 scripts/kconfig/merge_config.sh \
linaro/configs/linaro-base.conf \
linaro/configs/distribution.conf \
linaro/configs/vexpress64.conf \

Note: the config fragments are part of the git repository and the source tarball.

h3. Build the kernel

To build the kernel Image and juno.dtb files, use the following command:

bc. make ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- Image dtbs

h3. Install your kernel

Copy the kernel Image and the juno.dtb files to the BOOT partition on the USB drive created in the "Binary Installation tab":https://releases.linaro.org/latest/openembedded/juno-lsk/#tabs-2.
