Logo
Explore Help
Register Sign In
eaw/esp-idf
1
0
Fork 0
You've already forked esp-idf
Code Issues Packages Projects Releases Wiki Activity
Files
release/v3.2
esp-idf/components/bootloader_support/include_bootloader
History
Vikram Dattu 7f42d63687 Bugfix: ota fails with secure boot on for image size greater than 3.2MB
When an OTA image size is larger than 50 MMU pages (approx. 3.2 MB), secure_boot_generate fails while trying to map it into memory:

https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp32/secure_boot.c#L72
Instead of trying to map the whole image, secure boot code should split the image into chunks and map them one by one, like it is done in esp_image_format.c:

https://github.com/espressif/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L371

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-19 09:56:32 +05:30
..
bootloader_config.h
bootloader_support: Rename include_priv directory to include_bootloader
2018-07-23 15:58:27 +10:00
bootloader_flash.h
Bugfix: ota fails with secure boot on for image size greater than 3.2MB
2019-07-19 09:56:32 +05:30
bootloader_init.h
bootloader_support: Rename include_priv directory to include_bootloader
2018-07-23 15:58:27 +10:00
bootloader_sha.h
app_update: Add API for getting sha256_of_partition
2018-08-13 13:59:07 +05:00
bootloader_utility.h
Merge branch 'bugfix/bootloader_include_priv' into 'master'
2018-07-23 18:50:35 +08:00
flash_qio_mode.h
bootloader_support: Rename include_priv directory to include_bootloader
2018-07-23 15:58:27 +10:00
Powered by Gitea Version: 1.25.5 Page: 210ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API