- 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
-
The do_build() function of build-scp.sh copies the platform binaries from ${SCP_PATH} build folder into a common output folder. If build scp is executed for one platform (say PLAT1), and package scp is executed for another platform (say PLAT2), instead of copying PLAT2's SCP binaries, the package stage of build-scp.sh would copy PLAT1's binaries, since there's no separate platform folder in the output folder of ${SCP_PATH}. To fix this, create platform folder within the output folder of ${SCP_PATH} and copy from output/${plat}/* instead of output/*. This would ensure that if the package is called for PLAT2, it would copy PLAT2's binaries instead of binaries of previously build platform. Change-Id: I6a68e1cec9972b6dd395b9e109f7a041c15ca43b Signed-off-by:
Vijayenthiran Subramaniam <vijayenthiran.subramaniam@arm.com>
-
For kvm build there are no separate requirements as the buildroot filesystem is used that already supports kvmtool and other packages required for kvm testing. So drop kvm build script. For any kvm testing, build buildroot to get required boot images. Signed-off-by:
Vivek Gautam <vivek.gautam@arm.com> Change-Id: Iecbf47f24c76ad75b3a9009b0dde9d3c04037bed
-
Copy test binaries for smmu test engine to enable testing smmu test engine on various platforms. Signed-off-by:
Vivek Gautam <vivek.gautam@arm.com> Change-Id: I332dace2b7045fe3e953e36e9f633e3ee31bac5a
-
User-space driver for smmu test engine lies in tools directory. Build these iommu tools to get user-space smmute driver and test binary. Signed-off-by:
Vivek Gautam <vivek.gautam@arm.com> Change-Id: I12d7a9617323cf029fac7d1959094e90116e6800
-
Add a new build flag 'EDK2_ENABLE_EINJ' to selectively enable or disable error injection support for a platform. Signed-off-by:
Omkar Anand Kulkarni <omkar.kulkarni@arm.com> Change-Id: I4ed02b5c82fa62e15b7a71262489b136c03de26f
-
Thomas Abraham authored
Introduce a flag 'ARM_TF_RAS_FW_FIRST' that can then be used to enable the required poritions of the firmware stack to support firmware first error handling. Signed-off-by:
Thomas Abraham <thomas.abraham@arm.com> Change-Id: Iaf6a2e2f742b1e78ed8c8b1383d836d72f1f566b
-
Thomas Abraham authored
The definition MM_SECURE_STORAGE_ENABLE isn't used for the secure storage support in edk2-platforms. So remove this definition. Signed-off-by:
Thomas Abraham <thomas.abraham@arm.com> Change-Id: I01fb01cbb34b99750ba5cdd331474dc3418da8c9
-
- Feb 19, 2021
-
-
Enable uefi secureboot build for multiple neoverse reference design platforms - rdn1edgex2, rdv1, rdv1mc, rdn2. Signed-off-by:
Sayanta Pattanayak <sayanta.pattanayak@arm.com> Change-Id: I61ad02b3c73e4166d57ede85ce07ca4406fd56fd
-
StandaloneMM image name for RD-N1-Edge dual-chip platform is incorrect. Fix this by specifying the correct name for the image. Signed-off-by:
Omkar Anand Kulkarni <omkar.kulkarni@arm.com> Change-Id: I779e4bcc54c93b6006b344e8f10fe4cfb32c4b23
-