- 13 Aug, 2020 2 commits
-
-
Grant Likely authored
Use a single variable for the common QEMU arguments and document how to run U-Boot in QEMU. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Fixes bug in semihosting directory creation when OPTEE is disabled. If optee is disabled, trying to copy non-existent files is going to fail. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 12 Aug, 2020 11 commits
-
-
Grant Likely authored
Put the name of the stmm images into $STMM_FD so it can be referenced in multiple places, including the optee_os/all target. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
With this patch, by default both semihosting and nor_flash images will be built and can be conveniently run with either 'make qemu-fip' or 'make qemu-semihosting'. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Simple tidy-up to match the name of the optee_os source directory. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Simple target than turns on StMM & optee options in U-Boot. No guarantees this will work for your platform. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Fix build problems of not finding binary images because the output directory was incorrectly set. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Instead of configuring optee and stmm build in this tool, use the U-Boot configuration to decide whether or not to build U-Boot and StandaloneMM. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Was using the wrong optee branch for the standalone mm support work. Change to branch with the current patchset Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
edk2 basetools is a generic target that needs to be satisfied before any edk2 build target. Split it into a separate rule so that it can be used by other edk2 build targets when necessary. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
$WORKSPACE should not be the edk2 source directory. If it is then the StMM build will fail. Set WORKSPACE to the parent directory instead. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
StMM build isn't fully working yet, so leave it disabled by default, but clean up some of the environmental settings so that it behaves more consistently. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 11 Aug, 2020 1 commit
-
-
Grant Likely authored
optee and standalone-mm are part of the runtime services and capsule update implementations. Add them into the build. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 07 Aug, 2020 3 commits
-
-
Grant Likely authored
Add targets to help the user know what is going on. 'help' prints a friendly help message of what targets can be called. 'info' dumps some useful data about how the build is configured. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Make the 'clean', 'mrproper' & 'distclean' targets match the u-boot targets of the same name. Also use the 'clean' targets for TFA and the devicetree-rebasing tree as well as make all clean targets callable when unconfigured. For U-Boot, all targets are made callable when not configured because this tool is entirely driven by the U-Boot config. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
This tool won't work without the extra config file Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 06 Aug, 2020 8 commits
-
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Adds a makefile fragment to support qemu_arm64_defconfig. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Update the list of supported platforms, how to use the tool, and rename README to README.rst so that github does some nice formatting. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Adding an 'all' rule prevents a rule included from scripts/*.mk becoming the default rule if nothing is specified on the make command line. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Since u-boot.bin is passed as $(BL33) in the TFA build, both 'all' and 'tfa' should depend on u-boot.bin getting built first. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
ifeq/ifneq is more robust than ifdef because ifdef doesn't handle set but empty variables. Switch all code to the ifeq/ifneq construct. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
The 'dtb' rule doesn't work if $DTB_TARGET is not defined. Removing it when not configured. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Include make fragments keyed from CONFIG_SYS_CPU. Use it to select CROSS_COMPILE=aarch64-linux-gnu- by default on Arm v8. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 31 Jul, 2020 5 commits
-
-
Grant Likely authored
When doing a defconfig, use the settings from scripts/ebbr.config to enable the options required for EFI to work correctly. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Since main.mk was merged into top.mk, there is no longer any need to export many of the internal variables. Drop the exports to limit exposing internal details to sub-makes Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
This tool isn't using $(TARGET) anymore to choose the build platform. The build configuration is entirely determined by the U-Boot configuration. Now to use the tool, run "make <target>_defconfig" where <target> is the name of a file in the u-boot/configs directory. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
All platform specific configuration is moved out into separate files so that the main makefile only contains common code. Choose which files to include based on the values of u-boot configuration variables. Currently these four U-Boot variables are used: CONFIG_SYS_VENDOR ==> include scripts/vendor-$(CONFIG_SYS_VENDOR).mk CONFIG_SYS_SOC ==> include scripts/soc-$(CONFIG_SYS_SOC).mk CONFIG_SYS_BOARD ==> include scripts/board-$(CONFIG_SYS_BOARD).mk CONFIG_SYS_CONFIG_NAME ==> include scripts/config-$(CONFIG_SYS_CONFIG_NAME).mk Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 30 Jul, 2020 3 commits
-
-
Grant Likely authored
This patch adopts the Linux & U-boot kbuild style top level Makefile that includes the generated config so that decisions can be made from the specific config. The core of this change is to pull in the %config parsing rules for u-boot/Makefile and process them separately from the main build rules. This allows *config rules to change the U-Boot configuration, and the import the CONFIG_* values into make so that TFA_PLAT and other variables can be automatically determined. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
The primary repo for TF-A is on git.trustedfirmware.org. Use that instead of the github mirror. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Instead of setting the build directory unconditionally (which doesn't entirely work anyway; U-Boot handles it well, but TFA and DT-rebasing do not), by default let each project use it's own working directory. However, if BUILD_BASE is set, then use that to create build directories for the projects that support it. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 29 Jul, 2020 1 commit
-
-
Grant Likely authored
$MAKE is automatically set. Don't need to set it explicitly. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 23 Jul, 2020 1 commit
-
-
Grant Likely authored
Fix a typo that had the shell installed in the wrong directory, and organize the file copies a bit better. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 22 Jul, 2020 4 commits
-
-
Grant Likely authored
Small changes: - Make tfa-fip the default target - Don't give U-Boot a replacement DTB - Add some .PHONY targets Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Adds an esp.img target for creating an ESP filesystem with the UEFI shell on the SD card image. The ESP is first created by copying the wanted files into the esp.tree directory, and then using mtools to put the files into a fat filesystem image. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Move the clean target into the top level makefile so that the .config rule doesn't get called before doing the clean step Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
There are some options in U-Boot that need to be enabled for EFI testing. Add them to the defconfig. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 21 Jul, 2020 1 commit
-
-
Grant Likely authored
Unify the SD card image generation so that each platform can define its own rule for generating the SD card image, and the sd.img target will call that rule. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-