Age | Commit message (Collapse) | Author |
|
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>
|
|
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
|
|
There's no need for an SCP firmware on FVP.
Signed-off-by: Sandrine Bailleux <sandrine.bailleux@arm.com>
|
|
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>
|
|
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>
|
|
'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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
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>
|
|
These are clones of the Juno variants, customised for TC2.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
Add a variant file for building TC2 with BusyBox.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
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>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
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>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
Remove some minor duplication from the FIP's packaging step.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
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>
|
|
The SCP ROM in ARMLT platforms releases comes as part of the board
recovery image.
Signed-off-by: Ryan Harkin <ryan.harkin@linaro.org>
|
|
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>
|
|
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>
|