Secure Boot CheckSum error, Help Please!
Posted: Tue Oct 22, 2019 2:53 am
Friends, I refer to the following two articles for the operation of Secureboot and Flash Encrypt. The Flash Encrypt operation is successful, but Secureboot has always failed. I have tried many times.
In the following article, I mainly operate according to the second scheme.
https://docs.espressif.com/projects/esp ... -boot.html
In the following article, I mainly operate according to the second scheme.
https://github.com/espressif/esp-iot-so ... rypt_cn.md
The IDF version I am using is esp-idf-v4.0-beta1.
First I configure it using idf.py menuconfig,
Secrue configuration as shown below
I generated the key file using "openssl ecparam -name prime256v1 -genkey -noout -out secure_boot_signing_key.pem".
Partiontable configuration as shown below, I changed the Offset of partition table to 0x9000.
Partiontable CSV file as shown below
Use idf.py to generate bootloader.bin, use idf.py build to generate partition-table.bin ota_data_initial.bin native_ota.bin.
Then I used the ESP32 SECURE FLASHER TOOL tool to program the device. The configuration of ESP32 SECURE FLASHER TOOL is shown below.
The log after re-powering after burning is as shown below
After burning, EFUSE is as shown below
In the following article, I mainly operate according to the second scheme.
https://docs.espressif.com/projects/esp ... -boot.html
In the following article, I mainly operate according to the second scheme.
https://github.com/espressif/esp-iot-so ... rypt_cn.md
The IDF version I am using is esp-idf-v4.0-beta1.
First I configure it using idf.py menuconfig,
Secrue configuration as shown below
I generated the key file using "openssl ecparam -name prime256v1 -genkey -noout -out secure_boot_signing_key.pem".
Partiontable configuration as shown below, I changed the Offset of partition table to 0x9000.
Partiontable CSV file as shown below
Use idf.py to generate bootloader.bin, use idf.py build to generate partition-table.bin ota_data_initial.bin native_ota.bin.
Then I used the ESP32 SECURE FLASHER TOOL tool to program the device. The configuration of ESP32 SECURE FLASHER TOOL is shown below.
The log after re-powering after burning is as shown below
After burning, EFUSE is as shown below