summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Harkin <ryan.harkin@linaro.org>2015-07-20 10:20:47 +0100
committerRyan Harkin <ryan.harkin@linaro.org>2015-07-20 10:20:47 +0100
commit82d02bf93bfc38a07c716e86d59d6c709b6b50ad (patch)
treea3093ba512fa491114e15377c92bbf0c1562b4cf
parent5f004337d12357fcf6757e884335bb4668b26dd0 (diff)
15.07: add table of env vars for variant setup
Change-Id: I427aafcfead920cb3e7465b39b35e928e324cabf Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r--members/arm/platforms/README.textile73
1 files changed, 22 insertions, 51 deletions
diff --git a/members/arm/platforms/README.textile b/members/arm/platforms/README.textile
index 2d7f6b2..203ffc2 100644
--- a/members/arm/platforms/README.textile
+++ b/members/arm/platforms/README.textile
@@ -158,70 +158,41 @@ h3(#build). 2.4 Building the software
** Add the @CROSS_COMPILE=<path-and-prefix>@ prefix to all build script invocations.
** Edit @<workspace>/build-scripts/variants@ files to make CROSS_COMPILE point at the path and prefix to where you installed Linaro GCC.
** note: you may specify the prefix without a path if the compiler is on your path.
+* Next, choose the setup from the tables below and copy the variables into your shell before executing the "Commands to run":
-* From the root directory of your workspace execute the following commands to build the software components and package them into an output folder:
+h4. Choose your platform
-h4. Juno
+| *Platform* | *Variable* |
+| Juno ARM Development Platform | @PLATFORM=juno@ |
+| FVP Foundation or AEMv8 models | @PLATFORM=fvp@ |
+| Versatile Express TC2 | @PLATFORM=tc2@ |
-* For LSK - Linaro Stable Kernel (v3.10) + Android LCR
+h4. Choose your manifest
-bc. ./build-scripts/build-all.sh juno-android
-./build-scripts/build-all.sh juno-android package
+| *Kernel Version* | *Variable* |
+| LSK 3.10 | @MANIFEST=lsk@ |
+| Latest Tracking Kernel | @MANIFEST=latest@ |
-* For LSK - Linaro Stable Kernel (v3.10) + OpenEmbedded Filesystem OR
-* For Linaro Tracking Kernel (latest) + OpenEmbedded Filesystem
+h4. Choose your environment type
-bc. ./build-scripts/build-all.sh juno-oe
-./build-scripts/build-all.sh juno-oe package
+| Environment | Variable |
+| Android | @TYPE=android@ |
+| BusyBox | @TYPE=busybox@ |
+| OpenEmbedded | @TYPE=oe@ |
-* For LSK - Linaro Stable Kernel (v3.10) + BusyBox Filesystem OR
-* For Linaro Tracking Kernel (latest) + BusyBox Filesystem
+h4. Commands to run
-bc. ./build-scripts/build-all.sh juno-busybox
-./build-scripts/build-all.sh juno-busybox package
+Once you have configured the variables in your shell, run these commands from the root directory of your workspace to build the software components and package them into an output folder:
-h4. FVP
+bc. repo init -u https://git.linaro.org/landing-teams/working/arm/manifest -b 15.07 -m pinned-${MANIFEST}.xml
+repo sync -j8
+./build-scripts/build-all.sh ${PLATFORM}-${TYPE}
+./build-scripts/build-all.sh ${PLATFORM}-${TYPE} package
-* For LSK - Linaro Stable Kernel (v3.10) + Android LCR
+The build will create binaries for ARM Trusted Firmware, UEFI, U-Boot, Linux, ramdisk and a DTB where appropriate. For Aarch64 platofrms, the Firmware components will then be packaged into a FIP. All the binaries copied under the "output" folder.
-bc. ./build-scripts/build-all.sh fvp-android
-./build-scripts/build-all.sh fvp-android package
-
-* For LSK - Linaro Stable Kernel (v3.10) + OpenEmbedded Filesystem OR
-* For Linaro Tracking Kernel (latest) + OpenEmbedded Filesystem
-
-bc. ./build-scripts/build-all.sh fvp-oe
-./build-scripts/build-all.sh fvp-oe package
-
-* For LSK - Linaro Stable Kernel (v3.10) + BusyBox Filesystem OR
-* For Linaro Tracking Kernel (latest) + BusyBox Filesystem
-
-bc. ./build-scripts/build-all.sh fvp-busybox
-./build-scripts/build-all.sh fvp-busybox package
-
-The build will create binaries for ARM Trusted Firmware, UEFI, U-Boot, Linux, ramdisk and a DTB. The Firmware components will then be packaged into a FIP and all the binaries copied under the "output" folder.
Running a different build will overwrite derived objects in the source tree, but will not overwrite the output folder created by the package step.
-h4. TC2
-
-* For LSK - Linaro Stable Kernel (v3.10) + Android LCR
-
-bc. ./build-scripts/build-all.sh tc2-android
-./build-scripts/build-all.sh tc2-android package
-
-* For LSK - Linaro Stable Kernel (v3.10) + OpenEmbedded Filesystem OR
-* For Linaro Tracking Kernel (latest) + OpenEmbedded Filesystem
-
-bc. ./build-scripts/build-all.sh tc2-oe
-./build-scripts/build-all.sh tc2-oe package
-
-* For LSK - Linaro Stable Kernel (v3.10) + BusyBox Filesystem OR
-* For Linaro Tracking Kernel (latest) + BusyBox Filesystem
-
-bc. ./build-scripts/build-all.sh tc2-busybox
-./build-scripts/build-all.sh tc2-busybox package
-
-The build will create binaries for UEFI, Linux, ramdisk and DTB.
h3(#install). 2.5 Installing on your Juno