adafruit / Adafruit_Wippersnapper_Arduino

WipperSnapper is a firmware for creating no-code IoT electronics projects.
https://io.adafruit.com/welcome
MIT License
29 stars 44 forks source link

C6 build in CI causes boot loop with "ets_loader.c 67" message. Local arduino-cli builds work fine. (Both with BSP 3.0.5 + 3.1.0-rc.1) #636

Open tyeth opened 1 week ago

tyeth commented 1 week ago

Adafruit Feather C6 builds from CI jobs are causing a boot loop, with a repeating message of:

---- Reopened serial port /dev/tty.usbmodem142101 ----
15:12:17:072 -> ESP-ROM:esp32c6-20220919
15:12:17:072 -> Build:Sep 19 2022
15:12:17:073 -> rst:0x7 (TG0_WDT_HPSYS),boot:0xb (SPI_FAST_FLASH_BOOT)
15:12:17:073 -> Saved PC:0x4001a9f4
15:12:17:073 -> SPIWP:0xee
15:12:17:073 -> mode:QIO, clock div:2
15:12:17:075 -> load:0x4086c410,len:0xcf8
15:12:17:085 -> ets_loader.c 67 
15:12:17:721 -> ESP-ROM:esp32c6-20220919
15:12:17:721 -> Build:Sep 19 2022
15:12:17:722 -> rst:0x7 (TG0_WDT_HPSYS),boot:0xb (SPI_FAST_FLASH_BOOT)
15:12:17:722 -> Saved PC:0x4001a9f4
15:12:17:723 -> SPIWP:0xee
15:12:17:723 -> mode:QIO, clock div:2
15:12:17:725 -> load:0x4086c410,len:0xcf8
15:12:17:727 -> ets_loader.c 67 
15:12:18:371 -> ESP-ROM:esp32c6-20220919
15:12:18:371 -> Build:Sep 19 2022
15:12:18:372 -> rst:0x7 (TG0_WDT_HPSYS),boot:0xb (SPI_FAST_FLASH_BOOT)
15:12:18:372 -> Saved PC:0x4001a9f4
15:12:18:373 -> SPIWP:0xee
15:12:18:373 -> mode:QIO, clock div:2
15:12:18:376 -> load:0x4086c410,len:0xcf8
15:12:18:377 -> ets_loader.c 67 
---- Closed serial port /dev/tty.usbmodem142101 due to disconnection from the machine ----
---- Reopened serial port /dev/tty.usbmodem142101 ----
15:12:19:718 -> ESP-ROM:esp32c6-20220919
15:12:19:718 -> Build:Sep 19 2022
15:12:19:719 -> rst:0x7 (TG0_WDT_HPSYS),boot:0xb (SPI_FAST_FLASH_BOOT)
15:12:19:719 -> Saved PC:0x4001a9f4
15:12:19:720 -> SPIWP:0xee
15:12:19:720 -> mode:QIO, clock div:2
15:12:19:723 -> load:0x4086c410,len:0xcf8
15:12:19:724 -> ets_loader.c 67 
15:12:20:368 -> ESP-ROM:esp32c6-20220919
15:12:20:374 -> Build:Sep 19 2022
15:12:20:374 -> rst:0x7 (TG0_WDT_HPSYS),boot:0xb (SPI_FAST_FLASH_BOOT)
15:12:20:374 -> Saved PC:0x4001a9f4
15:12:20:374 -> SPIWP:0xee
15:12:20:374 -> mode:QIO, clock div:2
15:12:20:374 -> load:0x4086c410,len:0xcf8
15:12:20:374 -> ets_loader.c 67 
15:12:21:018 -> ESP-ROM:esp32c6-20220919
15:12:21:018 -> Build:Sep 19 2022
15:12:21:019 -> rst:0x7 (TG0_WDT_HPSYS),boot:0xb (SPI_FAST_FLASH_BOOT)
15:12:21:019 -> Saved PC:0x4001a9f4
15:12:21:020 -> SPIWP:0xee
15:12:21:021 -> mode:QIO, clock div:2
15:12:21:022 -> load:0x4086c410,len:0xcf8
15:12:21:024 -> ets_loader.c 67 
---- Closed serial port /dev/tty.usbmodem142101 due to disconnection from the machine ----

Attempted switching DIO/QIO flash mode and various other things. Local builds work / flash fine, but CI builds don't work.

tyeth commented 1 week ago

Tagging @brentru to take a look later

tyeth commented 1 week ago

Related discussion (nothing so far): https://github.com/espressif/arduino-esp32/discussions/10418