summaryrefslogtreecommitdiff
path: root/android/images/reference-lcr-juno/HOWTO_getsourceandbuild.txt
blob: 508bddddd2b4fef2918aa02e0d7187007c159fd3 (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
38
39
40
41
h2. License

The use of Juno software is subject to the terms of the Juno "End User License Agreement":https://releases.linaro.org/15.05/android/images/reference-lcr-juno/armv8-android-juno-lsk/#tabs-4.

h1. Accessing Source Code

h2. Linaro Android Source Code

Run the "linaro_android_build_cmds.sh":http://releases.linaro.org/15.05/android/images/reference-lcr-juno/linaro_android_build_cmds.sh script, it will download the entire source code for both Android and the kernel and attempt to build it.

The pinned and source manifests can be found here:

* "Pinned Manifest":http://releases.linaro.org/15.05/android/images/reference-lcr-juno/pinned-manifest.xml ("?":https://wiki.linaro.org/Platform/Android/ReproduceABuildExactly)
* "Source Manifest":http://releases.linaro.org/15.05/android/images/reference-lcr-juno//source-manifest.xml

h2. Compiling Linaro Android RootFS+Kernel

The following simple steps download, install and compile a complete Linaro Android distribution

* Download and install Ubuntu 14.04 64 bit or newer ("download":http://www.ubuntu.com)
* Accept the EULA and download the Mali graphics (vendor.tar.bz2) libraries from the list of artifacts listed above or "here":https://releases.linaro.org/15.05/android/images/reference-lcr-juno//vendor.tar.bz2
* Download the Android building script for this build from the list of artifacts listed above or "here":http://releases.linaro.org/15.05/android/images/reference-lcr-juno/linaro_android_build_cmds.sh

* Run the script

Build from the tip of the source:

bc. chmod a+x linaro_android_build_cmds.sh
./linaro_android_build_cmds.sh -o $PWD/vendor.tar.bz2 -t 

Or reproduce the exactly the same as this buid:

bc. chmod a+x linaro_android_build_cmds.sh
./linaro_android_build_cmds.sh -o $PWD/vendor.tar.bz2 -m pinned-manifest.xml

h3. Installing Android on your board

bc. cd android/out/target/product/juno
sudo linaro-android-media-create --mmc /dev/sdX --dev vexpress --boot boot.tar.bz2 --system system.tar.bz2 --userdata userdata.tar.bz2

Insert the USB drive into your board and reboot it.  You must configure UEFI each time you create a new disk image.