summaryrefslogtreecommitdiff
path: root/openembedded/juno-lsk/15.07/HACKING.textile
blob: 305dee681d19e77223716b78ca7dc244b1ea70b2 (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 14.10 64 bit system. You can download Ubuntu from ubuntu.com
* Lastest GCC aarch64 cross compiler from Linaro

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

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.