Home
last modified time | relevance | path

Searched refs:esp_image_header_t (Results 1 – 25 of 32) sorted by relevance

12

/hal_espressif-3.5.0/components/bootloader_support/include/
Dbootloader_flash_config.h50 void bootloader_flash_clock_config(const esp_image_header_t* pfhdr);
59 void bootloader_flash_gpio_config(const esp_image_header_t* pfhdr);
68 void bootloader_flash_dummy_config(const esp_image_header_t* pfhdr);
Desp_app_format.h96 } __attribute__((packed)) esp_image_header_t; typedef
99 ESP_STATIC_ASSERT(sizeof(esp_image_header_t) == 24, "binary image header should be 24 bytes");
Dbootloader_common.h221 esp_err_t bootloader_common_check_chip_validity(const esp_image_header_t* img_hdr, esp_image_type t…
/hal_espressif-3.5.0/zephyr/esp_shared/src/boot/
Dbootloader_init_common.c21 esp_image_header_t WORD_ALIGNED_ATTR bootloader_image_hdr;
27 sizeof(esp_image_header_t), true) != ESP_OK) { in bootloader_read_bootloader_header()
35 const esp_image_header_t* img_hdr, in bootloader_common_check_chip_validity()
78 void bootloader_print_flash_info(const esp_image_header_t *bootloader_hdr) in bootloader_print_flash_info()
/hal_espressif-3.5.0/docs/en/api-reference/system/
Dapp_image_format.rst6 1. The :cpp:type:`esp_image_header_t` structure describes the mode of SPI flash and the count of me…
9 …* offset for 0 Segment = sizeof(:cpp:type:`esp_image_header_t`) + sizeof(:cpp:type:`esp_image_segm…
14 …efined in the ``segment_count`` field that is stored in :cpp:type:`esp_image_header_t`. The count …
70 4. If the ``hash_appended`` field from :cpp:type:`esp_image_header_t` is set then a SHA256 checksum…
90 …ges uploaded OTA because it has a fixed offset = sizeof(:cpp:type:`esp_image_header_t`) + sizeof(:…
102 Offset for custom structure is sizeof(:cpp:type:`esp_image_header_t`) + sizeof(:cpp:type:`esp_image…
/hal_espressif-3.5.0/components/bootloader_support/src/
Dbootloader_flash_config_esp32.c45 void IRAM_ATTR bootloader_flash_clock_config(const esp_image_header_t* pfhdr) in bootloader_flash_clock_config()
68 void IRAM_ATTR bootloader_flash_gpio_config(const esp_image_header_t* pfhdr) in bootloader_flash_gpio_config()
122 void IRAM_ATTR bootloader_flash_dummy_config(const esp_image_header_t* pfhdr) in bootloader_flash_dummy_config()
Dbootloader_flash_config_esp32h2.c43 void IRAM_ATTR bootloader_flash_clock_config(const esp_image_header_t *pfhdr) in bootloader_flash_clock_config()
71 void IRAM_ATTR bootloader_flash_dummy_config(const esp_image_header_t *pfhdr) in bootloader_flash_dummy_config()
Dbootloader_flash_config_esp32c3.c43 void IRAM_ATTR bootloader_flash_clock_config(const esp_image_header_t *pfhdr) in bootloader_flash_clock_config()
71 void IRAM_ATTR bootloader_flash_dummy_config(const esp_image_header_t *pfhdr) in bootloader_flash_dummy_config()
Dbootloader_flash_config_esp32s2.c46 void IRAM_ATTR bootloader_flash_clock_config(const esp_image_header_t* pfhdr) in bootloader_flash_clock_config()
75 void IRAM_ATTR bootloader_flash_dummy_config(const esp_image_header_t* pfhdr) in bootloader_flash_dummy_config()
Dbootloader_flash_config_esp32s3.c50 void IRAM_ATTR bootloader_flash_clock_config(const esp_image_header_t *pfhdr) in bootloader_flash_clock_config()
79 void IRAM_ATTR bootloader_flash_dummy_config(const esp_image_header_t *pfhdr) in bootloader_flash_dummy_config()
Dbootloader_init.c24 esp_image_header_t WORD_ALIGNED_ATTR bootloader_image_hdr;
34 …er_flash_read(ESP_BOOTLOADER_OFFSET, &bootloader_image_hdr, sizeof(esp_image_header_t), true) != E… in bootloader_read_bootloader_header()
Dbootloader_common_loader.c62 esp_err_t bootloader_common_check_chip_validity(const esp_image_header_t* img_hdr, esp_image_type t… in bootloader_common_check_chip_validity()
122 … const uint32_t app_desc_offset = sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t); in bootloader_common_get_partition_description()
Desp_image_format.c83 static esp_err_t verify_image_header(uint32_t src_addr, const esp_image_header_t *image, bool silen…
297 static esp_err_t verify_image_header(uint32_t src_addr, const esp_image_header_t *image, bool silen… in verify_image_header()
457 …CHECK_ERR(bootloader_flash_read(data->start_addr, &data->image, sizeof(esp_image_header_t), true)); in process_image_header()
467 bootloader_sha256_data(*sha_handle, &data->image, sizeof(esp_image_header_t)); in process_image_header()
472 data->image_len = sizeof(esp_image_header_t); in process_image_header()
/hal_espressif-3.5.0/zephyr/esp32s2/src/boot/
Dbootloader_init.c43 extern esp_image_header_t WORD_ALIGNED_ATTR bootloader_image_hdr;
56 static void update_flash_config(const esp_image_header_t *bootloader_hdr) in update_flash_config()
/hal_espressif-3.5.0/zephyr/esp32/src/boot/
Dbootloader_init.c45 extern esp_image_header_t WORD_ALIGNED_ATTR bootloader_image_hdr;
108 static void update_flash_config(const esp_image_header_t *bootloader_hdr) in update_flash_config()
/hal_espressif-3.5.0/zephyr/esp32c3/src/boot/
Dbootloader_init.c48 extern esp_image_header_t WORD_ALIGNED_ATTR bootloader_image_hdr;
96 static void update_flash_config(const esp_image_header_t *bootloader_hdr) in update_flash_config()
/hal_espressif-3.5.0/components/esp_https_ota/src/
Desp_https_ota.c16 #define IMAGE_HEADER_SIZE sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t) + sizeof(…
338 …memcpy(new_app_info, &handle->ota_upgrade_buf[sizeof(esp_image_header_t) + sizeof(esp_image_segmen… in esp_https_ota_get_img_desc()
344 esp_image_header_t *data = (esp_image_header_t*)(arg); in esp_ota_verify_chip_id()
/hal_espressif-3.5.0/components/bootloader_support/src/esp32h2/
Dbootloader_esp32h2.c85 static void update_flash_config(const esp_image_header_t *bootloader_hdr) in update_flash_config()
113 static void print_flash_info(const esp_image_header_t *bootloader_hdr) in print_flash_info()
/hal_espressif-3.5.0/zephyr/esp_shared/include/boot/
Dbootloader_init_common.h8 void bootloader_print_flash_info(const esp_image_header_t *bootloader_hdr);
/hal_espressif-3.5.0/zephyr/esp32s3/src/boot/
Dbootloader_init.c52 extern esp_image_header_t WORD_ALIGNED_ATTR bootloader_image_hdr;
64 static void update_flash_config(const esp_image_header_t *bootloader_hdr) in update_flash_config()
/hal_espressif-3.5.0/components/bootloader_support/src/esp32c3/
Dbootloader_esp32c3.c86 static void update_flash_config(const esp_image_header_t *bootloader_hdr) in update_flash_config()
114 static void print_flash_info(const esp_image_header_t *bootloader_hdr) in print_flash_info()
/hal_espressif-3.5.0/components/bootloader_support/include_bootloader/
Dbootloader_init.h26 extern esp_image_header_t bootloader_image_hdr;
/hal_espressif-3.5.0/components/bootloader_support/src/esp32s2/
Dbootloader_esp32s2.c85 static void update_flash_config(const esp_image_header_t *bootloader_hdr) in update_flash_config()
115 static void print_flash_info(const esp_image_header_t *bootloader_hdr) in print_flash_info()
/hal_espressif-3.5.0/components/bootloader_support/src/esp32s3/
Dbootloader_esp32s3.c87 static void update_flash_config(const esp_image_header_t *bootloader_hdr) in update_flash_config()
126 static void print_flash_info(const esp_image_header_t *bootloader_hdr) in print_flash_info()
/hal_espressif-3.5.0/examples/system/ota/native_ota_example/main/
Dnative_ota_example.c151 …if (data_read > sizeof(esp_image_header_t) + sizeof(esp_image_segment_header_t) + sizeof(esp_app_d… in ota_example_task()
153 …memcpy(&new_app_info, &ota_write_data[sizeof(esp_image_header_t) + sizeof(esp_image_segment_header… in ota_example_task()

12