Home
last modified time | relevance | path

Searched refs:ota_info (Results 1 – 2 of 2) sorted by relevance

/hal_espressif-latest/components/bootloader_support/src/
Dbootloader_utility.c104 static esp_err_t read_otadata(const esp_partition_pos_t *ota_info, esp_ota_select_entry_t *two_otad… in read_otadata() argument
107 if (ota_info->offset == 0) { in read_otadata()
112 if (ota_info->size < 2 * SPI_SEC_SIZE) { in read_otadata()
113 …ESP_LOGE(TAG, "ota_info partition size %"PRIu32" is too small (minimum %d bytes)", ota_info->size,… in read_otadata()
117 ESP_LOGD(TAG, "OTA data offset 0x%"PRIx32, ota_info->offset); in read_otadata()
118 ota_select_map = bootloader_mmap(ota_info->offset, ota_info->size); in read_otadata()
120 …SP_LOGE(TAG, "bootloader_mmap(0x%"PRIx32", 0x%"PRIx32") failed", ota_info->offset, ota_info->size); in read_otadata()
212 bs->ota_info = partition->pos; in bootloader_utility_load_partition_table()
360 if (bs->ota_info.offset == 0) {
364 if (read_otadata(&bs->ota_info, otadata) != ESP_OK) {
[all …]
/hal_espressif-latest/components/bootloader_support/private_include/
Dbootloader_config.h26 esp_partition_pos_t ota_info; member