- Sep 22, 2022
-
-
Sathyam Panda authored
Define and add ArmVirtKvmTool package to the existing list of RD-N2 UEFI packages to build and provide firmware that can be used for UEFI based guest OS boot in a virtualized environment created with the help of kvmtool and linux KVM. Also define EDK2_OUT_DIR flag to point to the output directory to build ArmVirtKvmTool as current build-scripts don't create any ArmVirtKvmTool-$(ARCH) output directory. Signed-off-by:
Sathyam Panda <sathyam.panda@arm.com> Suggested-by:
Thomas Abraham <thomas.abraham@arm.com> Change-Id: I87baf891d3f658bcb9b6a645a64391b891cddbb3
-
- Sep 20, 2022
-
-
BL31 can be loaded in DRAM or SRAM based on the value of ARM_TF_ARM_BL31_IN_DRAM build option. Add ARM_TF_ARM_BL31_IN_DRAM in the config files so that the build-option and corresponding value can be passed as an argument while building trusted firmware. Signed-off-by:
Rohit Mathew <rohit.mathew@arm.com> Change-Id: Ia7a6a253f82ca50a1200247fdd567d8105fe3c96
-
- Sep 16, 2022
-
-
Use gcc 11.2 toolchain instead of the 10.2 toolchain. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: I1ea709d2d939e0ab822d49b241abdca76c19b067
-
Download and setup gcc 11.2 toolchain. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: I4b9b91483077a1fd583b3b53e67eb3948d8ac8f8
-
- Aug 19, 2022
-
-
Create seperate list of packages for x86 and arch64 host machines. Restructure the script and update cmake installation procedure as well. Signed-off-by:
Tony K Nadackal <tony.nadackal@arm.com> Change-Id: I764ec20307a83855c00d50b734fee64853dbdde2
-
- Aug 18, 2022
-
-
Thomas Abraham authored
The cmake installation fails due to unmet dependencies. Fix these dependencies. Suggested-by:
Artem Kopotev <artem.kopotev@arm.com> Signed-off-by:
Thomas Abraham <thomas.abraham@arm.com> Change-Id: I3de2d935a2450c7daead077bfdfb59e41cfecc48
-
Parallelize openssl3.0 build to shorten the build time. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I7a4ead68756b89deec1359dd3acd311a24fe454d
-
python-pip package is required for installation of cmake. Starting from Ubuntu 20.04, `python-pip` package is not available as part of the apt repository. Replace it with `python3-pip` as python3 is the default version in Ubuntu 20.04. This is also backward compatible with Ubuntu 18.04. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I5c5d58c84e9caf1e46945eb1e732466514d6e46b
-
- Aug 16, 2022
-
-
Enable build options to add error injection support via EINJ ACPI table on RdN2Cfg1 platform. Signed-off-by:
Omkar Anand Kulkarni <omkar.kulkarni@arm.com> Change-Id: Ifafadefd02061dc144d72bfe4ac461eb3f7a4aa2
-
Enable build options to add firmware first error handling support for N2 CPU on rdn2cfg1 platform. Signed-off-by:
Omkar Anand Kulkarni <omkar.kulkarni@arm.com> Change-Id: I2d2448b7e9716aa8b627b1ab24e6f421c8dd7d0e
-
sgi575 and rdn1edge support dmc-620 error handling. Deprecate the dmc-620 ras support as that ip is old and providing a reference code for discontinued ip is not correct. Also for now disable the firmware first support on sgi575 and rdn1edge as just enabling the framework without any error handling driver will add no value apart from increased code redundancy. Signed-off-by:
Omkar Anand Kulkarni <omkar.kulkarni@arm.com> Change-Id: I2ae547696f0c66901ad68f28cde36dd308f21592
-
Firmware first error handling is implemented at various software levels. Define logical build flags to enable or disable the software present at these levels. Introduce new control flag to enable or disable firmware first feature. By default the firmware first feature is disabled. Signed-off-by:
Omkar Anand Kulkarni <omkar.kulkarni@arm.com> Change-Id: I83013da34a54c99cf3b7f95ace4b4c8b6ceccebc
-
- Aug 15, 2022
-
-
Enable build options to add firmware first error handling support on rdn2cfg1 platform. Signed-off-by:
Omkar Anand Kulkarni <omkar.kulkarni@arm.com> Change-Id: I0189da1afeacdf4f636e3421d77aaf1c671d11ba
-
SCP RAM firmware is where majority of the development happens, followed by MCP RAM firmware. If there is any build error, one has to wait till the other firmware components are built and see the error at the end of the build. Instead, build the SCP and MCP RAM firmware at the beginning of the build to align with the priority of the development. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I79ea44692b142af81ad5433ca582d10654ac6a12
-
With BaseStackCheck library included in edk2-platforms, SPM can be enabled for both x86 and AArch64 build machine architectures. Enabling ARM_TF_ENABLE_SPM irrespective of the build machine architectures. Signed-off-by:
Tony K Nadackal <tony.nadackal@arm.com> Change-Id: I4434108091590822223d51179c27c4a91b73813d
-
- Aug 10, 2022
-
-
Change the build configurations of RD-N2 variants based on the host machine architecture. Environment variable BUILD_MACHINE_ARCH is used for host specific changes in the configuration. ToDo: The build of StandaloneMM is yet to be tested for AArch64 builds. Change-Id: Ia0ae178b7e5bcaf196f88245d44426f8effb8bb8 Signed-off-by:
Tony K Nadackal <tony.nadackal@arm.com>
-
Starting from TF-A v2.7, OpenSSL 3.0 is required in order to compile the host tools (fiptool, cert_create, encrypt_fw). Add functions to install openssl 3.0.2 library. Change-Id: Ie03af474f7871b8bed4e3db35e053c14fc3890b1 Signed-off-by:
Tony K Nadackal <tony.nadackal@arm.com>
-
Use BUILD_MACHINE_ARCH to identify the host machine architecture and modify the build parameters and build commands accordingly. Change-Id: Id011ae3863bef6b1df4cc39b59f533c1005cb5f4 Signed-off-by:
Tony K Nadackal <tony.nadackal@arm.com>
-
The machine architecture of the host machine is identified and store it in the environment variable BUILD_MACHINE_ARCH. This variable is defined in common.base file so it can be accessible for all platforms. Also, CROSS_COMPILE and LINUX_COMPILER environment variables are defined only for x86_64 host architecture. Change-Id: Id64b26c1ab3d75dba9c5e9151bb8a6fb113312b7 Signed-off-by:
Tony K Nadackal <tony.nadackal@arm.com>
-
The architecture of the host machine is checked in the script and gcc toolchain will be installed only for x86_64 host architecture. For Aarch64 machines, native compiler arm-none-eabi-gcc is pre-installed. Change-Id: If7726e6cddd4f44b98fa8aac5a6f60b2e8b59f7f Signed-off-by:
Tony K Nadackal <tony.nadackal@arm.com>
-
Previously mkfs.ext3 was used to create an ext3 partition on a zero-filled raw image file and then mount that partition to a mount point using fuse-ext2 tool. The Linux and ramdisk images were then copied to this mount point. fusermount tool was used to sync the contents and unmount the partition. Also, tune2fs utility was needed to assign the UUID for this partition. fuse-ext2 tool is not available for AArch64 host machines by default. To avoid this dependency, A single mkfs.ext3 command is used to create an ext3 partition with UUID out of the raw image file and then copy the images into it. Change-Id: Ia954c711282f40dd7cc25b55d298c5667714a051 Signed-off-by:
Tony K Nadackal <tony.nadackal@arm.com>
-
- Jun 18, 2022
-
-
Thomas Abraham authored
The build of iommu tools is enabled by default. As not all platforms would require this to be enabled by default, disable build of iommu tools as default. Signed-off-by:
Thomas Abraham <thomas.abraham@arm.com>
-
- Nov 30, 2021
-
-
Vijayenthiran Subramaniam authored
Add helper function to download, verify and extract GCC 10.2 toolchain into the tools/gcc path. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: If8b74e8262ae22a086646adcbf90a8232b34dd41
-
- Oct 28, 2021
-
-
Enable linuxboot-test build support for RD-Edmunds platform. This is an initial implementation of linuxboot for RD-Edmunds platform and not the final version. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: Id017238578e0c32c8682a4667f7c7e3e0ab0755a
-
Enable linuxboot-test build support for RD-N2-CFG1 platform. This is an initial implementation of linuxboot for RD-N2-CFG1 platform and not the final version. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: Ieba815841a5da1027db2d9a0b2a2dd24422609c2
-
Enable linuxboot-test build support for RD-N2 platform. This is an initial implementation of linuxboot for RD-N2 platform and not the final version. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: Ia8efe998e5ae31e29bc97583b84fbc0a544aa6d2
-
Enable linuxboot-test build support for RD-V1 platform. This is an initial implementation of linuxboot for RD-V1 platform and not the final version. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: Ifd0acb3710e16ac724af841b55a8d718e0472e1b
-
Add a new build script which builds the rdinfra platform software stack for linuxboot test. This script also builds the stage-1 linuxboot kernel and prepares a disk image with stage-2 linux kernel and busybox ramdisk. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: I7fff7fbcc5d331a248c87c066a4b29bac56d086e
-
Add stress-ng and dmidecode utility into buildroot. The stress-ng utility is a workload generator tool, and can be used to wake the desired number of CPUs from idle state. The dmidecode is a linux utility to get the system information from the SMBIOS tables. Change-Id: I9aae77080d178d844035a17bfb40457bc23719b9 Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Vijayenthiran Subramaniam authored
Print required build and clean commands along with the time stamp. The required commands are printed to the terminal using `set -x` which enables a mode of the shell where all executed commands are printed to the terminal with prefix `++`. Once the required commands are printed, `set +x` is used to disable the prints. To avoiding printing `set +x` itself, it is routed to /dev/null. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I231fc946dad5d24a0038a81a6b3ff67268e1d532
-
Vijayenthiran Subramaniam authored
Print required build and clean commands along with the time stamp. The required commands are printed to the terminal using `set -x` which enables a mode of the shell where all executed commands are printed to the terminal with prefix `++`. Once the required commands are printed, `set +x` is used to disable the prints. To avoiding printing `set +x` itself, it is routed to /dev/null. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I2d912b5077928bf51ebb18c7f2177d9000359c86
-
Vijayenthiran Subramaniam authored
Print required build and clean commands along with the time stamp. The required commands are printed to the terminal using `set -x` which enables a mode of the shell where all executed commands are printed to the terminal with prefix `++`. Once the required commands are printed, `set +x` is used to disable the prints. To avoiding printing `set +x` itself, it is routed to /dev/null. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I26e2e7c0489afee27eb132dd46a2625da18e1c7f
-
Vijayenthiran Subramaniam authored
Print required build and clean commands along with the time stamp. The required commands are printed to the terminal using `set -x` which enables a mode of the shell where all executed commands are printed to the terminal with prefix `++`. Once the required commands are printed, `set +x` is used to disable the prints. To avoiding printing `set +x` itself, it is routed to /dev/null. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I9f10228a53036f92f960d6a26d45a091583c745d
-
Add the initial build configuration file for RD-Edmunds platform. Support for busybox, buildroot, uefi and secure boot has also been added. Signed-off-by:
Tony K Nadackal <tony.nadackal@arm.com> Change-Id: I60b7da480e8525fc375d2af1168db00608274757
-
- Oct 21, 2021
-
-
Vijayenthiran Subramaniam authored
RD-N2-Cfg2 is a variant of RD-N2 in the TF-A (arm-tf) builds. Set `ARM_TF_BUILD_VARIANT` flag as rdn2cfg2 so that build-arm-tf.sh script will consider it as a variant of rdn2 and set TBBR enable flag according to rdn2cfg2 config. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I89920bcc939b5851ebc41b6f96ba39837a363d71
-
Vijayenthiran Subramaniam authored
RD-N2-Cfg1 is a variant of RD-N2 in the TF-A (arm-tf) builds. Set `ARM_TF_BUILD_VARIANT` flag as rdn2cfg1 so that build-arm-tf.sh script will consider it as a variant of rdn2 and set TBBR enable flag according to rdn2cfg1 config. Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: Ic5e9d04e1bc8e78d63afe3735b30b8df48719092
-
Platforms can have multiple variants while building for TF-A. For example, rdn2 platform (which is the base variant) has two more variants - rdn2cfg1 and rdn2cfg2. When building TF-A for a platform variant, the TBBR enabled flag is assigned from platform's target config variable instead of platform variant's target config variable. To correctly pick the platform variant's target config variable, add a new environment variable `ARM_TF_BUILD_VARIANT` in arm-tf build script to account for the platform variants. If ARM_TF_BUILD_VARIANT is defined, then set TBBR enabled flag from the platform variant's target variable instead of platform's target variable. Signed-off-by:
Thomas Abraham <thomas.abraham@arm.com> Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: Ia519f7e1620352026a969d7b2492821656f79fa8
-
- Sep 16, 2021
-
-
The UEFI SCT test build script is updated to adapt to the latest build procedure of UEFI SCT test suite. The corresponding changes to the platform build configurations are included as well. For UFI SCT build, the prerequisites package list is updated. Signed-off-by:
Zakaria Zahi <zakaria.zahi@arm.com> Change-Id: Ib005c2c4cfe2964891b453eba37b3806ec41f83f
-
- Sep 13, 2021
-
-
Add MCP RAM firmware build support to cmake in build-scp.sh script. Signed-off-by:
Zakaria Zahi <zakaria.zahi@arm.com> Change-Id: I50a3e48792193976fe5a47c93e7cdd75fc894aab
-
Commit 553f5b39 ("build-scp.sh: add support for cmake build") introduced experimental support for building SCP firmware using CMake build system. This patch refactors the build-scp.sh script to account for SCP_PLATFORM_VARIANT variable for both make and CMake builds and enables CMake build of SCP firmware. Make builds are still supported using this scripts until SCP repository completely deprecate its support for make. Signed-off-by:
Zakaria Zahi <zakaria.zahi@arm.com> Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I50b5d48792193976fe5a47c93e7abd75fc653aab
-