diff options
Diffstat (limited to 'android/lcr/images/lcr-reference-juno/HOWTO_getsourceandbuild.txt')
-rw-r--r-- | android/lcr/images/lcr-reference-juno/HOWTO_getsourceandbuild.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/android/lcr/images/lcr-reference-juno/HOWTO_getsourceandbuild.txt b/android/lcr/images/lcr-reference-juno/HOWTO_getsourceandbuild.txt new file mode 100644 index 0000000..a50ea3e --- /dev/null +++ b/android/lcr/images/lcr-reference-juno/HOWTO_getsourceandbuild.txt @@ -0,0 +1,41 @@ +h2. License + +The use of Juno software is subject to the terms of the Juno "End User License Agreement":https://releases.linaro.org/latest/android/lcr/images/lcr-reference-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/latest/android/lcr/images/lcr-reference-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/latest/android/lcr/images/lcr-reference-juno/pinned-manifest.xml ("?":https://wiki.linaro.org/Platform/Android/ReproduceABuildExactly) +* "Source Manifest":http://releases.linaro.org/latest/android/lcr/images/lcr-reference-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/latest/android/lcr/images/lcr-reference-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/latest/android/lcr/images/lcr-reference-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. |