- Jul 17, 2024
-
-
Anton Komlev authored
Signed-off-by:
Anton Komlev <anton.komlev@arm.com> Change-Id: I139a557986423b7c1f470186d075743b331ce11f
-
- Jul 16, 2024
-
-
Antonio De Angelis authored
Signed-off-by:
Antonio de Angelis <antonio.deangelis@arm.com> Change-Id: I914d94401002967f2606d67b792004f20d477876
-
Antonio De Angelis authored
Signed-off-by:
Antonio de Angelis <antonio.deangelis@arm.com> Change-Id: Ifc08f3efca01802c3bafe8e7f3ee97a92bdf7de4
-
Antonio De Angelis authored
It was originally written as "multipy". Signed-off-by:
Antonio de Angelis <antonio.deangelis@arm.com> Change-Id: I0137a7ccabc5a9b93bc59ea94722420d9000ea95
-
Bence Balogh authored
This reverts commit 4ccf459c. This reverts commit a3cbd5d3. Reason: The CryptoCell support will not be needed in Corstone-315 so removed the files to avoid confusion. Change-Id: I2b63a8b582723c466efcb4ffc361e47d3bd37590 Signed-off-by:
Bence Balogh <bence.balogh@arm.com>
-
- Jul 15, 2024
-
-
Fix some minor issues in the cc312-rom driver such as: - Make functions which don't return values void - Fix a couple of documentation issues - Fix functions which may return unitialized values Signed-off-by:
Georgios Vasilakis <georgios.vasilakis@nordicsemi.no> Change-Id: Ica2bd320b5b72d3663264ce04fb3a2b1f009b449
-
Mark functions static unless tests are enabled, and remove hardcoded image locations so that functions can be tested on separate test images. Change-Id: Ib78640a19db814b6dcbf80df1d668c454616183a Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Add `${CMAKE_BINARY_DIR}/generated` to the `ADDITIONAL_CLEAN_FILES` of `manifest_tools` so it gets removed by the global clean target. Change-Id: I97a4312f658552c8cca78567dd8cb76ee359f086 Signed-off-by:
Anubhav Raina <anubhav.raina@arm.com>
-
Ninja is unable to resolve the dependency between the relocated symbol share and the original symbol share without an explicit target. This causes build failures when `RSE_USE_ROM_LIB_FROM_SRAM=ON`. Possibly related to cmake CMP0058. Change-Id: I5f98314bc5088fe96bb4498ee111ced60ce03c57 Signed-off-by:
Anubhav Raina <anubhav.raina@arm.com>
-
When a target is linked against code provided by a symbol provider we need to ensure - the symbol provider is built before generating the symbol share - the symbol share is generated before the target - the target is linked again when the symbol provider is updated Change-Id: I4808ca0024c875270ad0683e9709d3db97de714b Signed-off-by:
Anubhav Raina <anubhav.raina@arm.com>
-
Append to the `LINK_DEPENDS` property in `target_add_scatter_file` to allow multiple dependencies for linking a target. Change-Id: I294258fb5c5a799691f3ff340ebd9ee183809bbf Signed-off-by:
Anubhav Raina <anubhav.raina@arm.com>
-
When TEST_BL1_1 or TEST_BL1_2 are disabled, don't try to link their respective shared symbol files into the test executable Change-Id: I8f0bb3676d119463c61d6064a6a024299986347f Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Combine the channels used for booting Safety Island Clusters into one using different channel values. Signed-off-by:
Ziad Elhanafy <ziad.elhanafy@arm.com> Change-Id: I760985513f6c03507266039e13cf9ff2a61ea3b2
-
MCUBOOT_EXECUTION_SLOT is handled by cmake and the platform headers. To enable building NS side in the secondary slot, we have to pass this definition. Note: Add -DMCUBOOT_EXECUTION_SLOT=2 to the S AND NS build too if you want to build for secondary slot. Signed-off-by:
Dávid Házi <david.hazi@arm.com> Change-Id: I5cbf069ec3faca54bcc702306fefece13f0b6aa5
-
- Jul 11, 2024
-
-
The instructions were synced with the splitbuild way of building the regression tests. Change-Id: Ib0bfde994169a5b2970cbfa19708df7a769f9f2b Signed-off-by:
Bence Balogh <bence.balogh@arm.com>
-
A previous commit cbcd7877 ("SPM: Put psa interface thread call into one section") added a "__section" attribute to the functions contained in psa_interface_thread.c. This was done because at the time the armclang compiler generated errors on Arm v6m/v7m. It appears now that when building for GCC, those functions are not placed within the .text section. Remove the explicit attribute such that the code is placed in the .text section as expected. Tested successfully with the following compilers/versions: - Arm Compiler for Embedded 6.19 Tool: armlink [5e73cb00] - Arm Compiler for Embedded 6.18 Tool: armlink [5e4cc000] - ARM Compiler 6.14.1 Tool: armlink [5db06d00] - ARM Compiler 6.14 Tool: armlink [5db06800] - ARM Compiler 6.13 Tool: armlink [5d895400] - IAR ARMBX.EW 9.50. for both AN521 and PSOC64. In all the above cases the functions are placed within the .text section. Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com> Change-Id: I4d967012e3e6d65a9b4a79a2ceee1c7cc54d11de
-
Fix the following warning: warning: unused variable 'ic_err' [-Wunused-variable]. Signed-off-by:
Nicola Mazzucato <nicola.mazzucato@arm.com> Change-Id: I13eb53c1c7c1b2d7a5a6bbe947f4c951c1f4d8b3
-
Applies the same changes for IAR: https://review.trustedfirmware.org/c/TF-M/trusted-firmware-m/+/29812 Signed-off-by:
Dávid Házi <david.hazi@arm.com> Change-Id: Ib75a6bb3ae61c2a213cecff3249b20f3eaf3d294
-
Signed-off-by:
Anton Komlev <anton.komlev@arm.com> Change-Id: I5b6053aa15228c2f147d17c7bd04059eee9ec720
-
In the case of Zephyr's integration of TF-M, the Git tags of the upstream TF-M repo are not fetched. This resulted in this warning firing up at every build for every user while in fact it does not require any action from the user, and is just noise. Thus remove it. Change-Id: I9fc78ff89e978a0622e80d59dadc8dcfeeb7e553 Signed-off-by:
Tomi Fontanilles <tomi.fontanilles@nordicsemi.no>
-
- Jul 10, 2024
-
-
Antonio De Angelis authored
Unblocks extra test suite build failures. Signed-off-by:
Antonio de Angelis <antonio.deangelis@arm.com> Change-Id: Id09359bf0378c872276639652b477855ef0645e0
-
Introduce the documentation for RD-1 AE platform including how the bootflow works and how to build it. Signed-off-by:
Ziad Elhanafy <ziad.elhanafy@arm.com> Change-Id: I3d1835b88e8503807faef1474710dce3e9f62054
-
The Application Processor BL2 is now part of the FIP image in the Application Processor Secure Flash. Modify TF-M BL2 to extract the AP BL2 from the FIP image. Note: The flash map structure needs to be changed to non constant as it now gets modified during runtime to point to the correct address of AP BL2 in the FIP. Signed-off-by:
Ziad Elhanafy <ziad.elhanafy@arm.com> Change-Id: Ib613d54ec57a722bcbe41490e52ccdc1b616b36f
-
Some platforms store the FIP in a different flash device, add an extra argument to fip_get_entry_by_uuid to be able to parse the FIP from any flash device. Change-Id: Ide1729c18ff608367ee13b1f4be1d12bb5da551f Signed-off-by:
Ziad Elhanafy <ziad.elhanafy@arm.com>
-
IAR doesn't support wildchars in --keep linker option. Signed-off-by:
Dávid Házi <david.hazi@arm.com> Change-Id: If2dce72deb24f847be6e53b489c20113631ddffd
-
Allow test executable to use both VM0 and VM1, instead of just VM0, as VM1 is otherwise unused. Change-Id: I41480c1f122a6cefb84c3974ba1b06408d681a0b Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
ARM_LIB_STACK may grow large enough to overwrite TFM_SHARED_DATA before TFM_SHARED_DATA is read by partitions during partitions init process. Thus, don't overlay these two linker regions to avoid this problem. This is not a problem for GCC and IAR as they don't overlay the two regions. Signed-off-by:
Bohdan Hunko <Bohdan.Hunko@infineon.com> Change-Id: I24df1ca84a3d65c60685bc1b239bd57e9a24b1b4
-
Added missing flash_area_get_sector function, which is required by mcuboot. Signed-off-by:
Dávid Házi <david.hazi@arm.com> Change-Id: I6e7e4dfc68a5c7fd35c3286085c92189e956b1e0
-
Raef Coles authored
Change-Id: I351d69074a0ead6c0ae9670dbb51c1b2fdf9d27b Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
- Jul 09, 2024
-
-
The old method has some limitations, for example when the macros using too many brackets. Python's built in eval function can handle most cases. Signed-off-by:
Dávid Házi <david.hazi@arm.com> Change-Id: Id98967fae8d039f4b7b61d6e772dbb233ee7f450
-
Raef Coles authored
Add non-volatile counter which is used for tracking hardware events which could be indicative of a side-channel attack being performed against the device. Once this counter hits max value, prevent the RSE from booting in order to prevent further probing. Change-Id: Ia9281fd23ce3c20db67c7c185c8edaddd8efc96a Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Raef Coles authored
Add an option -DTEST_CC3XX=ON to enable running the CC3XX testsuite as part of the Musca-S1 Secure tests. Because the tests are config-aware, this will only test parts of the driver which are enabled by the platform. Change-Id: I27f9905c70738d47cc868b715b350d2ea1745835 Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Raef Coles authored
Add an option -DTEST_CC3XX=ON to enable running the CC3XX testsuite as part of the RSE Secure tests. Because the tests are config-aware, this will only test parts of the driver which are enabled in the runtime. Change-Id: Ie6ca1d185d35330f74f1ee5fe920310ac9cc11fd Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Raef Coles authored
Use the newer CC3XX driver in the RSE runtime, instead of the older cc312-runtime driver. Reorganise the files in the RSE directory to make clear which files are used in which boot stage. Change-Id: I9c5a520ba428cdeeac83d7817162c5593eddde04 Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Raef Coles authored
Add an option -DTEST_CC3XX=ON to enable running the CC3XX testsuite as part of the RSE BL1_1 tests. Because the tests are config-aware, this will only test parts of the driver which are enabled in BL1_1. Change-Id: I2f1c59a16b5f1025f8fb363e3bceb55dacad45e7 Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Raef Coles authored
Add the development testsuite for the CC3XX driver into the driver directory, for use in further development and for validation of CC3XX hardware integration. Test cases are not complete, but cover a significant part of the driver functionality. Note that because this is an internal testsuite converted into a TF-M testsuite, the the grouping of the testcases is non-uniform, mostly because it's not possible to pass arguments into a tfm_test_t. Change-Id: I860edf66447b55715046e7bdcc0b21777e692666 Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Raef Coles authored
Rename the driver to make it clear it is not a ROM-only driver and that it covers multiple CC3XX family devices. Move it into the generic arm/drivers directory to make it easier to eventually deprecated the platform/ext/accelerator directory. Simplify the cmake code for including the driver, and also split the driver into src and include directories. Change-Id: Ie089279f80d67a1ebe17658678ca19928c7bf12a Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Raef Coles authored
As erasing the ROTPK prevents BL1_2 from booting, which prevents running RMA-LCS tests in the BL1_2 testsuite (or in the BL1_1 testsuite if they are both enabled and hence running in BL1_2). Not erasing the ROTPK is acceptable from a security standpoint as it is not secret information. Change-Id: I4be463a11cae20ae9bd7b5d364cd038518edfcfe Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Raef Coles authored
Because the hardware keys are write-only (read as zero) in RMA ICS, the OTP wiping code was failing with a write validation check failure. Alter the wiping code to use an unchecked write in order to prevent this. Change-Id: Ibbd8812a46e79948ead56791e7b12c73008d5d7d Signed-off-by:
Raef Coles <raef.coles@arm.com>
-
Raef Coles authored
Change functions which can never return an error to have a void return type, in order to prevent unneeded error handling code which cannot be optimized by the compiler without LTO. Change-Id: I8b7366436667e827e9ab7d42b6f02234b9dbf0d2 Signed-off-by:
Raef Coles <raef.coles@arm.com>
-