summaryrefslogtreecommitdiff
path: root/android/images/reference-lcr-vexpress/HOWTO_getsourceandbuild.txt
blob: 97ca5b8ca24711e9adbafb95a742dbbf1fd42c89 (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
h1. Accessing Source Code

h2. Linaro Android Source Code

Run the "linaro_android_build_cmds.sh":http://releases.linaro.org/15.06/android/images/reference-lcr-vexpress//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.06/android/images/reference-lcr-vexpress/pinned-manifest.xml ("?":https://wiki.linaro.org/Platform/Android/ReproduceABuildExactly)
* "Source Manifest":http://releases.linaro.org/15.06/android/images/reference-lcr-vexpress/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)
* Download the Android building script for this build from the list of artifacts listed above or "here":http://releases.linaro.org/15.06/android/images/reference-lcr-vexpress/linaro_android_build_cmds.sh

* Run the script

The linaro_android_build_cmds.sh script will download the source and create the build.:

bc. chmod a+x linaro_android_build_cmds.sh
./linaro_android_build_cmds.sh -h  #To print the script usage



Most commonly used build options:

bc. $ linaro_android_build_cmds.sh -o $PWD/vendor.tar.bz2 -m pinned-manifest.xml
$ linaro_android_build_cmds.sh -t #To build from the tip of the branch without overlay
$ linaro_android_build_cmds.sh -t -o <overlay> #To build from the tip of the branch with provided overlay
$ linaro_android_build_cmds.sh -m <pinned_manifest> -o <overlay> #To reproduce an exact build from pinned manifest
$ linaro_android_build_cmds.sh -t -l <login-id> #Provide login/access ID to clone and build code from linaro-private repositories

If the linaro_android_build_cmds.sh completely, you will find the boot.tar.bz2, system.tar.bz2 and userdata.tar.bz2 3 files
under ./android/out/target/product/vexpress directory, please use these 3 file to bood your board.

You can reference to the "Binary Image Installation"::http://releases.linaro.org/15.06/android/images/reference-lcr-vexpress/#tabs-2 tab for detail instructions.