Lines Matching refs:image_header

78 	esp_image_load_header_t image_header = {0};  in esp_appcpu_image_load()  local
83 memcpy((void *)&image_header, data + (hdr_offset / sizeof(uint32_t)), in esp_appcpu_image_load()
88 if (image_header.header_magic == ESP_LOAD_HEADER_MAGIC) { in esp_appcpu_image_load()
91 } else if ((image_header.header_magic & 0xff) == 0xE9) { in esp_appcpu_image_load()
99 if (!esp_ptr_in_iram((void *)image_header.iram_dest_addr) || in esp_appcpu_image_load()
100 !esp_ptr_in_iram((void *)(image_header.iram_dest_addr + image_header.iram_size))) { in esp_appcpu_image_load()
105 if (!esp_ptr_in_dram((void *)image_header.dram_dest_addr) || in esp_appcpu_image_load()
106 !esp_ptr_in_dram((void *)(image_header.dram_dest_addr + image_header.dram_size))) { in esp_appcpu_image_load()
111 if (!esp_ptr_in_iram((void *)image_header.entry_addr)) { in esp_appcpu_image_load()
113 image_header.entry_addr); in esp_appcpu_image_load()
118 (img_off + image_header.iram_flash_offset), image_header.iram_dest_addr, in esp_appcpu_image_load()
119 image_header.iram_size, image_header.iram_size); in esp_appcpu_image_load()
121 load_segment(img_off + image_header.iram_flash_offset, image_header.iram_size, in esp_appcpu_image_load()
122 image_header.iram_dest_addr); in esp_appcpu_image_load()
125 (img_off + image_header.dram_flash_offset), image_header.dram_dest_addr, in esp_appcpu_image_load()
126 image_header.dram_size, image_header.dram_size); in esp_appcpu_image_load()
128 load_segment(img_off + image_header.dram_flash_offset, image_header.dram_size, in esp_appcpu_image_load()
129 image_header.dram_dest_addr); in esp_appcpu_image_load()
131 ets_printf("Application start=%xh\n\n", image_header.entry_addr); in esp_appcpu_image_load()
135 *entry_addr = image_header.entry_addr; in esp_appcpu_image_load()