zephyr/soc/espressif/common
Sylvio Alves a7a4583e15 soc: esp32: loader: skip non-valid segment after the last valid one
Some ESP32 images may not end with a segment whose
load_addr is 0xFFFFFFFF, especially if the flash was not fully
erased or the image tool does not write an explicit end marker.
This can cause the loader to process leftover or unrelated data as
additional segments, resulting in boot failures.

Update the IS_LAST() macro to treat any segment not matching
a valid memory region as the end of the segment list.
This ensures only valid segments are loaded and any trailing
invalid data is safely skipped.

Signed-off-by: Sylvio Alves <sylvio.alves@espressif.com>
2025-07-09 17:13:54 -05:00
..
include xtensa: support for more than 32 interrupts 2025-06-27 08:59:56 -10:00
CMakeLists.txt soc: espressif: align flashing address with DTS configuration 2025-06-21 08:19:47 +02:00
esp_psram.c soc: espressif: Fix psram0 node size and smh heap size calculation 2025-02-25 07:56:19 +01:00
Kconfig drivers: ieee802154: Add implementation for ESP32 series 2025-06-26 11:12:34 +02:00
Kconfig.amp
Kconfig.console
Kconfig.defconfig soc: espressif: align flashing address with DTS configuration 2025-06-21 08:19:47 +02:00
Kconfig.efuse soc: esp32: virtual e-fuses support 2025-06-04 17:00:20 +02:00
Kconfig.esptool
Kconfig.flash
Kconfig.spiram soc: espressif: Fix psram0 node size and smh heap size calculation 2025-02-25 07:56:19 +01:00
loader.c soc: esp32: loader: skip non-valid segment after the last valid one 2025-07-09 17:13:54 -05:00