/hal_espressif-latest/tools/esptool_py/esptool/ |
D | bin_image.py | 239 segment = ImageSegment(offset, segment_data, file_offs) 240 self.segments.append(segment) 241 return segment 290 def save_segment(self, f, segment, checksum=None): argument 295 segment_data = self.maybe_patch_segment_data(f, segment.data) 296 f.write(struct.pack("<II", segment.addr, len(segment_data))) 301 def save_flash_segment(self, f, segment, checksum=None): argument 309 segment_end_pos = f.tell() + len(segment.data) + self.SEG_HEADER_LEN 312 segment.data += b"\x00" * (0x24 - segment_len_remainder) 313 return self.save_segment(f, segment, checksum) [all …]
|
/hal_espressif-latest/components/esp_system/ld/esp32/ |
D | memory.ld.in | 58 /* Even though the segment name is iram, it is actually mapped to flash 65 has a 0x18 byte file header, and each segment has a 0x08 byte segment 98 It reserves the amount of RTC fast memory that we use for this memory segment. 99 …This segment is intended for keeping bootloader rtc data (s_bootloader_retain_mem, when a Kconfig … 117 It reserves the amount of RTC slow memory that we use for this memory segment. 118 … This segment is intended for keeping rtc timer data (s_rtc_timer_retain_mem, see esp_clk.c files). 148 When the option is not defined then use slow memory segment 149 else the data will be placed in fast memory segment */ 169 * If rodata default segment is placed in `drom0_0_seg`, then flash's first rodata section must 170 * also be first in the segment. [all …]
|
D | sections.ld.in | 121 Because data have adhered to the end of the segment and code is relied on it. 129 "RTC FAST reserved segment data does not fit.") 140 Because data have adhered to the end of the segment and code is relied on it. 150 "RTC SLOW reserved segment data does not fit.") 162 "RTC_SLOW segment data does not fit.") 165 "RTC_FAST segment data does not fit.") 284 "DRAM segment data does not fit.") 409 the flash.text segment. 414 /* Marks the end of IRAM code segment */ 472 "IRAM0 segment data does not fit.") [all …]
|
/hal_espressif-latest/components/esp_system/ld/esp32s2/ |
D | memory.ld.in | 61 /* Even though the segment name is iram, it is actually mapped to flash 68 has a 0x18 byte file header, and each segment has a 0x08 byte segment 104 It reserves the amount of RTC fast memory that we use for this memory segment. 105 This segment is intended for keeping: 129 When the option is not defined then use slow memory segment 130 else the data will be placed in fast memory segment */ 151 * If rodata default segment is placed in `drom0_0_seg`, then flash's first rodata section must 152 * also be first in the segment. 156 ".flash.appdesc section must be placed at the beginning of the rodata segment.")
|
D | sections.ld.in | 128 Because data have adhered to the end of the segment and code is relied on it. 138 "RTC reserved segment data does not fit.") 150 "RTC_SLOW segment data does not fit.") 153 "RTC_FAST segment data does not fit.") 420 the flash.text segment. 425 /* Marks the end of IRAM code segment */ 461 "IRAM0 segment data does not fit.") 464 "DRAM segment data does not fit.")
|
/hal_espressif-latest/components/esp_system/ld/esp32c6/ |
D | memory.ld.in | 60 * has a 0x18 byte file header, and each segment has a 0x08 byte segment 90 It reserves the amount of LP memory that we use for this memory segment. 91 This segment is intended for keeping: 128 * If rodata default segment is placed in `drom_seg`, then flash's first rodata section must 129 * also be first in the segment. 133 ".flash_rodata_dummy section must be placed at the beginning of the rodata segment.")
|
D | sections.ld.in | 118 Because data have adhered to the end of the segment and code is relied on it. 128 "RTC reserved segment data does not fit.") 140 "RTC_SLOW segment data does not fit.") 143 "RTC_FAST segment data does not fit.") 162 /* Marks the end of IRAM code segment */ 261 …ASSERT(((_bss_end - ORIGIN(dram0_0_seg)) <= LENGTH(dram0_0_seg)), "DRAM segment data does not fit.… 291 * the flash.text segment. 438 "IRAM0 segment data does not fit.") 441 "DRAM segment data does not fit.")
|
/hal_espressif-latest/components/esp_system/ld/esp32h2/ |
D | memory.ld.in | 60 * has a 0x18 byte file header, and each segment has a 0x08 byte segment 86 It reserves the amount of LP memory that we use for this memory segment. 87 This segment is intended for keeping: 123 * If rodata default segment is placed in `drom_seg`, then flash's first rodata section must 124 * also be first in the segment. 128 ".flash_rodata_dummy section must be placed at the beginning of the rodata segment.")
|
D | sections.ld.in | 118 Because data have adhered to the end of the segment and code is relied on it. 128 "RTC reserved segment data does not fit.") 140 "RTC_SLOW segment data does not fit.") 143 "RTC_FAST segment data does not fit.") 162 /* Marks the end of IRAM code segment */ 261 …ASSERT(((_bss_end - ORIGIN(dram0_0_seg)) <= LENGTH(dram0_0_seg)), "DRAM segment data does not fit.… 291 * the flash.text segment. 429 "IRAM0 segment data does not fit.") 432 "DRAM segment data does not fit.")
|
/hal_espressif-latest/components/esp_system/ld/esp32c3/ |
D | memory.ld.in | 53 * has a 0x18 byte file header, and each segment has a 0x08 byte segment 78 It reserves the amount of RTC fast memory that we use for this memory segment. 79 This segment is intended for keeping: 113 * If rodata default segment is placed in `drom0_0_seg`, then flash's first rodata section must 114 * also be first in the segment. 118 ".flash_rodata_dummy section must be placed at the beginning of the rodata segment.")
|
D | sections.ld.in | 116 Because data have adhered to the end of the segment and code is relied on it. 126 "RTC reserved segment data does not fit.") 138 "RTC_SLOW segment data does not fit.") 141 "RTC_FAST segment data does not fit.") 226 …ASSERT(((_bss_end - ORIGIN(dram0_0_seg)) <= LENGTH(dram0_0_seg)), "DRAM segment data does not fit.… 256 * the flash.text segment. 394 /* Marks the end of IRAM code segment */ 436 "IRAM0 segment data does not fit.") 439 "DRAM segment data does not fit.")
|
/hal_espressif-latest/components/esp_system/ld/esp32c2/ |
D | memory.ld.in | 43 * has a 0x18 byte file header, and each segment has a 0x08 byte segment 81 * If rodata default segment is placed in `drom0_0_seg`, then flash's first rodata section must 82 * also be first in the segment. 86 ".flash_rodata_dummy section must be placed at the beginning of the rodata segment.")
|
D | sections.ld.in | 113 …ASSERT(((_bss_end - ORIGIN(dram0_0_seg)) <= LENGTH(dram0_0_seg)), "DRAM segment data does not fit.… 143 * the flash.text segment. 281 /* Marks the end of IRAM code segment */ 335 "IRAM0 segment data does not fit.") 338 "DRAM segment data does not fit.")
|
/hal_espressif-latest/components/esp_system/ld/esp32s3/ |
D | memory.ld.in | 71 * has a 0x18 byte file header, and each segment has a 0x08 byte segment 96 It reserves the amount of RTC fast memory that we use for this memory segment. 97 This segment is intended for keeping: 156 * If rodata default segment is placed in `drom0_0_seg`, then flash's first rodata section must 157 * also be first in the segment. 161 ".flash_rodata_dummy section must be placed at the beginning of the rodata segment.")
|
D | sections.ld.in | 123 Because data have adhered to the end of the segment and code is relied on it. 133 "RTC reserved segment data does not fit.") 145 "RTC_SLOW segment data does not fit.") 148 "RTC_FAST segment data does not fit.") 263 …ASSERT(((_bss_end - ORIGIN(dram0_0_seg)) <= LENGTH(dram0_0_seg)), "DRAM segment data does not fit.… 293 * the flash.text segment. 438 /* Marks the end of IRAM code segment */ 500 "IRAM0 segment data does not fit.") 503 "DRAM segment data does not fit.")
|
/hal_espressif-latest/components/esp_system/port/soc/esp32s2/ |
D | Kconfig.memory | 4 bool "Place RTC_DATA_ATTR and RTC_RODATA_ATTR variables into RTC fast memory segment" 8 RTC fast memory segment to free the slow memory region for ULP programs.
|
/hal_espressif-latest/components/esp_system/port/soc/esp32s3/ |
D | Kconfig.memory | 4 bool "Place RTC_DATA_ATTR and RTC_RODATA_ATTR variables into RTC fast memory segment" 8 RTC fast memory segment to free the slow memory region for ULP programs.
|
/hal_espressif-latest/components/bootloader_support/src/ |
D | esp_image_format.c | 93 static esp_err_t process_segment_data(int segment, intptr_t load_addr, uint32_t data_addr, uint32_t… 99 static esp_err_t verify_segment_header(int index, const esp_image_segment_header_t *segment, uint32… 658 static esp_err_t process_segment_data(int segment, intptr_t load_addr, uint32_t data_addr, uint32_t… in process_segment_data() argument 699 if (segment == 0 && metadata->start_addr != ESP_BOOTLOADER_OFFSET) { in process_segment_data() 736 static esp_err_t verify_segment_header(int index, const esp_image_segment_header_t *segment, uint32… in verify_segment_header() argument 738 if ((segment->data_len & 3) != 0 in verify_segment_header() 739 || segment->data_len >= SIXTEEN_MB) { in verify_segment_header() 741 ESP_LOGE(TAG, "invalid segment length 0x%"PRIx32, segment->data_len); in verify_segment_header() 746 uint32_t load_addr = segment->load_addr; in verify_segment_header()
|
/hal_espressif-latest/components/esp_system/port/soc/esp32/ |
D | Kconfig.memory | 4 bool "Place RTC_DATA_ATTR and RTC_RODATA_ATTR variables into RTC fast memory segment" 9 RTC fast memory segment to free the slow memory region for ULP programs.
|
/hal_espressif-latest/tools/ci/ |
D | check_callgraph.py | 136 for segment in self.elf_obj.iter_segments(): 137 if segment['p_type'] == 'PT_LOAD': 139 if not segment.section_in_segment(section):
|
/hal_espressif-latest/tools/esptool_py/test/ |
D | test_imagegen.py | 30 def segment_matches_section(segment, section): argument 37 return section.header.sh_addr == segment.addr and sh_size == len(segment.data)
|
/hal_espressif-latest/components/esp_psram/ |
D | Kconfig.spiram.common | 89 bool "Allow .bss segment placed in external memory" 102 bool "Allow .noinit segment placed in external memory"
|
/hal_espressif-latest/tools/esptool_py/ |
D | CHANGELOG.md | 67 - **bin_image**: add check for ELF file segment when saving RAM segments 75 - ram_only_header: pad flash segment to next boundary
|
/hal_espressif-latest/tools/esptool_py/docs/en/advanced-topics/ |
D | boot-mode-selection.rst | 359 … as the ROM bootloader loads each segment in the software bootloader image. The load address and l… 361 …/path/to/bootloader.bin`` to dump image info including a summary of each segment. Corresponding de…
|
/hal_espressif-latest/tools/esptool_py/docs/en/esptool/ |
D | basic-commands.rst | 197 By default, ``elf2image`` uses the sections in the ELF file to generate each segment in the binary … 220 …d altering the segment count from the image header with the quantity of these segments, and also w…
|