Lines Matching refs:image_header

364 	esp_image_load_header_t image_header = {0};  in esp_appcpu_image_load()  local
369 memcpy((void *)&image_header, data + (hdr_offset / sizeof(uint32_t)), in esp_appcpu_image_load()
374 if (image_header.header_magic == ESP_LOAD_HEADER_MAGIC) { in esp_appcpu_image_load()
377 } else if ((image_header.header_magic & 0xff) == 0xE9) { in esp_appcpu_image_load()
385 if (!esp_ptr_in_iram((void *)image_header.iram_dest_addr) || in esp_appcpu_image_load()
386 !esp_ptr_in_iram((void *)(image_header.iram_dest_addr + image_header.iram_size))) { in esp_appcpu_image_load()
391 if (!esp_ptr_in_dram((void *)image_header.dram_dest_addr) || in esp_appcpu_image_load()
392 !esp_ptr_in_dram((void *)(image_header.dram_dest_addr + image_header.dram_size))) { in esp_appcpu_image_load()
397 if (!esp_ptr_in_iram((void *)image_header.entry_addr)) { in esp_appcpu_image_load()
399 image_header.entry_addr); in esp_appcpu_image_load()
404 (img_off + image_header.iram_flash_offset), image_header.iram_dest_addr, in esp_appcpu_image_load()
405 image_header.iram_size, image_header.iram_size); in esp_appcpu_image_load()
407 load_segment(img_off + image_header.iram_flash_offset, image_header.iram_size, in esp_appcpu_image_load()
408 image_header.iram_dest_addr); in esp_appcpu_image_load()
411 (img_off + image_header.dram_flash_offset), image_header.dram_dest_addr, in esp_appcpu_image_load()
412 image_header.dram_size, image_header.dram_size); in esp_appcpu_image_load()
414 load_segment(img_off + image_header.dram_flash_offset, image_header.dram_size, in esp_appcpu_image_load()
415 image_header.dram_dest_addr); in esp_appcpu_image_load()
417 ets_printf("Application start=%xh\n\n", image_header.entry_addr); in esp_appcpu_image_load()
421 *entry_addr = image_header.entry_addr; in esp_appcpu_image_load()