diff options
author | Ryan Harkin <ryan.harkin@linaro.org> | 2015-06-22 13:26:15 +0100 |
---|---|---|
committer | Ryan Harkin <ryan.harkin@linaro.org> | 2015-06-22 20:05:39 +0100 |
commit | 50c1fcbf7429352b7c963e548007ead7a179dd1b (patch) | |
tree | ddccba1ced7658fe6d2703c4d14fd412881b735e | |
parent | 706fbfb35b750d66fd574042d6d11056db764b12 (diff) |
variants/fvp: add new FVP variant filesstartpoint
Based on the Juno variant with a few minor changes to cope with DRAM
loading the images into the models.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
-rw-r--r-- | variants/fvp-android | 36 | ||||
-rw-r--r-- | variants/fvp-busybox | 93 | ||||
-rw-r--r-- | variants/fvp-oe | 36 |
3 files changed, 165 insertions, 0 deletions
diff --git a/variants/fvp-android b/variants/fvp-android new file mode 100644 index 0000000..c6206d4 --- /dev/null +++ b/variants/fvp-android @@ -0,0 +1,36 @@ +# Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# +# Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# Neither the name of ARM nor the names of its contributors may be used +# to endorse or promote products derived from this software without specific +# prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +source $DIR/variants/fvp-busybox + +VARIANT_DESC="FVP kernel for Android Software Stack" +LINUX_CONFIGS="${LINUX_CONFIGS_BASE} android selinux" +BUSYBOX_BUILD_ENABLED= +RAMDISK_BUILD_ENABLED= +TARGET_BINS_HAS_BUSYBOX= +TARGET_BINS_HAS_ANDROID=1 diff --git a/variants/fvp-busybox b/variants/fvp-busybox new file mode 100644 index 0000000..151e4da --- /dev/null +++ b/variants/fvp-busybox @@ -0,0 +1,93 @@ +# Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# +# Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# Neither the name of ARM nor the names of its contributors may be used +# to endorse or promote products derived from this software without specific +# prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +VARIANT_DESC="FVP kernel for BusyBox Software Stack" + +# Absolute path to the aarch64 GCC compoiler binaries (plus prefix) +# If you wish to specify a path relative to the workspace root, prefix it with "$TOP_DIR/" +# If your compiler is on your path, you can simply add the prefix, as per the default example. +export CROSS_COMPILE=${CROSS_COMPILE:-aarch64-linux-gnu-} +BUILD_SCRIPTS="" + +LINUX_BUILD_ENABLED=1 +BUILD_SCRIPTS=$BUILD_SCRIPTS"build-linux.sh " +LINUX_PATH=linux +LINUX_CONFIGS_BASE="linaro-base vexpress64 big-LITTLE-MP" +LINUX_CONFIGS="${LINUX_CONFIGS_BASE}" +LINUX_DEFCONFIG=defconfig +LINUX_ARCH=arm64 +DEVTREE_TREES="fvp-base-gicv2-psci foundation-v8" + +UBOOT_BUILD_ENABLED=1 +BUILD_SCRIPTS=$BUILD_SCRIPTS"build-uboot.sh " +UBOOT_PATH=u-boot +UBOOT_ARCH=aarch64 +UBOOT_BOARDS="vexpress_aemv8a_dram" +UBOOT_OUTPUT_DESTS[vexpress_aemv8a_dram]=fvp + +UEFI_BUILD_ENABLED=1 +BUILD_SCRIPTS=$BUILD_SCRIPTS"build-uefi.sh " +UEFI_PATH=uefi/edk2 +UEFI_TOOLS_PATH=uefi/uefi-tools +UEFI_PLATFORMS="ArmPlatformPkg/ArmVExpressPkg/ArmVExpress-FVP-AArch64.mak" +UEFI_BINARY="FVP_AARCH64_EFI.fd" +UEFI_BUILD_MODE=DEBUG +UEFI_TOOLCHAIN=GCC49 +UEFI_OUTPUT_PLATFORMS="ArmVExpress-FVP-AArch64-Minimal" +UEFI_OUTPUT_DESTS[fvp]=fvp + +ARM_TF_BUILD_ENABLED=1 +BUILD_SCRIPTS=$BUILD_SCRIPTS"build-arm-tf.sh " +ARM_TF_PATH=arm-tf +ARM_TF_PLATS="fvp" +ARM_TF_ARCH=aarch64 +ARMTF_DEBUG_ENABLED=1 + +BUSYBOX_BUILD_ENABLED=1 +BUILD_SCRIPTS=$BUILD_SCRIPTS"build-busybox.sh " +BUSYBOX_PATH=busybox +BUSYBOX_ARCH=arm + +RAMDISK_BUILD_ENABLED=1 +BUILD_SCRIPTS=$BUILD_SCRIPTS"build-ramdisk.sh " +RAMDISK_PATH=ramdisk +RAMDISK_LINUX_GEN_CPIO=$LINUX_PATH/usr/gen_init_cpio +RAMDISK_BUSYBOX_PATH=$BUSYBOX_PATH/_install/bin/busybox +# this must be the last step for low level code. +TARGET_BINS_BUILD_ENABLED=1 +BUILD_SCRIPTS=$BUILD_SCRIPTS"build-target-bins.sh " +TARGET_BINS_UINITRD_ADDRS="0x84000000" +TARGET_BINS_PLATS="fvp" +TARGET_BINS_HAS_BUSYBOX=1 +TARGET_BINS_HAS_DTB_RAMDISK=1 +TARGET_BINS_RAMDISK_ADDR=0x84000000 + +TARGET_ARM_TF_fvp="fvp" +TARGET_SCP_fvp="recovery/SOFTWARE" +TARGET_UBOOT_fvp="fvp" +TARGET_UEFI_fvp="fvp" diff --git a/variants/fvp-oe b/variants/fvp-oe new file mode 100644 index 0000000..4f43892 --- /dev/null +++ b/variants/fvp-oe @@ -0,0 +1,36 @@ +# Copyright (c) 2015, ARM Limited and Contributors. All rights reserved. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# +# Redistributions of source code must retain the above copyright notice, this +# list of conditions and the following disclaimer. +# +# Redistributions in binary form must reproduce the above copyright notice, +# this list of conditions and the following disclaimer in the documentation +# and/or other materials provided with the distribution. +# +# Neither the name of ARM nor the names of its contributors may be used +# to endorse or promote products derived from this software without specific +# prior written permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +# ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE +# LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR +# CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF +# SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS +# INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN +# CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) +# ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE +# POSSIBILITY OF SUCH DAMAGE. + +source $DIR/variants/fvp-busybox + +VARIANT_DESC="FVP LSK kernel for OpenEmbedded Software Stack" +LINUX_CONFIGS="${LINUX_CONFIGS_BASE} distribution" +TARGET_BINS_HAS_BUSYBOX= +BUSYBOX_BUILD_ENABLED= +RAMDISK_BUILD_ENABLED= +TARGET_BINS_HAS_OE=1 |