summaryrefslogtreecommitdiff
path: root/openembedded/juno-lsk/HACKING.textile
blob: 2c0f72f372e6b07dc283aa375d56b8f947229381 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
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-20140724

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.