| ecad2c91 | 26-Feb-2025 |
Gatien Chevallier <gatien.chevallier@foss.st.com> |
feat(stm32mp2): add RIFSC/RISAB protection for USB3DR
Add RIFSC/RISAB protection for USB3-IP: - USB3DR Peripheral only accessible form Secure/Priv - USB3DR Master is Secure/Priv to access SYSRAM in
feat(stm32mp2): add RIFSC/RISAB protection for USB3DR
Add RIFSC/RISAB protection for USB3-IP: - USB3DR Peripheral only accessible form Secure/Priv - USB3DR Master is Secure/Priv to access SYSRAM in bl2 plat setup.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Gatien Chevallier <gatien.chevallier@foss.st.com> Change-Id: Ic735cd1cadc5a3a52065b0c7db328268d405a77c
show more ...
|
| 6d1366e5 | 19-Sep-2024 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
feat(stm32mp2): add STM32MP_USB_PROGRAMMER support
Add STM32MP_USB_PROGRAMMER support for STM32MP2 platform by compiling usb-dwc3 driver and adding the requested memory and USB-DFU configurations.
feat(stm32mp2): add STM32MP_USB_PROGRAMMER support
Add STM32MP_USB_PROGRAMMER support for STM32MP2 platform by compiling usb-dwc3 driver and adding the requested memory and USB-DFU configurations.
The DFU stack is used in BL2 when STM32MP_USB_PROGRAMMER is activated by the STMicroelectronics tools STM32Cubeprogrammer for serial boot mode on USB.
Change-Id: I0dd74152ee6e0a3a3d1332d4fb2edbae7743fcc1 Signed-off-by: Pankaj Dev <pankaj.dev@st.com> Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
show more ...
|
| aa63c231 | 12-May-2022 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
feat(stm32mp2): generate FIP for DDR initialization
Generate a minimal FIP used for DDR initialization for serial boot when STM32MP_DDR_FIP_IO_STORAGE is activated.
It is loaded in internal memory
feat(stm32mp2): generate FIP for DDR initialization
Generate a minimal FIP used for DDR initialization for serial boot when STM32MP_DDR_FIP_IO_STORAGE is activated.
It is loaded in internal memory before to be used with support of the FIP memmap.
To ease Trusted Boot porting for serial boot, we can use TOOL_ADD_IMG with a DDR_ prefix. To avoid the overriding rule issue with the check rule in TOOL_ADD_IMG, a copy of the STM32MP_DDR_FW variable is created.
Change-Id: I3a051ca2b258771e48c6e9fed9d77ab512c2416f Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| f2b9807d | 05-Jan-2021 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
feat(stm32mp2): prepare DDR secure area encryption
The RISAF4 defines the DDR secure areas with specific security setup (encryption). Its master key needs to be written before any activation. This i
feat(stm32mp2): prepare DDR secure area encryption
The RISAF4 defines the DDR secure areas with specific security setup (encryption). Its master key needs to be written before any activation. This is done only if SoC supports encryption.
Change-Id: I38e6af65cadf9678a75be1b861ee0c5beea5bcb9 Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|
| 2c831e4b | 13-Jun-2023 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(stm32mp2): add some platform helpers
Update STM32MP2 the platform files. Implement the helpers for STM32MP2, as we have them for STM32MP1: stm32mp_is_single_core, stm32mp_check_closed_device an
feat(stm32mp2): add some platform helpers
Update STM32MP2 the platform files. Implement the helpers for STM32MP2, as we have them for STM32MP1: stm32mp_is_single_core, stm32mp_check_closed_device and stm32mp_is_auth_supported
Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Change-Id: I1554efdb05338f07b292e77175db5a564cc25c78
show more ...
|
| 0dab9cd2 | 09-Jun-2025 |
Manish Pandey <manish.pandey2@arm.com> |
Merge changes I54d18f01,I4e06c8a7,Ib5fc7dcd,Id5db5558,Ib941a04a into integration
* changes: feat(st): adapt .stm32 file creation for clang feat(st): adapt stm32 linker scripts for clang feat(s
Merge changes I54d18f01,I4e06c8a7,Ib5fc7dcd,Id5db5558,Ib941a04a into integration
* changes: feat(st): adapt .stm32 file creation for clang feat(st): adapt stm32 linker scripts for clang feat(st): update stm32 linker scripts fix(st): mark INCBIN-generated sections as SHF_ALLOC feat(st): remove unsupported option for clang
show more ...
|
| 088238ad | 29-Sep-2023 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
feat(st-clock): add STM32MP21 and STM32MP23 RCC variants
Add specific configurations in clock driver for STM32MP21 and STM32MP23 SoCs. All changes have been merged in stm32mp2_clk.c file using STM32
feat(st-clock): add STM32MP21 and STM32MP23 RCC variants
Add specific configurations in clock driver for STM32MP21 and STM32MP23 SoCs. All changes have been merged in stm32mp2_clk.c file using STM32MP21, STM32MP23 and STM32MP25 flags. STM32MP23 will use the same RCC clock compatible of STM32MP25 SoC.
Change-Id: I6422cd0553067dc92f80da1ad8ec78cadf2432bb Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@foss.st.com> Signed-off-by: Gabriel Fernandez <gabriel.fernandez@foss.st.com>
show more ...
|
| 5a03ac92 | 22-Nov-2024 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
refactor(stm32mp2): update display of reset reason
Update the check of reset reason management, update displayed string aligned with reference manual (por_rstn/bor_rstn/Pin reset), add some missing
refactor(stm32mp2): update display of reset reason
Update the check of reset reason management, update displayed string aligned with reference manual (por_rstn/bor_rstn/Pin reset), add some missing reset reason (C1RST) and reuse string to reduce the size of BL2.
Change-Id: I343a46d69bf0447cafed684eab1b2e812e08ab3a Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
show more ...
|
| 2ec3cec5 | 24-Jan-2024 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
feat(stm32mp21): add PWR registers file
Use the new file stm32mp21_pwr.h for STM32MP21 PWR peripheral registers definition. Update platform code for backup domain write protection disabling.
Change
feat(stm32mp21): add PWR registers file
Use the new file stm32mp21_pwr.h for STM32MP21 PWR peripheral registers definition. Update platform code for backup domain write protection disabling.
Change-Id: Iedfa764529bcd5119be8e94da7f7b84699e86086 Signed-off-by: Yann Gautier <yann.gautier@foss.st.com> Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|
| e577ca36 | 02-Feb-2024 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
docs(stm32mp2): introduce new STM32MP23 family
STM32MP23 is a derivative from STM32MP25. It comes in 3 different lines: - STM32MP235: Dual Cortex-A35 + Cortex-M33 - 2x Ethernet - 2x CAN FD
docs(stm32mp2): introduce new STM32MP23 family
STM32MP23 is a derivative from STM32MP25. It comes in 3 different lines: - STM32MP235: Dual Cortex-A35 + Cortex-M33 - 2x Ethernet - 2x CAN FD H264 - 3D GPU - AI / NN - LVDS / DSI - STM32MP233: Dual Cortex-A35 + Cortex-M33 - 2x Ethernet - 2x CAN FD - STM32MP231: Single Cortex-A35 + Cortex-M33 - 1x Ethernet
Change-Id: Iaf3dd7e0c1eda055063361af3c98855b1272d4c6 Signed-off-by: Nicolas Le Bayon <nicolas.le.bayon@st.com>
show more ...
|
| 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 ...
|