Hi i was trying the secure boot functionality. Flowed the steps provided in the below link:https://docs.espressif.com/projects/esp ... ot-v1.html
I was trying on the reflashable method.
Steps followed:
1)Enabled secure boot in the menuconfig.Secure bootloader mode selected as reflashable.
Hardware key encoding:No encoding selected.
2)generated a key using
openssl ecparam -name prime256v1 -genkey -noout -out my_secure_boot_signing_key.pem `
3)copied the same into the project folder.
4) Run idf. py bootloader
obatined two flashing method.
5) flashed using : idf.py -p COM7 bootloader-flash
6) flashed sucessfully but resp32 but it only restarts
Not able to implement Secure Boot
Re: Not able to implement Secure Boot
Hi Swagger,
What is the output when it fails?
If the rest of the project is not flashed yet (and/or the app in the flash is not signed), the bootloader will log an error and restart. Need to run "idf.py flash" to get past this ('flash' target will flash everything except the bootlooder if Secure Boot is on.)
To make sure you're able to see the entire first boot, recommend running "idf.py flash monitor" or "idf.py flash bootloader-flash monitor" in a single command.
Angus
What is the output when it fails?
If the rest of the project is not flashed yet (and/or the app in the flash is not signed), the bootloader will log an error and restart. Need to run "idf.py flash" to get past this ('flash' target will flash everything except the bootlooder if Secure Boot is on.)
To make sure you're able to see the entire first boot, recommend running "idf.py flash monitor" or "idf.py flash bootloader-flash monitor" in a single command.
Angus
Re: Not able to implement Secure Boot
I think i lost the chip.
Who is online
Users browsing this forum: No registered users and 192 guests