[GH-ISSUE #465] SHA-256 comparison failed: for ESP32-C6 #3604

Closed
opened 2026-03-20 23:07:19 +01:00 by sascha_hemi · 0 comments
Owner

Originally created by @Derek-K on GitHub (May 18, 2025).
Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/465

Describe the bug
While troubleshooting other issues. Noticed the following message when C6 rebooted

SHA-256 comparison failed:
Calculated: 8bb43836d0bd4a3b86bfbe09db2ec22b5d50360b10bcb10ade6e4300e0fb4f70
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...

To Reproduce
Steps to reproduce the behavior:
Flashed C6 from Web via the setting -> Update GUI

Expected behavior
Expected value should be the same as calculated

Screenshots

ESP-ROM:esp32c6-20220919
Build:Sep 19 2022
rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT)
SPIWP:0xee
mode:DIO, clock div:2
load:0x4086c410,len:0xec8
load:0x4086e610,len:0x2ebc
load:0x40875728,len:0x1940
SHA-256 comparison failed:
Calculated: 8bb43836d0bd4a3b86bfbe09db2ec22b5d50360b10bcb10ade6e4300e0fb4f70
Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff
Attempting to boot anyway...
entry 0x4086c410
I (42) boot: ESP-IDF v5.1.1 2nd stage bootloader
I (42) boot: compile time Oct  1 2023 20:23:29
I (43) boot: chip revision: v0.0
I (45) qio_mode: Enabling default flash chip QIO
I (50) boot.esp32c6: SPI Speed      : 80MHz
I (55) boot.esp32c6: SPI Mode       : QIO
I (60) boot.esp32c6: SPI Flash Size : 4MB
I (64) boot: Enabling RNG early entropy source...
I (70) boot: Partition Table:
I (73) boot: ## Label            Usage          Type ST Offset   Length
I (81) boot:  0 nvs              WiFi data        01 02 00009000 00006000
I (88) boot:  1 factory          factory app      00 00 00010000 00100000
I (96) boot:  2 littlefs         Unknown data     01 82 00110000 002f0000
I (103) boot: End of partition table
I (107) esp_image: segment 0: paddr=00010020 vaddr=42030020 size=0e16ch ( 57708) map
I (127) esp_image: segment 1: paddr=0001e194 vaddr=40800000 size=01e84h (  7812) load
I (130) esp_image: segment 2: paddr=00020020 vaddr=42000020 size=28b24h (166692) map
I (166) esp_image: segment 3: paddr=00048b4c vaddr=40801e84 size=0f294h ( 62100) load
I (181) esp_image: segment 4: paddr=00057de8 vaddr=40811120 size=021cch (  8652) load
I (187) boot: Loaded app from partition at offset 0x10000
I (188) boot: Disabling RNG early entropy source...
I (201) cpu_start: Unicore app
I (210) cpu_start: Pro cpu start user code
I (210) cpu_start: cpu freq: 160000000 Hz
I (210) app_init: Application information:
I (213) app_init: Project name:     OpenEPaperLink_esp32_C6
I (219) app_init: App version:      2.75-12-gbb361850
I (225) app_init: Compile time:     Dec 17 2024 07:24:41
I (231) app_init: ELF file SHA256:  0e9192c86...
I (236) app_init: ESP-IDF:          v5.4-dev-1030-g0479494e7a
I (243) efuse_init: Min chip rev:     v0.0
I (247) efuse_init: Max chip rev:     v0.99
I (252) efuse_init: Chip rev:         v0.0
I (257) heap_init: Initializing. RAM available for dynamic allocation:
I (264) heap_init: At 40819E20 len 000627F0 (393 KiB): RAM
I (271) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM
I (277) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM
I (284) spi_flash: detected chip: generic
I (288) spi_flash: flash io: qio
I (292) sleep: Configure to isolate all GPIO pins in sleep state
I (298) sleep: Enable automatic switching of GPIO sleep configuration
I (305) coexist: coex firmware version: 66616e60c
I (333) coexist: coexist rom version 5b8dcfa
I (334) main_task: Started on CPU0
I (334) main_task: Calling app_main()
I (334) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup:  0| Pulldown: 0| Intr:0
I (344) gpio: GPIO[23]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup:  0| Pulldown: 0| Intr:0
I (354) uart: queue free spaces: 20
I (354) phy_init: phy_version 290,81efd96,May  8 2024,10:42:13
I (394) phy: libbtbb version: f97b181, May  8 2024, 10:42:29
I (694) RADIO: Receiver ready, panId=0x4447, channel=25, long=78:ce:44:fe:ff:ca:4c:40, short=fffe
I (694) gpio: GPIO[7]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup:1| Pulldown: 0| Intr:0
I (694) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup:1| Pulldown: 0| Intr:0
I (704) gpio: GPIO[7]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup:1| Pulldown: 0| Intr:0
I (714) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup:1| Pulldown: 0| Intr:0
I (724) MAIN: CC1101 NOT detected.
I (724) MAIN: C6 ready!
.

Additional context
Not a big deal.. just curious, that's all

Originally created by @Derek-K on GitHub (May 18, 2025). Original GitHub issue: https://github.com/OpenEPaperLink/OpenEPaperLink/issues/465 **Describe the bug** While troubleshooting other issues. Noticed the following message when C6 rebooted ``` SHA-256 comparison failed: Calculated: 8bb43836d0bd4a3b86bfbe09db2ec22b5d50360b10bcb10ade6e4300e0fb4f70 Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Attempting to boot anyway... ``` **To Reproduce** Steps to reproduce the behavior: Flashed C6 from Web via the setting -> Update GUI **Expected behavior** Expected value should be the same as calculated **Screenshots** ``` ESP-ROM:esp32c6-20220919 Build:Sep 19 2022 rst:0x1 (POWERON),boot:0xd (SPI_FAST_FLASH_BOOT) SPIWP:0xee mode:DIO, clock div:2 load:0x4086c410,len:0xec8 load:0x4086e610,len:0x2ebc load:0x40875728,len:0x1940 SHA-256 comparison failed: Calculated: 8bb43836d0bd4a3b86bfbe09db2ec22b5d50360b10bcb10ade6e4300e0fb4f70 Expected: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff Attempting to boot anyway... entry 0x4086c410 I (42) boot: ESP-IDF v5.1.1 2nd stage bootloader I (42) boot: compile time Oct 1 2023 20:23:29 I (43) boot: chip revision: v0.0 I (45) qio_mode: Enabling default flash chip QIO I (50) boot.esp32c6: SPI Speed : 80MHz I (55) boot.esp32c6: SPI Mode : QIO I (60) boot.esp32c6: SPI Flash Size : 4MB I (64) boot: Enabling RNG early entropy source... I (70) boot: Partition Table: I (73) boot: ## Label Usage Type ST Offset Length I (81) boot: 0 nvs WiFi data 01 02 00009000 00006000 I (88) boot: 1 factory factory app 00 00 00010000 00100000 I (96) boot: 2 littlefs Unknown data 01 82 00110000 002f0000 I (103) boot: End of partition table I (107) esp_image: segment 0: paddr=00010020 vaddr=42030020 size=0e16ch ( 57708) map I (127) esp_image: segment 1: paddr=0001e194 vaddr=40800000 size=01e84h ( 7812) load I (130) esp_image: segment 2: paddr=00020020 vaddr=42000020 size=28b24h (166692) map I (166) esp_image: segment 3: paddr=00048b4c vaddr=40801e84 size=0f294h ( 62100) load I (181) esp_image: segment 4: paddr=00057de8 vaddr=40811120 size=021cch ( 8652) load I (187) boot: Loaded app from partition at offset 0x10000 I (188) boot: Disabling RNG early entropy source... I (201) cpu_start: Unicore app I (210) cpu_start: Pro cpu start user code I (210) cpu_start: cpu freq: 160000000 Hz I (210) app_init: Application information: I (213) app_init: Project name: OpenEPaperLink_esp32_C6 I (219) app_init: App version: 2.75-12-gbb361850 I (225) app_init: Compile time: Dec 17 2024 07:24:41 I (231) app_init: ELF file SHA256: 0e9192c86... I (236) app_init: ESP-IDF: v5.4-dev-1030-g0479494e7a I (243) efuse_init: Min chip rev: v0.0 I (247) efuse_init: Max chip rev: v0.99 I (252) efuse_init: Chip rev: v0.0 I (257) heap_init: Initializing. RAM available for dynamic allocation: I (264) heap_init: At 40819E20 len 000627F0 (393 KiB): RAM I (271) heap_init: At 4087C610 len 00002F54 (11 KiB): RAM I (277) heap_init: At 50000000 len 00003FE8 (15 KiB): RTCRAM I (284) spi_flash: detected chip: generic I (288) spi_flash: flash io: qio I (292) sleep: Configure to isolate all GPIO pins in sleep state I (298) sleep: Enable automatic switching of GPIO sleep configuration I (305) coexist: coex firmware version: 66616e60c I (333) coexist: coexist rom version 5b8dcfa I (334) main_task: Started on CPU0 I (334) main_task: Calling app_main() I (334) gpio: GPIO[22]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (344) gpio: GPIO[23]| InputEn: 0| OutputEn: 1| OpenDrain: 0| Pullup: 0| Pulldown: 0| Intr:0 I (354) uart: queue free spaces: 20 I (354) phy_init: phy_version 290,81efd96,May 8 2024,10:42:13 I (394) phy: libbtbb version: f97b181, May 8 2024, 10:42:29 I (694) RADIO: Receiver ready, panId=0x4447, channel=25, long=78:ce:44:fe:ff:ca:4c:40, short=fffe I (694) gpio: GPIO[7]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup:1| Pulldown: 0| Intr:0 I (694) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup:1| Pulldown: 0| Intr:0 I (704) gpio: GPIO[7]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup:1| Pulldown: 0| Intr:0 I (714) gpio: GPIO[4]| InputEn: 0| OutputEn: 0| OpenDrain: 0| Pullup:1| Pulldown: 0| Intr:0 I (724) MAIN: CC1101 NOT detected. I (724) MAIN: C6 ready! . ``` **Additional context** Not a big deal.. just curious, that's all
sascha_hemi added the bug label 2026-03-20 23:07:19 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/OpenEPaperLink#3604