| 7e387589 | 15-Jan-2024 |
Chris Kay <chris.kay@arm.com> |
build: prefer `gcc-ar` over `ar`
The `gcc-ar` wrapper exists to make it easier to support LTO on some versions of GCC. The two commands are compatible, accepting exactly the same arguments, so this
build: prefer `gcc-ar` over `ar`
The `gcc-ar` wrapper exists to make it easier to support LTO on some versions of GCC. The two commands are compatible, accepting exactly the same arguments, so this change moves us to `gcc-ar` to ensure that we are configuring LTO correctly.
Change-Id: I24a4cfaad29d35b09f847299081f83ca9b41aa8a Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| 86e489c1 | 16-Jan-2024 |
Chris Kay <chris.kay@arm.com> |
build: add `--no-warn-rwx-segments` when linking with GCC
This flag is currently not included when linking with BFD via GCC. Without it, builds can fail when linking via GCC.
Change-Id: Id37e05f6fb
build: add `--no-warn-rwx-segments` when linking with GCC
This flag is currently not included when linking with BFD via GCC. Without it, builds can fail when linking via GCC.
Change-Id: Id37e05f6fb4eea4620861eb1bc8668c41f21ba20 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| 7fc4d778 | 15-Jan-2024 |
Chris Kay <chris.kay@arm.com> |
build: always use the C compiler to assemble
The ROM library is the only component in the repository that compiles assembly files using the assembler directly. This change migrates it to the C compi
build: always use the C compiler to assemble
The ROM library is the only component in the repository that compiles assembly files using the assembler directly. This change migrates it to the C compiler instead, like the rest of the project.
Change-Id: I6c50660eeb9be2ca8dcb0e626c37c197466b0fa1 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| 781cb314 | 15-Jan-2024 |
Chris Kay <chris.kay@arm.com> |
build: always use the C compiler to preprocess
We're a bit inconsistent about which tool we use to preprocess source files; in some places we use `$(CC) -E` whilst in others we use `cpp`.
This chan
build: always use the C compiler to preprocess
We're a bit inconsistent about which tool we use to preprocess source files; in some places we use `$(CC) -E` whilst in others we use `cpp`.
This change forces all invocations of the C preprocessor to use the first scheme, which ensures that the preprocessor behaves the same way as the C compiler used when compiling C source files.
Change-Id: Iede2f25ff86ea8b43d7a523e32648058d5023832 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| e068a7ca | 15-Jan-2024 |
Chris Kay <chris.kay@arm.com> |
fix(rcar): fix implicit rule invocations in tools
The `rzg_layout_create` and `rcar_layout_create` tools have a rule to build object files from C files, but it depends on object files in the parent
fix(rcar): fix implicit rule invocations in tools
The `rzg_layout_create` and `rcar_layout_create` tools have a rule to build object files from C files, but it depends on object files in the parent directory when it should depend on object files in the current directory. Consequently, the rule is not triggering and the implicit C compilation rule is executed instead. This rule works, so I have replaced the broken rule with exactly the same command as what the implicit rule is executing and fixed the dependency.
Change-Id: Ib8d640361adff8c4d660738dda230e5536bec629 Signed-off-by: Chris Kay <chris.kay@arm.com>
show more ...
|
| 2c5c394f | 18-Jan-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "refactor(juno): move plat_def_uuid_config to fiptool" into integration |
| a6462e05 | 18-Jan-2024 |
Yann Gautier <yann.gautier@st.com> |
feat(memmap): add RELA section display
When PIE is enabled, it can be handy to display the .rela.dyn section. Add RELA in the list of symbols parsed, to display this section in memory map.
Signed-o
feat(memmap): add RELA section display
When PIE is enabled, it can be handy to display the .rela.dyn section. Add RELA in the list of symbols parsed, to display this section in memory map.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ic40da54ce6fb6e281fb1a6627e9b8830993cfb2c
show more ...
|
| 4377ad81 | 18-Jan-2024 |
Manish V Badarkhe <manish.badarkhe@arm.com> |
Merge "fix(memmap): fix memory map dump when SEPARATE_CODE_AND_RODATA=0" into integration |
| 22d79f2c | 18-Jan-2024 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes from topic "tl_bl31_bl32" into integration
* changes: feat(qemu): enable transfer list to BL31/32 feat(optee): enable transfer list in opteed |
| 88528f55 | 04-Jan-2024 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp2-fdts): add board ID OTP in STM32MP257F-EV1
Ad the board ID OTP node for the STM32MP257F-EV1 board.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I394b27f50a8f45c919a1e9
feat(stm32mp2-fdts): add board ID OTP in STM32MP257F-EV1
Ad the board ID OTP node for the STM32MP257F-EV1 board.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I394b27f50a8f45c919a1e907e03572b25d958ae4
show more ...
|
| c238a46a | 04-Jan-2024 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp2-fdts): add OTP nodes in STM32MP251 SoC DT file
Add the BSEC node in STM32MP25 device tree file, with the OTP fuses that will be used by TF-A.
Signed-off-by: Yann Gautier <yann.gautier
feat(stm32mp2-fdts): add OTP nodes in STM32MP251 SoC DT file
Add the BSEC node in STM32MP25 device tree file, with the OTP fuses that will be used by TF-A.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I1ffdbd17829f4adf7b113ae0bec7547a6d1b4bac
show more ...
|
| cb0d6b5b | 04-Jan-2024 |
Yann Gautier <yann.gautier@st.com> |
fix(stm32mp2): add missing include
Without #include <plat/common/platform.h>, we have the following warning with sparse: plat/st/stm32mp2/bl2_plat_setup.c:15:6: warning: symbol 'bl2_el3_early_platf
fix(stm32mp2): add missing include
Without #include <plat/common/platform.h>, we have the following warning with sparse: plat/st/stm32mp2/bl2_plat_setup.c:15:6: warning: symbol 'bl2_el3_early_platform_setup' was not declared. Should it be static? plat/st/stm32mp2/bl2_plat_setup.c:23:6: warning: symbol 'bl2_platform_setup' was not declared. Should it be static? plat/st/stm32mp2/bl2_plat_setup.c:27:6: warning: symbol 'bl2_el3_plat_arch_setup' was not declared. Should it be static?
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I18f9265c1eef1f8e8e0eac3d6c37a959e5c9e8b6
show more ...
|
| 3007c728 | 19-Sep-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st): do not directly call BSEC functions in common code
When STM32MP2 boots on Cortex-M33, the Cortex-A35 do no more have access to BSEC peripheral. New static inline stm32_otp_* wrappers are a
feat(st): do not directly call BSEC functions in common code
When STM32MP2 boots on Cortex-M33, the Cortex-A35 do no more have access to BSEC peripheral. New static inline stm32_otp_* wrappers are added, which just redirect to BSEC functions.
While at it remove a useless bsec.h include.
Change-Id: Ie0f917c02e48acf456634f455dae41805bf6adbf Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| 189db948 | 03-Sep-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(st): use stm32_get_otp_value_from_idx() in BL31
The shadowing of the OTP is done in BL2. As for BL32 on AARCH32 systems, stm32_get_otp_value_from_idx() should also use bsec_read_otp() in BL31.
feat(st): use stm32_get_otp_value_from_idx() in BL31
The shadowing of the OTP is done in BL2. As for BL32 on AARCH32 systems, stm32_get_otp_value_from_idx() should also use bsec_read_otp() in BL31.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: Ib406cfc154339e6d3cde3c925bc6e9416d77b689
show more ...
|
| 9cd784db | 01-Feb-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
refactor(st): update test for closed chip
The function stm32mp_is_closed_device() is replaced with stm32mp_check_closed_device(), which return an uint32_t, either STM32MP_CHIP_SEC_OPEN or STM32MP_CH
refactor(st): update test for closed chip
The function stm32mp_is_closed_device() is replaced with stm32mp_check_closed_device(), which return an uint32_t, either STM32MP_CHIP_SEC_OPEN or STM32MP_CHIP_SEC_CLOSED.
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: Ie0790cdc36c4b6522083bc1f0e7c38e8061e6adf
show more ...
|
| c7061045 | 14-Dec-2022 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
refactor(st-bsec): improve BSEC driver
In order to ease the introduction of a new BSEC3 driver for STM32MP25, the BSEC2 driver is reworked. Unused functions are removed. The bsec_base global variabl
refactor(st-bsec): improve BSEC driver
In order to ease the introduction of a new BSEC3 driver for STM32MP25, the BSEC2 driver is reworked. Unused functions are removed. The bsec_base global variable is removed in favor of the macro BSEC_BASE. A rework is also done around function checking the state of BSEC.
Change-Id: I1ad76cb67333ab9a8fa1d65db34d74a712bf1190 Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| b8816d3c | 04-Jan-2024 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): use dashes for BSEC node names
This is something commonly asked by Linux kernel DT maintainers [1]. The mentioned doc is not upstreamed, but may be checked with dtbs_check. While at it
refactor(st): use dashes for BSEC node names
This is something commonly asked by Linux kernel DT maintainers [1]. The mentioned doc is not upstreamed, but may be checked with dtbs_check. While at it align some nodes with Linux or OP-TEE.
[1] https://lore.kernel.org/linux-arm-kernel/20231125184422.12315-1-krzysztof.kozlowski@linaro.org/
Change-Id: I63e983c2a00eda3cd8b81c66c0cd1a97cf8249b7 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 6dc8ee61 | 17-Jan-2024 |
Sekhar Nori <nsekhar@ti.com> |
fix(memmap): fix memory map dump when SEPARATE_CODE_AND_RODATA=0
When building BL1 with SEPARATE_CODE_AND_RODATA=0, symbol names __RO_{START|END}__ are ignored by memory map dump script.
Fix it by
fix(memmap): fix memory map dump when SEPARATE_CODE_AND_RODATA=0
When building BL1 with SEPARATE_CODE_AND_RODATA=0, symbol names __RO_{START|END}__ are ignored by memory map dump script.
Fix it by including the symbol in regular expression.
While at it, update the copyright year to current.
Change-Id: Iafeab75c5711429ea0b744510caf27dd8784a29a Signed-off-by: Sekhar Nori <nsekhar@ti.com>
show more ...
|
| 68cac6a0 | 20-Dec-2023 |
Bipin Ravi <bipin.ravi@arm.com> |
fix(cpus): workaround for Cortex-A78C erratum 2683027
Cortex-A78C erratum 2683027 is a cat B erratum that applies to revisions r0p1 - r0p2 and is still open. The workaround is to execute a specific
fix(cpus): workaround for Cortex-A78C erratum 2683027
Cortex-A78C erratum 2683027 is a cat B erratum that applies to revisions r0p1 - r0p2 and is still open. The workaround is to execute a specific code sequence in EL3 during reset.
SDEN can be found here: https://developer.arm.com/documentation/SDEN-2004089/latest
Change-Id: I2bf9e675f48b62b4cd203100f7df40f4846aafa8 Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
show more ...
|
| a65c5ba3 | 20-Dec-2023 |
Bipin Ravi <bipin.ravi@arm.com> |
fix(cpus): workaround for Cortex-X3 erratum 2266875
Cortex-X3 erratum 2266875 is a Cat B erratum that applies to all revisions <= r1p0 and is fixed in r1p1. The workaround is to set CPUACTLR_EL1[22]
fix(cpus): workaround for Cortex-X3 erratum 2266875
Cortex-X3 erratum 2266875 is a Cat B erratum that applies to all revisions <= r1p0 and is fixed in r1p1. The workaround is to set CPUACTLR_EL1[22]=1 which will cause the CFP instruction to invalidate all branch predictor resources regardless of context.
SDEN Documentation: https://developer.arm.com/documentation/2055130/latest
Change-Id: I9c610777e222f57f520d223bb03fc5ad05af1077 Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
show more ...
|
| 3f9df2c6 | 20-Dec-2023 |
Bipin Ravi <bipin.ravi@arm.com> |
fix(cpus): workaround for Cortex-X3 erratum 2302506
Cortex-X3 erratum 2302506 is a cat B erratum that applies to revisions r0p0-r1p1 and is fixed in r1p2. The workaround is to set bit[0] of CPUACTLR
fix(cpus): workaround for Cortex-X3 erratum 2302506
Cortex-X3 erratum 2302506 is a cat B erratum that applies to revisions r0p0-r1p1 and is fixed in r1p2. The workaround is to set bit[0] of CPUACTLR2 which will force PLDW/PFRM ST to behave like PLD/PRFM LD and not cause invalidation to other PE caches.
There might be a small performance degradation to this workaround for certain workloads that share data.
SDEN can be found here: https://developer.arm.com/documentation/2055130/latest
Change-Id: I048b830867915b88afa36582c6da05734a56d22a Signed-off-by: Bipin Ravi <bipin.ravi@arm.com>
show more ...
|
| 305825b4 | 04-Oct-2023 |
Raymond Mao <raymond.mao@linaro.org> |
feat(qemu): enable transfer list to BL31/32
Enable handoff to BL31 and BL32 using transfer list. Encode TL_TAG_OPTEE_PAGABLE_PART as transfer entry. Fallback to default handoff args when transfer li
feat(qemu): enable transfer list to BL31/32
Enable handoff to BL31 and BL32 using transfer list. Encode TL_TAG_OPTEE_PAGABLE_PART as transfer entry. Fallback to default handoff args when transfer list is disabled or fails to archieve args from transfer entries. Refactor handoff from BL2 to BL33. Minor fixes of comment style.
Change-Id: I55d92ca7f5c4727bacc9725a7216c0ac70d16aec Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
show more ...
|
| 0e8def99 | 04-Oct-2023 |
Raymond Mao <raymond.mao@linaro.org> |
feat(optee): enable transfer list in opteed
Enable handoff to OP-TEE using transfer list. Create transfer list when loading OP-TEE image via non-secure SMC call. Fallback to default handoff args whe
feat(optee): enable transfer list in opteed
Enable handoff to OP-TEE using transfer list. Create transfer list when loading OP-TEE image via non-secure SMC call. Fallback to default handoff args when transfer list is disabled or transfer list signature does not exist.
Change-Id: I94bb5b7fdfbb8829016a9d5d9ef5aff993d7cc99 Signed-off-by: Raymond Mao <raymond.mao@linaro.org>
show more ...
|
| 436c66b3 | 17-Jan-2024 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge "fix(ti): do not stop non-secure timer on world switch" into integration |
| 6a3225e2 | 17-Jan-2024 |
J-Alves <joao.alves@arm.com> |
fix(spm): silence warning in sp_mk_generator
Silence warning from sp_mk_generator that 'is not' operator is not meant for integers. This replaces the referred instance with '!='.
Signed-off-by: J-A
fix(spm): silence warning in sp_mk_generator
Silence warning from sp_mk_generator that 'is not' operator is not meant for integers. This replaces the referred instance with '!='.
Signed-off-by: J-Alves <joao.alves@arm.com> Change-Id: I0d31ad65466dbeafebbfc929e506c3e290913aca
show more ...
|