- 07 Aug, 2020 1 commit
-
-
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 2 commits
-
-
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>
-
Grant Likely authored
Passing the PLAT and BL33 values via the environment doesn't work. Those values need to be passed on the make command line. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 20 Jul, 2020 1 commit
-
-
Grant Likely authored
Adds a file for Marvell Armada 8k specific configuration. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 16 Jul, 2020 5 commits
-
-
Grant Likely authored
Include an rk3399 specific make file which has a target for creating rk3399 sdcard images Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Set up a recursive structure so that u-boot defconfig can be run first and then included in the 2nd stage makefile. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
U-Boot defconfig already knows a lot about the platform. Use the defconfig data to know what the SoC is and start with sane defaults. This currently works by running the U-Boot defconfig step with a :=$(shell) statement before executing any make rules. It is a little ugly to do it this way, and it may be better to recursively call Make so that the output of make <target>_defconfig is executed in a proper rule. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
The expressobin hasn't been added yet; keep it out of buildall.sh Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
The CACHEDIR target was a leftover from an experiment that didn't make sense. Remove it. Also, add the buildall script to the base directory. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 15 Jul, 2020 1 commit
-
-
Grant Likely authored
This tool is all about building U-Boot images; so make the TARGET variable match the name used in the U-Boot config directory. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 02 Jul, 2020 1 commit
-
-
Grant Likely authored
Fixes previous commits that renamed the manifest and scripts working directory and changed to using the u-boot target name when choosing which firmware image to build. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 01 Jul, 2020 1 commit
-
-
Grant Likely authored
The old name, 'u-boot-manifest', isn't autocomplete friendly. Renaming it to 'scripts' makes it easier to run tools from that path. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 26 Jun, 2020 1 commit
-
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 25 Jun, 2020 3 commits
-
-
Grant Likely authored
This is a *terrible* hack, but it gets a target added for flashing the firmware to an SD. What is needed is a way to abstract platform specific flash targets so that each target can do what it needs. In the case of the rk3399 platforms, it would be best to create a GPT on the SD card with a couple of protected partitions for the firmware images. I'll look into doing that later. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
Splitting the individual platforms into separate makefiles simplifies the build scripts considerably. The Makefile now includes a platform-specific makefile based on the value of ${TARGET}, and the included file can override the variables as needed for the configuration. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
I left a reference to a local path in the manifest. Remove it Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
- 24 Jun, 2020 2 commits
-
-
Grant Likely authored
Signed-off-by:
Grant Likely <grant.likely@arm.com>
-
Grant Likely authored
README was missing some information about how to get the working directory into a usable state, and patches that need to be applied to the project. Signed-off-by:
Grant Likely <grant.likely@arm.com>
-