- Sep 26, 2022
-
-
Add support for $TFTF_PLATFORM_VARIANT flag in the build-tftf.sh script. The TFTF build system uses this flag to determine the platform variant. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: I6f8e12786c090912fdce778acf37abfc26a93dd2
-
Add the $TFTF_BUILD_ENABLED flag in the config file for the platforms that support TFTF. The build-test-tftf.sh script sets this flag. This flag can be manually enabled in the config file to allow clean/build/package the TFTF component separately using build-tftf.sh script. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: I60d925b946da9670a00d95219bd137ded8770f0e
-
The $LINUX_COMPILER variable from the platform config includes $TOP_DIR by default. Hence remove the extra $TOP_DIR included by the build-tftf.sh while assigning $LINUX_COMPILER environment variable to the $CROSS_COMPILE. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: Ib01bf9ca7a2c46a8cacd53e00fb79152d7765e5a
-
Changes to restructure the build-test-linuxboot.sh script: 1. Use Go version 1.17.11 and use the tag v0.9.0 to clone u-root repo. 2. Add seperate functions to install Golang, u-root and add checks in the setup functions to remove directories in case of incomplete installations/setup-failures. This enables the script to setup/build the components separately. 3. Add explicit command in linuxboot-uroot-automation.sh script to create mount point before mounting the stage-2 linuxboot disk image to avoid mounting-related failures. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: I54c5d5c0a08ac0fbadcef2a78bc8e9abf8b37492
-
- Sep 23, 2022
-
-
Vijayenthiran Subramaniam authored
install_gcc_toolchain function is called only for x86_64 host machines. Since install_libfdt function call is inside install_gcc_toolchain function, it won't be called for aarch64 host machine. Hence move out install_libfdt function call outside. Also, use the parameter passed to the install_libfdt function only for x86_64 host as the aarch64 host uses preinstalled gcc. Signed-off-by:
Vijayenthiran <vijayenthiran.subramaniam@arm.com> Change-Id: Ib8b3d1ffb9d28874e4b59da0960c00a4e06f219d
-
This patch introduces two major changes to build-test-acs.sh. The first change is to build only the platform binaries and not to build the ACS disk image from source. And hence recommend to use the prebuilt ACS image downloaded from github for the test. The prebuilt image is available at: https://github.com/ARM-software/arm-systemready/tree/main/SR The second change is to disable RAS functionality, as RAS requires the external aborts and SErrors to be handled by EL3. This is not recommended for SBSA test. Change-Id: Ie84cc1ec00d4968f4e45bc919de78386476a73b3 Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Move build-test-acs.sh into sgi folder. Change-Id: I86458ab142f9d1a43b7e52cc0a54fe372a2c8f57 Signed-off-by:
Pranav Madhu <pranav.madhu@arm.com>
-
Neoverse Reference Design platform RD-Edmunds has been renamed to RD-V2 and all corresponding references have been changed. Signed-off-by:
Joel Goddard <joel.goddard@arm.com> Change-Id: Ic2c7fb3fab453052da81fa9fa02d8610ab8c9922
-
- Sep 22, 2022
-
-
Sathyam Panda authored
Move a copy of smmute test application to the platform's output directory so that it can be available for testing. Also cleanup the respective tools path, where smmute test binary is copied, during clean up. Signed-off-by:
Sathyam Panda <sathyam.panda@arm.com> Signed-off-by:
Vivek Gautam <vivek.gautam@arm.com> Change-Id: Id49dcd4239f750979e83a05e3c37a52f69d13722
-
Sathyam Panda authored
Add helper function to download, build and install LIBFDT library for GCC 11.2 toolchain. This library is required for the building of kvmtool. Signed-off-by:
Sathyam Panda <sathyam.panda@arm.com> Change-Id: Id61905babb1c1839f13e16c76b98416f9e7a6207
-
Sathyam Panda authored
Define a flag and enable it to build kvmtool and kvm-unit-tests for rdn2cfg1 platform. Also define a variable describing the kvmtool supported platform to help decide output directory while packaging the binary. Add the kvmtool/kvm-unit-tests build script to the original BUILD_SCRIPTS list as well allowing it to be the part of whole stack building. Signed-off-by:
Sathyam Panda <sathyam.panda@arm.com> Change-Id: I21c93f7d01995be369794fd41e0e0e5b5355c56a
-
Sathyam Panda authored
Define a flag and enable it to build kvmtool and kvm-unit-tests for rdn2 platform. Also define a variable describing the kvmtool supported platform to help decide output directory while packaging the binary. Add the kvmtool/kvm-unit-tests build script to the original BUILD_SCRIPTS list as well allowing it to be the part of whole stack building. Signed-off-by:
Sathyam Panda <sathyam.panda@arm.com> Change-Id: I9d3d3a094f440532e3cd7bad2e40f62a89f793aa
-
Sathyam Panda authored
Add a script to build, clean and package kvmtool which is used to setup Linux KVM based virtual machines on a Linux host OS. Also add provision to build, clean and package kvm-unit-tests which is used to carry out unit testing for Linux KVM hypervisor. Signed-off-by:
Sathyam Panda <sathyam.panda@arm.com> Change-Id: I71e7dfaa2af9f35297acf23af2c74987ddc0e1c7
-
Sathyam Panda authored
Add a new script file to maintain all the helper functions at a common place for better reachability and allowing other scripts to benefit from it. Begin with moving symlink related helper functions from current location at build-target-bins.sh to common_utils.sh Signed-off-by:
Sathyam Panda <sathyam.panda@arm.com> Change-Id: Ie0789fe510c65817ec41937292a2738d317127b1
-
Sathyam Panda authored
Define and add ArmVirtKvmTool package to the existing list of RD-N2-Cfg1 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> Change-Id: I96785d822d4bc138605efe7a59cbfdc4a533f126
-
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
-