You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Can't generate --version=1 binary file using components\esp8266\ld\esp8266_out.ld. I need to have it in order to avoid using extra bootloaders which is working with --version=3.
Expected Behavior
Generation binary files should work OK without providing --version=3 to esptool elf2image. Like in previous SDK version (v3.2)
Actual Behavior
Error during the generating binary from elf file when --version=1.
Steps to reproduce
Try to generate bin file from elf using --version=1 (or without specifying version at all) esptool elf2image command:
python /home/user/dev/ESP8266_RTOS_SDK-v3.3-rc1/components/esptool_py/esptool/esptool.py elf2image -o /home/user/dev/ESP8266_RTOS_SDK-v3.3-rc1/examples/wifi/simple_wifi/build/simple_wifi.bin /home/user/dev/ESP8266_RTOS_SDK-v3.3-rc1/examples/wifi/simple_wifi/build/simple_wifi.elf
esptool.py v2.4.0
Creating image for ESP8266...
A fatal error occurred: Found 2 segments that could be irom0. Bad ELF file?
These problematic segments are described in components\esp8266\ld\esp8266_out.ld linker file. It locates .flash.rodata and .flash.text to iram0_2_seg which cause esptool error.
The text was updated successfully, but these errors were encountered:
github-actionsbot
changed the title
Error during esptool elf2image: "Found 2 segments that could be irom0. Bad ELF file?"
Error during esptool elf2image: "Found 2 segments that could be irom0. Bad ELF file?" (GIT8266O-429)
Apr 3, 2020
yh-sb
changed the title
Error during esptool elf2image: "Found 2 segments that could be irom0. Bad ELF file?" (GIT8266O-429)
[v3.3-rc1] Error during esptool elf2image: "Found 2 segments that could be irom0. Bad ELF file?" (GIT8266O-429)
Apr 5, 2020
Environment
Problem Description
Can't generate
--version=1
binary file usingcomponents\esp8266\ld\esp8266_out.ld
. I need to have it in order to avoid using extra bootloaders which is working with--version=3
.Expected Behavior
Generation binary files should work OK without providing
--version=3
toesptool elf2image
. Like in previous SDK version (v3.2)Actual Behavior
Error during the generating binary from elf file when --version=1.
Steps to reproduce
--version=1
(or without specifying version at all) esptool elf2image command:These problematic segments are described in
components\esp8266\ld\esp8266_out.ld
linker file. It locates.flash.rodata
and.flash.text
toiram0_2_seg
which cause esptool error.The text was updated successfully, but these errors were encountered: