Replies: 2 comments
-
|
"Discussions" is maybe not the best place for this issue. "Issues" would fit better. Never came in contact with secure boot before. To my understanding, if secure boot is enabled on your ESP32, then you are out of luck. You cannot revert this state, and since you most likely don't have the private key, you cannot create a firmware that is accepted by the ESP32. https://docs.espressif.com/projects/esp-idf/en/stable/esp32/security/secure-boot-v1.html You can check the state of the efuses with tool "espefuse", but it might be tricky to get it running. On Windows CMD The output is If in your case the efuse is set, I would open an issue at your dealer. |
Beta Was this translation helpful? Give feedback.
-
|
Thanks for the reply, will check this. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello,
just finished building Hardware Rev 4 and starting with software under windows and vscode with platformio. Managed to set up the project, compile and download it to omote, but got stuck, because bootloader checks for secure boot.
It seems, that the ESP32 pico D4 now have a new bootloader that checks the second stage bootloader for fulfilling the secure boot chain. Since i am new to platformio it seems, that there is no way to get a signed bootloader under platformio.
Could anybody help to setup the project maybe for ESP_IDF in vscode ?
Or is there another way ?
disable secure boot ?
Sign bootloader manually ?
Buy older revision chips ?
COM_output from first stage bootloader :
rst:0x10 (RTCWDT_RTC_RESET),boot:0x16 (SPI_FAST_FLASH_BOOT)
configsip: 188777542, SPIWP:0xee
clk_drv:0x00,q_drv:0x00,d_drv:0x00,cs0_drv:0x00,hd_drv:0x00,wp_drv:0x00
mode:DIO, clock div:1
load:0x3fff0030,len:1184
load:0x40078000,len:13260
load:0x40080400,len:3028
secure boot check fail
ets_main.c 371
Stefan
Beta Was this translation helpful? Give feedback.
All reactions