Home
last modified time | relevance | path

Searched refs:app_desc (Results 1 – 6 of 6) sorted by relevance

/device/soc/esp/esp32/components/esp_system/
Dstartup.c377 const esp_app_desc_t *app_desc = esp_ota_get_app_description(); in start_cpu0_default() local
380 ESP_EARLY_LOGI(TAG, "Project name: %s", app_desc->project_name); in start_cpu0_default()
383 ESP_EARLY_LOGI(TAG, "App version: %s", app_desc->version); in start_cpu0_default()
386 ESP_EARLY_LOGI(TAG, "Secure version: %d", app_desc->secure_version); in start_cpu0_default()
389 ESP_EARLY_LOGI(TAG, "Compile time: %s %s", app_desc->date, app_desc->time); in start_cpu0_default()
394 ESP_EARLY_LOGI(TAG, "ESP-IDF: %s", app_desc->idf_ver); in start_cpu0_default()
/device/soc/esp/esp32/components/bootloader_support/src/
Dbootloader_common_loader.c118 …er_common_get_partition_description(const esp_partition_pos_t *partition, esp_app_desc_t *app_desc) in bootloader_common_get_partition_description() argument
120 if (partition == NULL || app_desc == NULL || partition->offset == 0) { in bootloader_common_get_partition_description()
132 memcpy(app_desc, image + app_desc_offset, sizeof(esp_app_desc_t)); in bootloader_common_get_partition_description()
135 if (app_desc->magic_word != ESP_APP_DESC_MAGIC_WORD) { in bootloader_common_get_partition_description()
Dbootloader_utility.c272 esp_app_desc_t app_desc; in check_anti_rollback() local
273 esp_err_t err = bootloader_common_get_partition_description(partition, &app_desc); in check_anti_rollback()
274 return err == ESP_OK && esp_efuse_check_secure_version(app_desc.secure_version) == true; in check_anti_rollback()
283 esp_app_desc_t app_desc; in update_anti_rollback() local
284 esp_err_t err = bootloader_common_get_partition_description(partition, &app_desc); in update_anti_rollback()
286 esp_efuse_update_secure_version(app_desc.secure_version); in update_anti_rollback()
/device/soc/esp/esp32/components/app_update/
Desp_ota_ops.c627 …err_t esp_ota_get_partition_description(const esp_partition_t *partition, esp_app_desc_t *app_desc) in esp_ota_get_partition_description() argument
629 if (partition == NULL || app_desc == NULL) { in esp_ota_get_partition_description()
637 …ition, sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t), app_desc, sizeof(esp_app_d… in esp_ota_get_partition_description()
642 if (app_desc->magic_word != ESP_APP_DESC_MAGIC_WORD) { in esp_ota_get_partition_description()
651 const esp_app_desc_t *app_desc = esp_ota_get_app_description(); in esp_ota_set_anti_rollback() local
652 return esp_efuse_update_secure_version(app_desc->secure_version); in esp_ota_set_anti_rollback()
698 esp_app_desc_t app_desc; in esp_ota_check_rollback_is_possible() local
699 if (esp_ota_get_partition_description(partition, &app_desc) == ESP_OK && in esp_ota_check_rollback_is_possible()
700 esp_efuse_check_secure_version(app_desc.secure_version) == true) { in esp_ota_check_rollback_is_possible()
/device/soc/esp/esp32/components/bootloader_support/include/
Dbootloader_common.h165 …r_common_get_partition_description(const esp_partition_pos_t *partition, esp_app_desc_t *app_desc);
/device/soc/esp/esp32/components/app_update/include/
Desp_ota_ops.h252 …rr_t esp_ota_get_partition_description(const esp_partition_t *partition, esp_app_desc_t *app_desc);