Skip to content

Boot freezes reproducably after switching primary disk back to SD card after update to 0.9.13. #334

Description

@dreirund

Describe the bug

After #333, I switched "primary disk" to "SD card" again. After the switch, device reboots.

Reboot is stuck on boot screen. Last lines:

[ ok ] Message cache
[ ok ] WiFi profiles
Web interface off

             Swipe up for earlier lines

Have to force power off.

Also swiping does not work -- interface seems frozen.

Also reboot does not help -- keeps stuck at next reboots as well.

Which device are you using

LilyGO T-Deck Plus

Which Firmware are you using

v0.9.13

Serial log (includes log from Launcher)

App menu item: label=meshco name=meshcoreterm
App menu item: label=wadame name=WADAMESH BETA
App menu item: label=meshpu name=MeshPunk
App menu item: label=ultrat name=Ultra-TDeck-SD-v12.0
SDCARD mounted successfully

Settings stored in NVS successfully

Press the button to enter the Launcher!

Press the button to enter the Launcher!

Press the button to enter the Launcher!

ERR unknown command, type 'help' for command list

Press the button to enter the Launcher!

ERR unknown command, type 'help' for command list

Press the button to enter the Launcher!

ERR unknown command, type 'help' for command list

Press the button to enter the Launcher!

ERR unknown command, type 'help' for command list

ERR unknown command, type 'help' for command list

Press the button to enter the Launcher!

Press the button to enter the Launcher!

ERR unknown command, type 'help' for command list

Press the button to enter the Launcher!

ERR unknown command, type 'help' for command list

Press the button to enter the Launcher!

App menu item: label=meshco name=meshcoreterm
App menu item: label=wadame name=WADAMESH BETA
App menu item: label=meshpu name=MeshPunk
App menu item: label=ultrat name=Ultra-TDeck-SD-v12.0
ERR unknown command, type 'help' for command list

ESP-ROM:esp32s3-20210327

Build:Mar 27 2021

rst:0xc (RTC_SW_CPU_RST),boot:0x8 (SPI_FAST_FLASH_BOOT)

Saved PC:0x4037afa6

SPIWP:0xee

mode:DIO, clock div:1

load:0x3fce2820,len:0x11e4

load:0x403c8700,len:0xc74

load:0x403cb700,len:0x3008

entry 0x403c88c0

[boot] Turned on because (1= POWERON_RESET or 5==ESP_RST_DEEPSLEEP) (Other= Probably forced by launcher)--> 12

[BOOT_PHASE] setup-enter t=775
[TDeckPlus] board.begin()

[TDeckPlus] PERIPH_PWR=10 USER_BTN=0
[TDeckPlus] I2C SDA=18 SCL=8
[TDeckPlus] GPS RX=44 TX=43
[TDeckPlus] LoRa NSS=9 DIO1=45 RST=17 BUSY=13
E (313) gpio: gpio_isr_handler_remove(482): GPIO isr service is not installed, call gpio_install_isr_service() first

E (314) gpio: gpio_isr_handler_remove(482): GPIO isr service is not installed, call gpio_install_isr_service() first

E (323) gpio: gpio_isr_handler_remove(482): GPIO isr service is not installed, call gpio_install_isr_service() first

E (333) gpio: gpio_isr_handler_remove(482): GPIO isr service is not installed, call gpio_install_isr_service() first

E (343) gpio: gpio_isr_handler_remove(482): GPIO isr service is not installed, call gpio_install_isr_service() first

[BOOT_PHASE] board-begin dt=41
[BOOT_PHASE] radio-ready dt=522
[BOOT] SPIFFS begin ok=1 formatOnFail=1 total=2110KB used=0KB free=2109KB
[BOOT_PHASE] storage-ready dt=2895
[BOOT] SD-primary ready attempt=1
E (4487) gpio: gpio_install_isr_service(450): GPIO isr service already installed

[CONTACT_LOAD] source=none total=0 primary=SD
[CONTACT_LOAD] empty-store warning action=manual-restore

[CHANNEL_LOAD] source=/channels2 total=1 primary=SD
[MESH_LOAD] contacts=0 channels=1 sd_primary=1 degraded=0 contacts_empty=1 action=manual-restore-if-unexpected
[Companion] companionTransportInit()

[Companion] device_name=MeshCore-9F2E2B93
[Companion] node_name=9F2E2B93
[Companion] companionTransportInit() done

[BOOT_PHASE] transport-ready dt=5403
[BOOT_PHASE] mesh-interface-ready dt=5442
[BOOT_PHASE] sensors-ready dt=8339
[BOOT_PHASE] gps-prefs-ready dt=8378
[BOOT_TRACE] phase=ui-task-begin enter t=9231 since_start=0
[BOOT_PHASE] ui-task-begin t=9231
[BOOT_TRACE] phase=display-onFilesystemReady enter t=9231 since_start=0
[BOOT_PHASE] ui-fs-ready t=9231
[BOOT_TRACE] phase=display-onFilesystemReady ok dt=0 since_start=0
[BOOT_TRACE] phase=ui-task-begin ok dt=1 since_start=1
[BOOT_PHASE] ui-msg-rings cap=512 psram=1 webui=0 budget=7444155
[BOOT_PHASE] map-tile-cache slots=16 slot_kb=48 total_kb=768
[BOOT_PHASE] ui-mem-init-done t=9355
[BOOT_TRACE] phase=prefs-primary-detect enter t=9355 since_start=124
[BOOT_TRACE] phase=primary-store-from-sd enter t=9356
[BOOT_TRACE] phase=primary-store-from-sd ok source=local-sd store=1 dt=13
[BOOT_TRACE] phase=prefs-primary-detect ok dt=15 since_start=139 detail=store=1 from_sd=1
[BOOT_TRACE] phase=prefs-nvs-read enter t=9410 since_start=179
[BOOT_TRACE] phase=prefs-nvs-read ok dt=0 since_start=179 detail=skipped-mode=SD
[BOOT_TRACE] phase=region-load-initial enter t=9410 since_start=179
[BOOT_PHASE] ui-nvs-read-skip mode=SD t=9410
[BOOT_PHASE] ui-rgn-load-skip mode=SD t=9410
[BOOT_TRACE] phase=region-load-initial ok dt=0 since_start=179 detail=skipped-mode=SD
[BOOT_TRACE] phase=sync-version-load enter t=9410 since_start=179
[BOOT_TRACE] phase=sync-version-load ok dt=0 since_start=179 detail=skipped-mode=SD
[BOOT_TRACE] phase=sd-sync-version-read enter t=9410 since_start=179
[BOOT_TRACE] phase=getSDSyncVersion enter t=9410
[BOOT_TRACE] phase=getSDSyncVersion ok backend=local-sd value=1190 dt=14
[BOOT_TRACE] phase=sd-sync-version-read ok dt=14 since_start=193
[BOOT_TRACE] phase=prefs-load-sd enter t=9424 since_start=193
[BOOT_TRACE] phase=loadPrefsFromSD enter t=9424
[SD_PREFS_RGN] load: rgn_cnt_in=13 regions_loaded=13 [0]=de [1]=de-ost [2]=de-sn [3]=de-sued [4]=de-mitte [5]=de-west [6]=de-bebb [7]=de-be [8]=de-sn-dd [9]=de-bb [10]=de-nord [11]=de-sn-vvo [12]=europe | chs=8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
apply_sync_prios force=1
[BOOT_TRACE] phase=prefs-load-sd ok dt=40 since_start=233
[BOOT_PREFS_SOURCE] mode=SD source=SD sd_ver=1190 sync=1190 loaded_from_sd=1
[BOOT_TRACE] phase=prefs-nvs-write enter t=9504 since_start=273
[BOOT_TRACE] phase=prefs-nvs-write ok dt=0 since_start=273 detail=skipped-mode=SD
[BOOT_TRACE] phase=region-save-initial enter t=9504 since_start=273
[BOOT_PHASE] ui-nvs-write-skip mode=SD t=9504
[BOOT_PHASE] ui-rgn-save-skip mode=SD t=9504
[BOOT_TRACE] phase=region-save-initial ok dt=0 since_start=273 detail=skipped-mode=SD
[BOOT_TRACE] phase=prefs-save-sd enter t=9504 since_start=273
[BOOT_TRACE] phase=savePrefsToSD enter t=9505
[SD_PREFS_RGN] save: rgn_cnt=13 [0]=de [1]=de-ost [2]=de-sn [3]=de-sued [4]=de-mitte [5]=de-west [6]=de-bebb [7]=de-be [8]=de-sn-dd [9]=de-bb [10]=de-nord [11]=de-sn-vvo [12]=europe | chs=8,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0
[BOOT_TRACE] phase=savePrefsToSD ok backend=local-sd dt=353
[BOOT_TRACE] phase=prefs-save-sd ok dt=354 since_start=627
[BOOT_PHASE] ui-prefs-sd-done t=9858
[BOOT_TRACE] phase=clipboard-load-sd enter t=9858 since_start=627
[BOOT_TRACE] phase=clipboard-load-sd ok dt=4 since_start=631
[BOOT_PHASE] ui-clipboard-done t=9862
[BOOT_TRACE] phase=ui-data-load-sd enter t=9901 since_start=670
[BOOT_PHASE] ui-sd-load-start t=9902
[BOOT_PHASE] ui-sd-load-dt=36
[BOOT_TRACE] phase=ui-data-load-sd ok dt=37 since_start=707
[BOOT_TRACE] phase=wifi-reload-storage enter t=9977 since_start=746
[BOOT_TRACE] phase=wifi-reload-storage ok dt=491 since_start=1237
[BOOT_TRACE] phase=webui-begin enter t=10507 since_start=1276
[BOOT_TRACE] phase=webui-begin ok dt=0 since_start=1276 detail=enabled=0
[TILE] mbedtls calloc override ok (rc=0)
[BOOT_TRACE] phase=tile-cache-quota-boot enter t=10549 since_start=1318

(And then stuck there.)

Regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions