| ce21ee89 | 15-Oct-2021 |
Yann Gautier <yann.gautier@st.com> |
refactor(stm32mp1): sort compilation flags
Sort the compilation flags in platform.mk when checking and defining them for C files.
Change-Id: I5a08399c89ede4c0bd8697045706122732205db5 Signed-off-by:
refactor(stm32mp1): sort compilation flags
Sort the compilation flags in platform.mk when checking and defining them for C files.
Change-Id: I5a08399c89ede4c0bd8697045706122732205db5 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| c10f3a45 | 10-Nov-2020 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): add sign-compare warning
Add -Wsign-compare to TF_CFLAGS to check signedness comparison during STM32MP1 platform compilation.
Change-Id: I4cada49622f44258d3e0da4560a566de9c7d54b3 Si
feat(stm32mp1): add sign-compare warning
Add -Wsign-compare to TF_CFLAGS to check signedness comparison during STM32MP1 platform compilation.
Change-Id: I4cada49622f44258d3e0da4560a566de9c7d54b3 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| b7066086 | 13-Dec-2021 |
Yann Gautier <yann.gautier@st.com> |
feat(stm32mp1): skip TOS_FW_CONFIG if not in FIP
Thanks to dyn_cfg_dtb_info_get_index(), we can check if TOS_FW_CONFIG is inside the FIP partition. If not we can skip its treatment when populating F
feat(stm32mp1): skip TOS_FW_CONFIG if not in FIP
Thanks to dyn_cfg_dtb_info_get_index(), we can check if TOS_FW_CONFIG is inside the FIP partition. If not we can skip its treatment when populating FIP images.
Change-Id: If5623eabd1ba484549d4a908d4a6f43325b36875 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 9083fa11 | 28-Oct-2021 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
feat(plat/st): add STM32MP_UART_PROGRAMMER target
Handle boot from UART with STM32CubeProgammer based on mmap io for STM32MP15.
Depends-On: Iba84e8dfd67b9f30416efb0f6778e48ba1f75dad Signed-off-by:
feat(plat/st): add STM32MP_UART_PROGRAMMER target
Handle boot from UART with STM32CubeProgammer based on mmap io for STM32MP15.
Depends-On: Iba84e8dfd67b9f30416efb0f6778e48ba1f75dad Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Change-Id: Ibd719dd46a11da78633728675ef6639635b6cf67
show more ...
|
| fb3e7985 | 06-Oct-2020 |
Patrick Delaunay <patrick.delaunay@st.com> |
feat(plat/st): add STM32CubeProgrammer support on UART
Add a file to support the STMicroelectronics tool STM32CubeProgrammer over UART in BL2 for STM32MP15x platform.
This tools is based on protoco
feat(plat/st): add STM32CubeProgrammer support on UART
Add a file to support the STMicroelectronics tool STM32CubeProgrammer over UART in BL2 for STM32MP15x platform.
This tools is based on protocol defined in AN5275, "USB DFU/USART protocols used in STM32MP1 Series bootloaders" based on STM32 MCU protocols (AN3155, "USART protocol used in the STM32 bootloader").
Signed-off-by: Patrick Delaunay <patrick.delaunay@st.com> Change-Id: I956c95d8de0a94d1eb8e61f043651dae7b838170
show more ...
|
| 2e43638e | 09-Nov-2021 |
Madhukar Pappireddy <madhukar.pappireddy@arm.com> |
Merge changes from topic "st_usb" into integration
* changes: fix(drivers/usb): add a optional ops get_other_speed_config_desc fix(drivers/usb): remove unnecessary cast |
| 325376eb | 29-Oct-2021 |
Yann Gautier <yann.gautier@st.com> |
refactor(stm32mp1): use fconf.mk
Update STM32MP1 platform.mk file to include fconf.mk.
Change-Id: Idc623a832b4cdf9486835fc612803015f4f1a5f5 Signed-off-by: Yann Gautier <yann.gautier@st.com> |
| 216c1223 | 04-Nov-2021 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
fix(drivers/usb): add a optional ops get_other_speed_config_desc
Correctly handle USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION request in USB driver and support a different result than USB_DESC_TYPE_CONF
fix(drivers/usb): add a optional ops get_other_speed_config_desc
Correctly handle USB_DESC_TYPE_OTHER_SPEED_CONFIGURATION request in USB driver and support a different result than USB_DESC_TYPE_CONFIGURATION with the new optional ops get_other_speed_config_desc().
The support of this descriptor is optionnal and is only required when high-speed capable device which can operate at its other possible speed.
This patch allows to remove the pbuf update in usb_core_get_desc() and solves an issue on USB re-enumeration on STM32MP15 platform as the result of get_config_desc() is a const array. This issue is not see on normal use-case, as the USB enumeration is only done in ROM code and TF-A reuse the same USB descritors.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: I8edcc1e45065ab4e45d48f4bc37b49120674fdb0
show more ...
|
| 306dcd6b | 02-Nov-2021 |
Yann Gautier <yann.gautier@st.com> |
fix(plat/st): remove double space
Replace double space with single space in stm32cubeprogrammer_usb.c.
Change-Id: I717b136119e85fe8e25dd540758525f995200458 Signed-off-by: Yann Gautier <yann.gautier
fix(plat/st): remove double space
Replace double space with single space in stm32cubeprogrammer_usb.c.
Change-Id: I717b136119e85fe8e25dd540758525f995200458 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| fa92fef0 | 06-Jul-2021 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target
Add a support of USB as serial boot devices for STM32MP15x platform: the FIP file is provide by STM32CubeProgrammer with the DFU protocol, l
feat(plat/st/stm32mp1): add STM32MP_USB_PROGRAMMER target
Add a support of USB as serial boot devices for STM32MP15x platform: the FIP file is provide by STM32CubeProgrammer with the DFU protocol, loaded in DDR at DWL_BUFFER_BASE address and then the io memmap is used.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: I272c17c458ff1e9d0780f8fa22330c8a35533d19
show more ...
|
| 942f6be2 | 30-Jun-2021 |
Patrick Delaunay <patrick.delaunay@foss.st.com> |
feat(plat/st/stm32mp1): add USB DFU support for STM32MP1
Add the USB descriptor, the struct used for USB enumeration with the function usb_dfu_plat_init().
The USB support is based on the usb lib a
feat(plat/st/stm32mp1): add USB DFU support for STM32MP1
Add the USB descriptor, the struct used for USB enumeration with the function usb_dfu_plat_init().
The USB support is based on the usb lib and on the stm32mp1 usb driver.
The content of enumeration (the string descriptor) is identical to ROM code to avoid the USB reset en re-enumeration needs.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com> Change-Id: I18b40649e8df83813a5a340b0eee44c9a3470e43
show more ...
|
| afad5214 | 14-Sep-2020 |
Patrick Delaunay <patrick.delaunay@st.com> |
feat(plat/st): add STM32CubeProgrammer support on USB
Add a file to support over USB the STMicroelectronics tool STM32CubeProgrammer in BL2 for STM32MP15x platform.
This tools is based on DFU stack
feat(plat/st): add STM32CubeProgrammer support on USB
Add a file to support over USB the STMicroelectronics tool STM32CubeProgrammer in BL2 for STM32MP15x platform.
This tools is based on DFU stack.
Change-Id: I48a8f772cb0e9b8be24c06847f724f0470c0f917 Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
show more ...
|
| efbd65fa | 14-Sep-2020 |
Patrick Delaunay <patrick.delaunay@st.com> |
feat(plat/st): add a USB DFU stack
Add a stack to support the Universal Serial Bus Device Class Specification for Device Firmware Upgrade (USB DFU v1.1).
This stack is based on the USB device stack
feat(plat/st): add a USB DFU stack
Add a stack to support the Universal Serial Bus Device Class Specification for Device Firmware Upgrade (USB DFU v1.1).
This stack is based on the USB device stack (USBD).
Change-Id: I8a56411d184882b6a9e3617c6dfb859086b8f353 Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
show more ...
|
| 1fa05dab | 28-Sep-2021 |
Chris Kay <chris.kay@arm.com> |
build(fdt-wrappers): introduce FDT wrappers makefile
This has been introduced to simplify dependencies on the FDT wrappers. We generally want to avoid pulling in components on a file-by-file basis,
build(fdt-wrappers): introduce FDT wrappers makefile
This has been introduced to simplify dependencies on the FDT wrappers. We generally want to avoid pulling in components on a file-by-file basis, particularly as we are trying to draw conceptual boxes around components in preparation for transitioning the build system to CMake, where dependencies are modelled on libraries rather than files.
Signed-off-by: Chris Kay <chris.kay@arm.com> Change-Id: Idb7ee05a9b54a8caa3e07f36e608867e20b6dcd5
show more ...
|
| 3deb0600 | 15-Oct-2021 |
Mark Dykes <mark.dykes@arm.com> |
Merge changes from topic "st_dt_match_instance" into integration
* changes: refactor(stm32_sdmmc2): use DT helpers feat(plat/st): create new helper for DT access |
| 02d36a92 | 15-Oct-2021 |
Manish Pandey <manish.pandey2@arm.com> |
Merge "fix(plat/st): only check header major when booting" into integration |
| 09665c83 | 14-Oct-2021 |
Mark Dykes <mark.dykes@arm.com> |
Merge "fix(plat/st): correct signedness comparison issue" into integration |
| 7684dddc | 07-Oct-2021 |
Yann Gautier <yann.gautier@st.com> |
fix(stm32mp1): add bl prefix for internal linker script
Due to patch [1], the bl prefix was removed from the build macros. It should then add explicitly when compiling stm32mp1.ld.S.
[1] 434d0491c5
fix(stm32mp1): add bl prefix for internal linker script
Due to patch [1], the bl prefix was removed from the build macros. It should then add explicitly when compiling stm32mp1.ld.S.
[1] 434d0491c5 ("refactor(makefile): remove BL prefixes in build macros")
Change-Id: I298dba2a7c958dd4ea6429c83ed4b1ee97e1735f Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 5657decc | 10-Nov-2020 |
Yann Gautier <yann.gautier@st.com> |
fix(plat/st): correct signedness comparison issue
Add casts where required to avoid compialtion error when enabling -Wsign-compare in shared resources file. The assert is also corrected to match the
fix(plat/st): correct signedness comparison issue
Add casts where required to avoid compialtion error when enabling -Wsign-compare in shared resources file. The assert is also corrected to match the correct range (change || to &&).
Change-Id: Ie4c9c0c935d39ff9a2165b909172aacb3e94ab4d Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 8ce89187 | 18-Nov-2019 |
Nicolas Le Bayon <nicolas.le.bayon@st.com> |
fix(plat/st): only check header major when booting
An STM32 image with the awaited header major version shouldn't be forbid to boot. If the minor differs, then it means only non-mandatory options ha
fix(plat/st): only check header major when booting
An STM32 image with the awaited header major version shouldn't be forbid to boot. If the minor differs, then it means only non-mandatory options have been added in the reserved fields, and the header remains backward compatible.
Change-Id: Iff16b67f95c728e2f1d128bd1760a4be497c5ca3 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| ea97bbf6 | 29-Sep-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(plat/st): create new helper for DT access
dt_match_instance_by_compatible() gives the DT node offset in DT that matches both compatible and the peripheral instance address.
Change-Id: Ia85f4f4
feat(plat/st): create new helper for DT access
dt_match_instance_by_compatible() gives the DT node offset in DT that matches both compatible and the peripheral instance address.
Change-Id: Ia85f4f4aa8fe8efd4df310d765e7586e67aa34c2 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| b38e2ed2 | 14-Sep-2020 |
Yann Gautier <yann.gautier@st.com> |
fix(plat/st): add UART reset in crash console init
Add the reset set/clear sequence at the beginning of the function plat_crash_console_init(). If not done, there is a risk that the UART is in a bad
fix(plat/st): add UART reset in crash console init
Add the reset set/clear sequence at the beginning of the function plat_crash_console_init(). If not done, there is a risk that the UART is in a bad state and will not be able to print correct characters.
Change-Id: Id31e28773d6c4f26f16d3569d1e3c5aa0e26e039 Signed-off-by: Yann Gautier <yann.gautier@st.com>
show more ...
|
| 4584e01d | 27-Sep-2020 |
Lionel Debieve <lionel.debieve@st.com> |
feat(plat/st): add a new DDR firewall management
Based on FCONF framework, define DDR firewall regions from firmware config file instead of static defines.
Change-Id: I471e15410ca286d9079a86e3dc347
feat(plat/st): add a new DDR firewall management
Based on FCONF framework, define DDR firewall regions from firmware config file instead of static defines.
Change-Id: I471e15410ca286d9079a86e3dc3474f66d37b5ab Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| 3cc5155c | 05-Jul-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
refactor(plat/st): use TZC400 bindings
This avoids duplicate define of TZC_REGION_NSEC_ALL_ACCESS_RDWR. And remove the previous TZC400 definitions from stm32mp1_def.h.
Change-Id: I6c72c2a18731f69d8
refactor(plat/st): use TZC400 bindings
This avoids duplicate define of TZC_REGION_NSEC_ALL_ACCESS_RDWR. And remove the previous TZC400 definitions from stm32mp1_def.h.
Change-Id: I6c72c2a18731f69d855fbce8ce822a21da9364fa Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|
| d5a84eea | 13-Jul-2021 |
Yann Gautier <yann.gautier@foss.st.com> |
feat(plat/st): manage io_policies with FCONF
Introduced IO policies management through the trusted boot firmware config device tree for UUID references.
Change-Id: Ibeeabede51b0514ebba26dbbdae58736
feat(plat/st): manage io_policies with FCONF
Introduced IO policies management through the trusted boot firmware config device tree for UUID references.
Change-Id: Ibeeabede51b0514ebba26dbbdae587363b2aa0a7 Signed-off-by: Lionel Debieve <lionel.debieve@st.com> Signed-off-by: Yann Gautier <yann.gautier@foss.st.com>
show more ...
|