| 43560d8e | 22-Jan-2025 |
Yann Gautier <yann.gautier@st.com> |
feat(st): adapt stm32 linker scripts for clang
With Clang, the address inside a section does not seem relative to its start address. Use ABSOLUTE keyword for those addresses. For stm32 binary contai
feat(st): adapt stm32 linker scripts for clang
With Clang, the address inside a section does not seem relative to its start address. Use ABSOLUTE keyword for those addresses. For stm32 binary containing BL2 and its DT, we can use that as PIE is not used (either disabled or used with BL2_IN_XIP_MEM). This is still working with GCC.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I4e06c8a72c41370695db27fb6c52414487dfae47
show more ...
|
| 67788359 | 22-Jan-2025 |
Yann Gautier <yann.gautier@st.com> |
feat(st): update stm32 linker scripts
Remove an extra dot for the .data section. Use FILL(0) instead of *(.data*). There is nothing there matching this expression and was just use to have a filler.
feat(st): update stm32 linker scripts
Remove an extra dot for the .data section. Use FILL(0) instead of *(.data*). There is nothing there matching this expression and was just use to have a filler. Use explicit FILL(0) instead.
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ib5fc7dcdfe2b34b6892602512b8ae4115d45f307
show more ...
|
| ac9abe7e | 10-Dec-2024 |
Maxime Méré <maxime.mere@foss.st.com> |
feat(stm32mp2): disable PIE by default on STM32MP2 platform
Allow to disable ENABLE_PIE on STM32MP2. BL31 is loaded at the beginning of SYSRAM whatever the options set. Set ENABLE_PIE to 0 by defaul
feat(stm32mp2): disable PIE by default on STM32MP2 platform
Allow to disable ENABLE_PIE on STM32MP2. BL31 is loaded at the beginning of SYSRAM whatever the options set. Set ENABLE_PIE to 0 by default. This should allow us to reduce BL31 and BL2 size.
Change-Id: Ie8c83c9205e81301eb1fdcf24b94216172586630 Signed-off-by: Maxime Méré <maxime.mere@foss.st.com>
show more ...
|
| 7f41506f | 27-Jul-2022 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
feat(stm32mp2): add a runtime service for STGEN configuration
Other component such as OP-TEE may have the responsibility for STGEN configuration but updating Arm CNTFRQ can only be done from EL3. Th
feat(stm32mp2): add a runtime service for STGEN configuration
Other component such as OP-TEE may have the responsibility for STGEN configuration but updating Arm CNTFRQ can only be done from EL3. Therefore, implement a SiP SMC handler for this purpose and a runtime service to catch SIP SMCs.
Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Signed-off-by: Maxime Méré <maxime.mere@foss.st.com> Change-Id: I7854e1ae6328f149798b43d52bb1ecdf71a5aa69
show more ...
|
| 747d85ee | 15-Oct-2024 |
Maxime Méré <maxime.mere@foss.st.com> |
fix(stm32mp2): set PLAT_MAX_PWR_LVL to one
Set maximum power level to 1 as power management isn't implemented yet.
Change-Id: I26cefbb5e199944d371bf06a76b2c41f73d38585 Signed-off-by: Maxime Méré <m
fix(stm32mp2): set PLAT_MAX_PWR_LVL to one
Set maximum power level to 1 as power management isn't implemented yet.
Change-Id: I26cefbb5e199944d371bf06a76b2c41f73d38585 Signed-off-by: Maxime Méré <maxime.mere@foss.st.com>
show more ...
|
| c900760d | 11-Jan-2024 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(stm32mp2): boot BL33 at EL1 or EL2
STM32 MPUs use U-Boot as BL33. It can handle being booted at EL2. Add a new STM32MP_BL33_EL1 config boolean. If defined BL33 will start at EL1 and with INIT_U
feat(stm32mp2): boot BL33 at EL1 or EL2
STM32 MPUs use U-Boot as BL33. It can handle being booted at EL2. Add a new STM32MP_BL33_EL1 config boolean. If defined BL33 will start at EL1 and with INIT_UNUSED_NS_EL2 defined to Iiitialize the unused EL2 registers.
Change BL33 spsr parameter in bl2_mem_params_descs[] to use MODE_EL2 or MODE_EL1 depending on this flag. Default to MODE_EL1 as kernel isn't able to boot at EL2 yet.
Change-Id: I6a8b35280d454d8140d7b28f0a5fc9b9a5093d6d Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Signed-off-by: Christian Bruel <christian.bruel@foss.st.com>
show more ...
|
| 77847f03 | 21-Oct-2024 |
Maxime Méré <maxime.mere@foss.st.com> |
feat(stm32mp2): initialize gic and delay timer in bl31_plat_arch_setup
For minimal BL31 setup, GIC and tick must be initialized.
Change-Id: I8d62253e93b77cd8ce8091ccc9ea88208bdd6053 Signed-off-by:
feat(stm32mp2): initialize gic and delay timer in bl31_plat_arch_setup
For minimal BL31 setup, GIC and tick must be initialized.
Change-Id: I8d62253e93b77cd8ce8091ccc9ea88208bdd6053 Signed-off-by: Maxime Méré <maxime.mere@foss.st.com>
show more ...
|
| 9a0cad39 | 29-May-2024 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp2): load FW binaries to DDR
Now that DDR is initialized, we can load the different firmware parts: BL32 (OP-TEE header), BL32 extra1 (OP-TEE), HW_CONFIG (U-Boot device tree) and BL33 (U
feat(stm32mp2): load FW binaries to DDR
Now that DDR is initialized, we can load the different firmware parts: BL32 (OP-TEE header), BL32 extra1 (OP-TEE), HW_CONFIG (U-Boot device tree) and BL33 (U-Boot).
Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: Ic79429c3bd4516c339f91a10e0b3f2828bf6c392
show more ...
|
| 87cd847c | 24-Nov-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(st): add stm32mp_is_wakeup_from_standby()
This function is used to know if this is a return from Standby mode, and the DDR was in self-refresh, allowing a correct return to OS. They just return
feat(st): add stm32mp_is_wakeup_from_standby()
This function is used to know if this is a return from Standby mode, and the DDR was in self-refresh, allowing a correct return to OS. They just return false for the moment.
Change-Id: Ie7de9a9f6477f8158e144f6626070a77fdc53ceb Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|