summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2016-02-12platforms.config: remove obsolete ARM Ltd configsarmlt-20160720-001armlt-20160714-001armlt-20160622-001armlt-20160518-002armlt-20160518-001armlt-20160512-002armlt-20160512-001armlt-20160322-001armlt-20160222armlt-20160212-001armlt-20160212armlt-16.07-001armlt-16.07armlt-16.06armlt-16.05armlt-16.04armlt-16.03Ryan Harkin
Various ARM Ltd platforms have been removed from the code base, so remove their configs. Also, the LAN91x drivers went upstream a long time ago, so there's no real reason to build without them any more. The fvp_minimal and fvp configs ended up being the same, so we may as well remove the minimal config. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2016-02-12platforms.config: fvp_full: enable PL111Ryan Harkin
PL111 is optional for FVP, so enable it on the "full" build. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2016-02-11platforms.config: remove ARM_FOUNDATION_FVPRyan Harkin
The ARM_FOUNDATION_FVP is obsolete since Ard fixed the drivers so they fail gracefully if the device isn't present. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2016-02-11platforms.config: build from OpenPlatformPkgRyan Harkin
All the ARM Ltd platform support has moved to OpenPlatformPkg and has been removed from EDK2. Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2016-02-11uefi-build.sh: exit with error when configuration file is missingLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2016-02-09platforms.config: Build full shell with TFTP supportLeif Lindholm
For now. Proper solution is to drop this, but it was unintentionally dropped from binary releases. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2016-02-09atf-build.sh: actually call build version helperLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2016-02-08atf-build.sh: handle versions of ARM-TF > 1.2Leif Lindholm
Somewhere after ARM-TF release 1.1, renaming of environment variables used by the ARM-TF build system causes fip generation to fail. While there is probably a window of non-working commits between 1.1 and 1.2, ensure that we can build 1.2 or later correctly using the new variable name. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2016-02-08uefi-build.sh: fix handling of "all" keywordLeif Lindholm
commit 1e0f2934a203 ("fix command line parsing with config file") broke handling of the magic "all" target. Fix this by dropping a now-superfluous break and reflecting that we have platforms to build. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2016-01-12opteed-build: Add support for 64-bit TAsVictor Chong
This patch adds the necessary flag to build the OP-TEE Trusted OS libraries required to support both 32- and 64-bit Trusted Applications. Signed-off-by: Victor Chong <victor.chong@linaro.org>
2016-01-12Add support for user configurable consoleVictor Chong
HiKey changed its default console to UART3, but still allows UART0 to be selected via build-time options for those who need it. This patch adds support for these options by using BUILDFLAGS and defining 2 new flags in platforms.config, i.e. ATF_BUILDFLAGS and TOS_BUILDFLAGS. For convenience, actual values for these flags are also defined, but commented out. To select UART0 for the console, just uncomment them before running the build script. Signed-off-by: Victor Chong <victor.chong@linaro.org>
2015-12-15platforms.config: export UEFI_BIN and UEFI_IMAGE_DIR for Styx and d02Ricardo Salveti
Signed-off-by: Ricardo Salveti <ricardo.salveti@linaro.org>
2015-12-11platforms.config: update Styx, add d02Leif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-12-07uefi-build.sh: fix command line parsing with config fileLeif Lindholm
If specifying a config file with -c, but not specifying any platforms, uefi-build.sh instead of displaying a list of known platforms would start a build of BaseTools, followed by building no platforms and returning success. Fix this by counting number of recognised platforms specified on command line. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-10-16platforms.config: drop juno-intelbds platformLeif Lindholm
Juno now builds with IntelBds by default, to drop the dedicated build platform for that. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-09-08uefi-build: export VERBOSE whether it's 0 or 1Leif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-09-02Add support for extra verbosityVictor Chong
Passed as a -v switch to uefi-build.sh. Signed-off-by: Victor Chong <victor.chong@linaro.org>
2015-09-02platforms.config: update qemu .dsc pathsLeif Lindholm
ARM/AArch64 QEMU support is now in the separate ArmVirtPkg - update paths for .dsc files and output. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-09-01uefi-build/common-functions: import OpenSSL when building SBLeif Lindholm
When building a platform with -D SECURE_BOOT_ENABLE=TRUE, also import OpenSSL (reusing existing version or grabbing cached archive from LinaroPkg where possible). Adapted from Ard's upstream build. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-08-26Fix breakage of command line macro specificationLeif Lindholm
The automated FIRMWARE_VER setting patch lacked array syntax when assigning the macro to EXTRA_OPTIONS, causing build failures if any macros _were_ specified on the command line (and FIRMWARE_VER wasn't). Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-08-19uefi-build.sh: fix bug in GCC version selectionLeif Lindholm
Previous commit contained a syntax error which ended up causing the GCC version to be picked from the native compiler. Oops! Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-08-19platforms.config: Add build targets for ARM/AARCH64 ShellLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-08-19Break out toolchain version detectionLeif Lindholm
Move toolchain version detection to common-functions. Also actually hook up proper CLANG detection, since upstream BaseTools ended up with versioned CLANG profiles. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-08-07Unset WORKSPACE and EDK_TOOLS_DIRLeif Lindholm
To save much heartache and aggravation. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-08-05opteed-build.sh: add echo for PLATFORM_FLAVORVictor Chong
Signed-off-by: Victor Chong <victor.chong@linaro.org>
2015-08-05bits of code cleanupVictor Chong
Insert missing double quotes. atf-build.sh: Remove export for SPD_OPTION since it's a command line argument. opteed-build.sh: Drop accidentally included return statement. Signed-off-by: Victor Chong <victor.chong@linaro.org>
2015-08-04Add debug build handling for ARM-TF and OP-TEEVictor Chong
Signed-off-by: Victor Chong <victor.chong@linaro.org>
2015-07-31uefi-build.sh: add support to specify toolchain on commandlineLeif Lindholm
New option -T can be used to specify gcc/clang (gcc remains the default if this option is left out). Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-07-31uefi-build.sh: Remove silly position requirement on -cLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-07-29Add support for Trusted OS (OP-TEE) and BL30Victor Chong
Signed-off-by: Victor Chong <victor.chong@linaro.org> [Minor formatting fixes and addition of optee platform flavour support] Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-07-28Fix platform longname in help outputLeif Lindholm
Accidentally left around since pre parse-platforms.py days. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-07-27Add EXTRA_FLAGS option to configLeif Lindholm
Prepended to 'images' output line. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-07-24Drop more acidentally included debug outputLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-07-09Delete crazy debug stuff from fvp_minimal configLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-07-08Use commit id as default FIRMWARE_VERRyan Harkin
If a FIRMWARE_VER setting is not provided and we are building from a GIT repo, provide a default value based on the SHA ID of the commit where we built from. If the repo has local uncommited changes, then we mark the version string with "-dirty". This is based loosely on the same idea from the linux kernel in: scripts/setlocalversion Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
2015-06-29platforms.config: hikey: add mcu binary (contains bl30)Fathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2015-06-10Drop accidentally left in debug statementLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-06-04Return True when option not foundRoy Franz
Return true when looking up an option that is not found. Returning failure in this case causes the the build script to exit (on error), and not finding an option is a 'normal' case, as configs that don't have to build ATF don't have that option. We don't want to require all configs to have every option that exists. Signed-off-by: Roy Franz <roy.franz@linaro.org>
2015-05-28Update qemu/qemu64 configs to default to Intel BDSRoy Franz
This makes Intel BDS the default for qemu/qemu64, and removes the intelbds versions of these configs. This brings this config file in line with the LinaroPkg version that is used for CI builds. Signed-off-by: Roy Franz <roy.franz@linaro.org>
2015-05-14Fixes for platform config file flagLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-05-12Cleanup of toolchain selection/debug outputLeif Lindholm
Default to build with GCC49 profile if toolchain not recognised. Delete some old crud (related to CROSS_COMPILE), and update debug output to better resemble actual commands being executed. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-05-11Add support for specifying config fileLeif Lindholm
Add new parameter '-c', to specify a platform config file rather than using the default. Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-04-13add Xen AArch64 DomU platformArd Biesheuvel
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2015-02-25add CircuitCo HiKey platformFathi Boudra
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
2015-02-12styx: only build IntelBds flavourLeif Lindholm
Target "styx" now always builds IntelBds - drop target styx-intelbds
2015-01-30add styx targetsLeif Lindholm
2015-01-27fix qemu* IntelBDs image pathsLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-01-16fix juno-intelbds imagedirLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2015-01-16add IntelBds flavours of several platformsLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>
2014-12-02uefi-build: Remove unused conditional codeLeif Lindholm
Signed-off-by: Leif Lindholm <leif.lindholm@linaro.org>