| 729286dc | 13-Jun-2024 |
Yann Gautier <yann.gautier@st.com> |
refactor(st): rename plat_set_image_source
The function is only used in this file and is static, no need to have plat_ prefix. And as it is used only in case of FWU, when looking in metadata, add it
refactor(st): rename plat_set_image_source
The function is only used in this file and is static, no need to have plat_ prefix. And as it is used only in case of FWU, when looking in metadata, add it in the function name.
Suggested-by: Manish V Badarkhe <Manish.Badarkhe@arm.com> Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I925c9c517216cf93bd74308c280c0f22c7734490
show more ...
|
| 795a559b | 31-May-2023 |
Yann Gautier <yann.gautier@st.com> |
feat(st): add FWU with boot from NAND
Add the NAND use case in FWU boot. Like the NOR, NAND FWU won't use a real partition UUID to find the correct FIP, but the UUID from metadata will correspond wi
feat(st): add FWU with boot from NAND
Add the NAND use case in FWU boot. Like the NOR, NAND FWU won't use a real partition UUID to find the correct FIP, but the UUID from metadata will correspond with a hardcoded offset in the NAND. Implement the plat_try_next_boot_source to load backup partition on specific device.
Signed-off-by: Nicolas Toromanoff <nicolas.toromanoff@foss.st.com> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com> Signed-off-by: Yann Gautier <yann.gautier@st.com> Change-Id: I1dc544c479743d0ca2aace6e8214813d75637f50
show more ...
|
| 61660514 | 20-Feb-2024 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(st): add logic to boot the platform from an alternate bank
In a few scenarios, there is a need to boot the platform from an alernate bank which is not the active bank. Call the API fwu_get_aler
feat(st): add logic to boot the platform from an alternate bank
In a few scenarios, there is a need to boot the platform from an alernate bank which is not the active bank. Call the API fwu_get_alernate_boot_bank() to select an alternate bank to boot the platform from. Calling this API function might be required in a couple of cases. One, in the unlikely scenario of the active bank being in an invalid state, or if the number of times the platform boots in trial state exceeds a pre-set count.
Also add a debug print that indicates the bank that the platform is booting from.
Change-Id: I688406540e64d1719af8d5c121821f5bb6335c06 Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
show more ...
|
| 6e99fee4 | 20-Feb-2024 |
Sughosh Ganu <sughosh.ganu@linaro.org> |
feat(st): add a function to clear the FWU trial state counter
Add an API stm32_clear_fwu_trial_boot_cnt() function to clear the trial state counter. This is called in the corner case scenario when t
feat(st): add a function to clear the FWU trial state counter
Add an API stm32_clear_fwu_trial_boot_cnt() function to clear the trial state counter. This is called in the corner case scenario when the active index is in an Invalid state, thus needing a reset of the trial state counter.
Change-Id: I2980135da88d0d947c222655c7958b51eb572d69 Signed-off-by: Sughosh Ganu <sughosh.ganu@linaro.org>
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 ...
|