Home
last modified time | relevance | path

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

/hal_espressif-latest/components/bootloader/subproject/main/
Dbootloader_start.c51 int boot_index = select_partition_number(&bs); in call_start_cpu0() local
52 if (boot_index == INVALID_INDEX) { in call_start_cpu0()
57 bootloader_utility_load_boot_image(&bs, boot_index); in call_start_cpu0()
79 int boot_index = bootloader_utility_get_selected_boot_partition(bs); in selected_boot_partition() local
80 if (boot_index == INVALID_INDEX) { in selected_boot_partition()
81 …return boot_index; // Unrecoverable failure (not due to corrupt ota data or bad partition contents) in selected_boot_partition()
116 boot_index = TEST_APP_INDEX; in selected_boot_partition()
117 return boot_index; in selected_boot_partition()
129 return boot_index; in selected_boot_partition()
/hal_espressif-latest/components/bootloader_support/src/
Dbootloader_utility.c358 int boot_index = FACTORY_INDEX; local
390 boot_index = FACTORY_INDEX;
393 boot_index = 0;
420 boot_index = ota_seq % bs->app_count; // Actual OTA partition selection
421 ESP_LOGD(TAG, "Mapping seq %"PRIu32" -> OTA slot %d", ota_seq, boot_index);
432 update_anti_rollback(&bs->ota[boot_index]);
438 boot_index = FACTORY_INDEX;
441 boot_index = FACTORY_INDEX;
445 return boot_index;