esp-idf/components
Vikram Dattu eb99b27f2e 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://gitlab.espressif.cn:6688/idf/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://gitlab.espressif.cn:6688/idf/esp-idf/blob/master/components/bootloader_support/src/esp_image_format.c#L372

Closes https://jira.espressif.com:8443/browse/IDF-709

Signed-off-by: Vikram Dattu <vikram.dattu@espressif.com>
2019-07-01 20:04:15 +00:00
..
app_trace cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
app_update components: restore dependency of extra bins on flash target 2019-06-28 10:50:52 +08:00
asio components: use new component registration api 2019-06-21 19:53:29 +08:00
bootloader bootloader: fix secure boot issues 2019-06-28 10:54:21 +08:00
bootloader_support Bugfix: ota fails with secure boot on for image size greater than 3.2MB 2019-07-01 20:04:15 +00:00
bt Merge branch 'feature/btdm_avrcp_volume' into 'master' 2019-06-30 16:40:10 +08:00
coap cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
console cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
cxx components: use new component registration api 2019-06-21 19:53:29 +08:00
driver Merge branch 'bugfix/i2s_apll_clock_fix' into 'master' 2019-06-28 03:49:11 +08:00
efuse Improve flash encryption documentation and add Development & Release modes 2019-06-25 23:41:18 +00:00
esp32 add esp_eth component 2019-06-26 10:19:23 +08:00
esp_adc_cal components: use new component registration api 2019-06-21 19:53:29 +08:00
esp_common components: use new component registration api 2019-06-21 19:53:29 +08:00
esp_eth add esp_eth component 2019-06-26 10:19:23 +08:00
esp_event add esp_eth component 2019-06-26 10:19:23 +08:00
esp_http_client esp_http_client: Add support to disable validation of certificate's CN field 2019-06-25 23:41:33 +00:00
esp_http_server cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
esp_https_ota esp_https_ota: Removed unnecessary free() 2019-06-25 23:41:33 +00:00
esp_https_server esp_https_server: Add support for esp-tls server APIs 2019-06-25 23:43:35 +00:00
esp_ringbuf esp_ringbuf: Add static allocation, refactor, and update API reference 2019-06-26 16:04:38 +08:00
esp_rom components: use new component registration api 2019-06-21 19:53:29 +08:00
esp_websocket_client examples: use new component registration api 2019-06-21 19:53:29 +08:00
esp_wifi supplicant/esp_wifi: move supplicant to idf 2019-06-29 22:46:52 +08:00
esp-tls esp_tls: Add support for server side SSL/TLS connection 2019-06-25 23:43:35 +00:00
espcoredump cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
esptool_py esptool_py: do not generate flasher arg files on bootloader build 2019-06-28 10:54:21 +08:00
expat components: use new component registration api 2019-06-21 19:53:29 +08:00
fatfs fatfs: reduce rawflash tests run time 2019-06-25 23:07:07 +08:00
freemodbus cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
freertos cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
heap cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
idf_test test: modify test cases for bluedroid 2019-06-25 23:14:32 +08:00
jsmn components: use new component registration api 2019-06-21 19:53:29 +08:00
json components: use new component registration api 2019-06-21 19:53:29 +08:00
libsodium cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
log components: use new component registration api 2019-06-21 19:53:29 +08:00
lwip Merge branch 'feature/refactor_etherent_driver' into 'master' 2019-06-28 03:44:44 +08:00
mbedtls mbedtls: remove component CMake file workarounds 2019-06-26 08:41:02 +00:00
mdns add esp_eth component 2019-06-26 10:19:23 +08:00
mqtt components: use new component registration api 2019-06-21 19:53:29 +08:00
newlib cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
nghttp cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
nvs_flash nvs_util: Add NVS decryption feature 2019-06-27 11:51:58 +05:30
openssl components: use new component registration api 2019-06-21 19:53:29 +08:00
partition_table bootloader: fix secure boot issues 2019-06-28 10:54:21 +08:00
protobuf-c components: use new component registration api 2019-06-21 19:53:29 +08:00
protocomm protocomm_ble : Bugfix for unbound memcpy on prepare write buffer 2019-06-25 19:58:19 +00:00
pthread components: use new component registration api 2019-06-21 19:53:29 +08:00
sdmmc components: use new component registration api 2019-06-21 19:53:29 +08:00
smartconfig_ack components: use new component registration api 2019-06-21 19:53:29 +08:00
soc Merge branch 'feature/refactor_etherent_driver' into 'master' 2019-06-28 03:44:44 +08:00
spi_flash esp_flash: add initialization interface for SPI devices 2019-06-27 13:27:27 +08:00
spiffs components: use new component registration api 2019-06-21 19:53:29 +08:00
tcp_transport tcp_transport: Add API to allow skipping of certificate CN validation 2019-06-25 23:41:33 +00:00
tcpip_adapter add esp_eth component 2019-06-26 10:19:23 +08:00
ulp components: use new component registration api 2019-06-21 19:53:29 +08:00
unity cmake: some formatting fixes 2019-06-21 19:53:29 +08:00
vfs components: use new component registration api 2019-06-21 19:53:29 +08:00
wear_levelling components: use new component registration api 2019-06-21 19:53:29 +08:00
wifi_provisioning wifi_provisioning : Added Wi-Fi Scan list feature to Provisioning Manager 2019-06-26 05:24:20 +00:00
wpa_supplicant supplicant/esp_wifi: move supplicant to idf 2019-06-29 22:46:52 +08:00
xtensa cmake: some formatting fixes 2019-06-21 19:53:29 +08:00