esp-idf/components/bootloader_support/include_bootloader
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