aboutsummaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-08-25build-linux.sh: CONFIG_GATOR=yarmlt-20150825armlt-15.09armlt-15.0815.0915.08Ryan Harkin
Gator defaults to being a module, but we don't use modules, so make gator built-in. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-08-25Include BL32 image in FIP image if it existsSandrine Bailleux
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
2015-08-25FVP: Do not include SCP firmware in FIPSandrine Bailleux
There's no need for an SCP firmware on FVP. Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
2015-08-25arm-tf: Allow to pass additional build flagsSandrine Bailleux
Allow to pass additional build flags through the environment variable ARM_TF_BUILD_FLAGS. They will be appended to the build command used to build the Trusted Firmware. Also print the resulting build command. Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
2015-08-25arm-tf: Allow to configure build type from command lineSandrine Bailleux
Instead of hard-coding the build type (debug/release) in the variant file, allow to configure it from the command line. If it is not specified on the command line then the variant file sets its default value. Also rename 'ARMTF_DEBUG_ENABLED' into 'ARM_TF_DEBUG_ENABLED' to align it with the other Trusted Firmware environment variables. Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
2015-08-25arm-tf: Fix 'make clean' for fiptoolSandrine Bailleux
'make fiptool clean' will build the fiptool and clean the release build for FVP, which is not what we want. Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
2015-08-25arm-tf: Remove ARM_TF_ARCH variableSandrine Bailleux
The Trusted Firmware build system doesn't allow to configure the targeted architecture, only AArch64 is supported. Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
2015-07-24tc2: rename output filesarmlt-15.0715.07Ryan Harkin
Rename the output files to match the new firmware layout. The new firmware layout was changed to match the Juno firmware, using NORxNAME parameter in images.txt to provide the variants, rather than using the A5/A9/TC1/TC2 sub-dirs. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-24fix warning: cannot remove ‘uInitrd-*’armlt-20150724-001Ryan Harkin
When packaging, the user would see errors like this: rm: cannot remove ‘uInitrd-*’: No such file or directory However, it's not really an error, so mute it by adding a -f to the rm commands. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-13tc2: use arm-linux-gnueabihf- prefixRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01Preserve origin DTB when adding chosen nodeRyan Harkin
The code was over-writing the original DTB file when adding the chosen node. However, this would be a problem when trying out different ramdisks or doing other things that would change the size of the ramdisk, eg, building a variant that used an initrd followed by one that uses a uInitrd. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01tc2-busybox: disable u-bootRyan Harkin
U-Boot doesn't work on TC2, so I've disabled it until it can be fixed. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01tc2: add oe and android variantsRyan Harkin
These are clones of the Juno variants, customised for TC2. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01tc2-busybox: rename uboot and uefi binariesRyan Harkin
Rename the uboot and uefi binaries to "boot.bin" so that one firmware setup can handle both variants. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01Allow the boot binary to be renamedRyan Harkin
Allow the user to rename the UEFI or U-Boot binary when it's output to the variant directory. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01Improve output dir cleanup after packagingRyan Harkin
build-target-bins.sh was cleaning up the Juno directory, however, as we add more platforms, I realised that we need to clean up those listed in the TARGET_BINS_PLATS variable. Also improved the general cleanups. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01Add device tree rename supportRyan Harkin
Convert DEVTREE_TREES to an array and add a companion array called DEVTREE_TREES_RENAME to give an array of target filenames after the copy. If DEVTREE_TREES_RENAME is not provided, then the files will not be renamed. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01build-uefi.sh: add git commit id to the version stringRyan Harkin
The user can provide a version string to the UEFI build by passing the "-D FIRMWARE_VER=string" parameter. This patch sets the firmware version to the short commit id of the HEAD commit and indicated if the repo has been modified by appending "dirty" to the commit id.. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01tc2-busybox: use zImageRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01Add zImage supportRyan Harkin
TC2 uses a zImage (or uImage made from a zImage) so this patch adds support for building a zImage instead of a straight Image. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-07-01tc2-busybox: add variantRyan Harkin
Add a variant file for building TC2 with BusyBox. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-30build-target-bins.sh: add 32-bit supportRyan Harkin
The DTB file location was hard coded for arm64 and ARM-TF was mandatory, whereas it doesn't run on 32-bit systems. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-25Cope with missing DTB fileRyan Harkin
When the DTB file specified by the variant was missing, the script failed completely. However, whilst this is a problem, it should be reported and then continue, allowing the user to build and test other platforms. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-25Change DTS file used for Foundation Modelarmlt-20150720-001Ryan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-22variants/fvp: add new FVP variant filesarmlt-20150622armlt-15.0615.06Ryan Harkin
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>
2015-06-22build-target-bins.sh: copy correct ramdisk for OERyan Harkin
OE was copying the uInitrd for both uboot and uefi variants. Now it checks which one it is building and copies the correct one. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-22build-target-bins.sh: fix append_chosen_nodeRyan Harkin
The chosen node code hasn't been used before now, but adding FVP support shows that it didn't work before. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-22Add UEFI_BINARY variableRyan Harkin
UEFI does not always output the same filename for every platform, so add the UEFI_BINARY variable to allow the variant to specify the filename. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-22busybox: tidy up variantRyan Harkin
The variant was created by duplicating the juno-oe variant. Now that it's working, this patch removes duplication from the juno-oe and juno-busybox scripts. Due to the nature that the variant scripts are processed, the juno-oe and juno-android scripts needs to include the juno-busybox script, rather than the other way round, otherwise the packaging step fails. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-09Add busybox buildRyan Harkin
Added the files needed to create a busybox Juno variant. The user can now invoke the scripts thus: ./build-scripts/build-all.sh juno-busybox ./build-scripts/build-all.sh juno-busybox package The output directory will have a juno-busybox dir with both uboot and uefi variants inside. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22Use CROSS_COMPILE instead of LINUX_COMPILERarmlt-20150522gcc-path15.05Ryan Harkin
Use the "standard" CROSS_COMPILE prefix, with a sensible default, rather than the LINUX_COMPILER variable. If the user has the Linaro compiler on their path, it should "just work". Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22Clean up output directory after packagingRyan Harkin
Various unwanted files are left in the output directory after the packaging stage and this patch removes them when packaging is complete. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22expoect Android ramdisk.img to live in TOP_DIRRyan Harkin
Before packaging, the user should copy the Android ramdisk.img file into the TOP_DIR of their workspace, eg: cd <workspace> wget https://releases.linaro.org/15.04/android/lcr/armv8-android-juno-lsk/ramdisk.img Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22only add selinux to the Android variantRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22populate uboot and uefi with different ramdisksRyan Harkin
U-boot requires a uInitrd and UEFI only needs a pure ramdisk.img, eg, like the one that ships in Linaro Android images. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22package kernel into variant output dirRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22use LINUX_PATH variable, not hardcoded linuxRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22add populate_variant functionRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22add juno-r1.dtbRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22Copy bl1.bin into each variant directoryRyan Harkin
Each variant, such as juno-oe-uboot or juno-oe-uefi needs a copy of bl1.bin. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22output fip.bin into uboot and uefi directoriesRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22output FIP into a variant directoryRyan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22target-bins: remove duplication of directories and filenamesRyan Harkin
Remove some minor duplication from the FIP's packaging step. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-22Create ramdisks before other variant filesRyan Harkin
The ramdisk is used by the variant, but the ramdisk doesn't need the variant output so move the ramdisk code to before the variant code. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-18Juno has its initrd at 0x84000000Ryan Harkin
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-18Add uefi output destinations variableRyan Harkin
The packaging script needs an array of output directories on a per-target basis. This variable was missing from the initial drop of the scripts. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-18Add u-boot output destinations variableRyan Harkin
The packaging script needs an array of output directories on a per-target basis. This variable was missing from the initial drop of the scripts. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-18Change the default location of the SCP ROMRyan Harkin
The SCP ROM in ARMLT platforms releases comes as part of the board recovery image. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-18rename scp-ram.bin to bl30.binRyan Harkin
The build is looking for a file called scp-ram.bin which is the output of an SCP build from source. However, Juno platforms releases via ARMLT only have access to bl30.bin from the board recovery image. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-05-18Initialise repo with the prototype build scriptsJames King
These scripts are a first pass at creating the build scripts from the internal ARM repo. Signed-off-by: James King <james.king@arm.com> Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>