Home
last modified time | relevance | path

Searched refs:ota_slot (Results 1 – 3 of 3) sorted by relevance

/device/soc/esp/esp32/components/app_update/
Desp_ota_ops.c531 …int ota_slot = (otadata[active_otadata].ota_seq - 1) % ota_app_count; // Actual OTA partition sele… in esp_ota_get_boot_partition() local
532 ESP_LOGD(TAG, "finding ota_%d app...", ESP_PARTITION_SUBTYPE_APP_OTA_MIN + ota_slot); in esp_ota_get_boot_partition()
533 …p_partition_find_first(ESP_PARTITION_TYPE_APP, ESP_PARTITION_SUBTYPE_APP_OTA_MIN + ota_slot, NULL); in esp_ota_get_boot_partition()
794 int ota_slot = (otadata[invalid_otadata].ota_seq - 1) % ota_app_count; in esp_ota_get_last_invalid_partition() local
795 ESP_LOGD(TAG, "Find invalid ota_%d app", ESP_PARTITION_SUBTYPE_APP_OTA_MIN + ota_slot); in esp_ota_get_last_invalid_partition()
797 …p_partition_find_first(ESP_PARTITION_TYPE_APP, ESP_PARTITION_SUBTYPE_APP_OTA_MIN + ota_slot, NULL); in esp_ota_get_last_invalid_partition()
828 int ota_slot = (otadata[i].ota_seq - 1) % ota_app_count; in esp_ota_get_state_partition() local
829 … if (ota_slot == req_ota_slot && otadata[i].crc == bootloader_common_ota_select_crc(&otadata[i])) { in esp_ota_get_state_partition()
862 …int ota_slot = (otadata[inactive_otadata].ota_seq - 1) % ota_app_count; // Actual OTA partition se… in esp_ota_erase_last_boot_app_partition() local
863 …AG, "finding last_boot_app_partition ota_%d app...", ESP_PARTITION_SUBTYPE_APP_OTA_MIN + ota_slot); in esp_ota_erase_last_boot_app_partition()
[all …]
/device/soc/esp/esp32/components/bootloader_support/src/
Dbootloader_utility.c293 uint32_t ota_slot; in get_active_otadata_with_check_anti_rollback() local
303 ota_slot = ota_seq % bs->app_count; // Actual OTA partition selection in get_active_otadata_with_check_anti_rollback()
304 if (check_anti_rollback(&bs->ota[ota_slot]) == false) { in get_active_otadata_with_check_anti_rollback()
306 …rsion, this version is smaller than in the device. This OTA slot will not be selected.", ota_slot); in get_active_otadata_with_check_anti_rollback()
/device/soc/esp/esp32/components/partition_table/
Dgen_esp32part.py265 for ota_slot in range(NUM_PARTITION_SUBTYPE_APP_OTA):
266 SUBTYPES[TYPES['app']]['ota_%d' % ota_slot] = MIN_PARTITION_SUBTYPE_APP_OTA + ota_slot