espressif / esp-rom-elfs

Espressif ROM binaries
https://github.com/espressif/esp-rom-elfs/releases
Apache License 2.0
12 stars 1 forks source link

Problem with esp32s3_rev0_rom.elf in 20241010 pre-release? SHA256 is different than all prior releases. #4

Open gregtoth opened 1 week ago

gregtoth commented 1 week ago

Checklist

How often does this bug occurs?

always

Expected behavior

Since esp32s3_rev0_rom.elf is still marked as “rev0” and internally shows esp32s3-20210327, I’m expecting the SHA256 hash of the elf file to be the same as prior releases.

Actual behavior (suspected bug)

The SHA256 hash of esp32s3_rev0_rom.elf in the 20241010 pre-release is different than the hash in all prior releases of this same file.

Error logs or terminal output

No response

Steps to reproduce the behavior

# 20240305 release for file esp32s3_rev0_rom.elf
$ cd esp-rom-elfs-20240305
$ strings esp32s3_rev0_rom.elf | grep esp32s3
esp32s3-20210327
$ shasum -a 256 esp32s3_rev0_rom.elf
c0ce0f338d1de1bdc6efbef1591779a2a42c1ab7d759d3c6ae8ae63a7dd34cfd  esp32s3_rev0_rom.elf

# 20241010 release for file esp32s3_rev0_rom.elf
$ cd esp-rom-elfs-20241010
$ strings esp32s3_rev0_rom.elf | grep esp32s3
esp32s3-20210327
$ shasum -a 256 esp32s3_rev0_rom.elf
790cd78f9bfa9de5c6967f30d0420070abe36993c5cc5f7469ea07779eb7c34f  esp32s3_rev0_rom.elf

Project release version

20241010 pre-release

System architecture

Intel/AMD 64-bit (modern PC, older Mac)

Operating system

Linux

Operating system version

Ubuntu

Shell

Bash

Additional context

No response

Lapshin commented 1 week ago

@gregtoth , thank you for spotting that so quickly!

It's not a bug. Checksums are different in the release because binaries were stripped with different toolchains.

We will use release https://github.com/espressif/esp-rom-elfs/releases/tag/20241011 which has the same checksums as in the prior release.