- Aug 15, 2022
-
-
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
-
CMake package provided through apt repository is not compatible with the SCP firmware's CMake requirements. So install the latest version of CMake using Package installer for Python (pip). Signed-off-by:
Zakaria Zahi <zakaria.zahi@arm.com> Change-Id: Ib9e80456f5706fed2f5418f83b4a7d7927a69fe8
-
Add the initial build configuration files for RD-N2-Cfg2 platform. It is a multichip variant of RD-N2. Support for uefi, busybox and buildroot boot are enabled. Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com> Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com> Change-Id: I61ba1975c22e2bc2cb4aea19349f133b938d16ba
-
- Aug 10, 2021
-
-
The firmware-first error handling code in edk2 define compile time flags. These flags are set to false by default in edk2. For enabling RAS support on SGI-575 and RD-N1-Edge platforms, set these compile time flags to true. Signed-off-by:
Omkar Anand Kulkarni <omkar.kulkarni@arm.com> Change-Id: I80cf8418550e0e52cd173d0a448cd525ebf8f7c1
-
- Aug 09, 2021
-
-
Linux assigns the ttyAMA index in the order in which the uarts are defined in the SSDT ACPI table. Also, the default uart to use is defined in the DBG2 ACPI table and firmware will ensure that the uart used in the DBG2 table is initialized. Passing "console=ttyAMA0,115200" as command line parameter to linux will not honor the uart defined in the DBG2 table. In some scenarios, ttyAMA0 might not be same uart mentioned in the DBG2 table and might not be initialized by the boot firmware which would cause the kernel boot to fail. To avoid this, remove "console=ttyAMA0,115200" as command line parameter and let linux use the uart mentioned in the DBG2 table for console. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: If43090ffccb72a007b550ad9735485397cebcc08
-
Linux assigns the ttyAMA index in the order in which the uarts are defined in the SSDT ACPI table. Also, the default uart to use is defined in the DBG2 ACPI table and firmware will ensure that the uart used in the DBG2 table is initialized. Passing "console=ttyAMA0,115200" as command line parameter to linux will not honor the uart defined in the DBG2 table. In some scenarios, ttyAMA0 might not be same uart mentioned in the DBG2 table and might not be initialized by the boot firmware which would cause the kernel boot to fail. To avoid this, remove "console=ttyAMA0,115200" as command line parameter and let linux use the uart mentioned in the DBG2 table for console. Signed-off-by:
Shriram K <shriram.k@arm.com> Change-Id: I1f265eb30532b92ce8a54d0cc889190eb3582c9b
-
- May 26, 2021
-
-
The SCP firmware project has enabled support for cmake build. Accordingly, allow cmake builds to be used for platform builds as well. Signed-off-by:
Zakaria Zahi <zakaria.zahi@arm.com> Change-Id: I83e6c76d6c195bfd440f45a72f389e1a748bf10e
-
- May 25, 2021
-
-
This patch aims to add cmake and ninja build systems to the installation package, because the SCP firmware build migration to cmake. Signed-off-by:
Zakaria Zahi <zakaria.zahi@arm.com> Change-Id: Ib9e80456f5706fed2f5418f83b4a7d7927a69fe8
-
- May 21, 2021
-
-
Thomas Abraham authored
Version 2.15 of the repo tool breaks the fetching of git submodules. The patch that fixes this issue is https://gerrit.googlesource.com/git-repo/+/d177609cb0283e41e23d4c19b94e17f42bdbdacb Until this fix is made available in repo tool, explicity fetch the submodules before the build. Signed-off-by:
Thomas Abraham <thomas.abraham@arm.com> Change-Id: I73c6221322f2e27dc56a40e1b114f2c1d536d9cb
-
- May 03, 2021
-
-
GNU v8.3 compiler has been used to compile the platform software. As there is an oppurtunity to migrate to the latest toolchain version, switch to using GNU v10.2 toolchain. There are changes in the toolchain naming format as well and so accomodate those changes as well. Signed-off-by:
Zakaria Zahi <zakaria.zahi@arm.com> Change-Id: Ie8f0a75e879392d9f3f2e966d268db9b9b2bf63e
-
Thomas Abraham authored
'xterm' package is required by the FVP to display the UART console output. So add it to the list of prerequisite packages to be installed. Signed-off-by:
Thomas Abraham <thomas.abraham@arm.com> Change-Id: I7cd246cd9b1058ace58b176f8cf019b1c909dd23
-
Add the initial build configuration file for RD-N2 Cfg1 platform. Support for busybox, uefi and secure boot has also been added. Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com> Change-Id: I8116b01146c97def39bca35ac54553f0b1260152
-
SCP_PLATFORM_VARIANT is a product specific build parameter passed using the build option PRODUCT_BUILD_PARAMS. It is used to configure a particular variant of a product. The default variant of RD-N2 platform has id 0. Provide the same as SCP_PLATFORM_VARIANT. Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com> Change-Id: I2a1624d0759f525c9bb9821f2f3434d442810b3b
-
An experimental patch in SCP has been introduced to allow SCP build system to accept product specific build options. This SCP patch is not upstream yet and it is uncertain if it will get upstreamed. For now, update the SCP firmware build script to allow the usage of the changes introduced by this SCP experimental patch. That is, allow SCP build script to supply additional product specific build options. Signed-off-by:
Aditya Angadi <aditya.angadi@arm.com> Change-Id: I7b320766693147e81cc45a24f1f1b4e827c9bd55
-