← index #4854Issue #8659
Off-topic · high · value 3.049
QUERY · ISSUE

Secure boot functionality for esp32

openby Architk08opened 2019-06-17updated 2023-01-23
port-esp32

Has secure boot feature on ESP32 been implemented on micropython?. If not then what is the other method to secure the firmware?

CANDIDATE · ISSUE

OTA in esp32-c3

closedby robbietree8opened 2022-05-12updated 2022-05-13

hello,

It seems the port to esp32-c3 does not support OTA, but I found there is GENERIC_OTA port, the difference between them is mpconfigboard.cmake file, so I tried to add line boards/GENERIC_OTA/sdkconfig.board to mpconfigboard.cmake file in GENERIC_C3, and builds the firmware locally.

Unfortunately, when I implemented OTA via bluetooth, the partition of ota_1 is updated successfully, but it does not boot ok, following error occurs:

E (68) esp_image: Segment 0 0x3fcd6100-0x3fcd6fa0 invalid: overlaps bootloader stack
E (69) boot: OTA app partition slot 1 is not bootable

Demo project can be found in micropython-ota-example

Appreciate if anyone can take a look.

Keyboard

j / / n
next pair
k / / p
previous pair
1 / / h
show query pane
2 / / l
show candidate pane
c
copy suggested comment
r
toggle reasoning
g i
go to index
?
show this help
esc
close overlays

press ? or esc to close

copied