2020-12-17 9:58 AM
2021-01-20 8:45 AM
Hi @KS.2
Thanks for you participation in this community !
If one comment answer your question, please close this topic by choosing Select as Best. This will help other users to find that answer faster.
Thx
Olivier
2020-12-21 8:01 AM
Hi @KS.2 ,
Please have a look to https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_boot .
Olivier
2020-12-21 9:03 AM
is there a way to switch between the secure and non secure boot modes??
2021-01-11 5:03 AM
Hi @KS.2 ,
yes, you can bypass signature check by setting b0=1 in Option flags of header.
See https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_boot#STM32_Header
Olivier
2021-01-11 5:08 AM
Thank You Oliver
Can I switch between secure and non secure boot while device is in operation??
2021-01-11 5:13 AM
Device boot once... either secure or non secure.
What do you mean by operation here ?
Olivier
2021-01-11 7:32 AM
I have designed an SBC and it will be acting as a host for a LoRaWAN gateway.The SBC hence has to simulate the diverse field implementations of an embedded host,so what i meant was can I simulate both secure and non secure boot modes or if i choose either will that become permanent??
2021-01-13 8:53 PM
Hi Oliver
I am using STM32Cube IDE so where can i find the header ??
2021-01-14 1:10 AM
Hi @KS.2 ,
First I'm not sure to get your need.
"Secure" the boot chain is just a matter to ensure its integrity. There's no functional difference.
So once your software tested non-secure you can then "secure" it without any further need of validation.
The stm32 header is generated by STM32 Signing tool and you can manage Option flag with --option-flags -of
Is this not clear in https://wiki.st.com/stm32mpu/wiki/STM32MP15_secure_boot ?
Olivier
2021-01-20 8:45 AM
Hi @KS.2
Thanks for you participation in this community !
If one comment answer your question, please close this topic by choosing Select as Best. This will help other users to find that answer faster.
Thx
Olivier
We’re moving the ST Community to a new platform to give you a better and more reliable community experience.