[Ovmsdev] Boot Loop

Tom Parker tom at carrott.org
Sun Jan 21 17:25:00 HKT 2018

The following script reliably puts the ovms into a boot loop:

vfs mkdir /store/events
vfs mkdir /store/events/system.start
vfs rm /store/events/system.start/startmeup
vfs append "log level debug" /store/events/system.start/startmeup
vfs append "server v2 start" /store/events/system.start/startmeup

Press the reset button and it loops with the log below.

It can be fixed by "make erase_flash flash" but this obviously erases 
your config.

If you swap the order of the two commands in the script, or if the 
script only contains on or other of the commands then it doesn't boot loop.

ets Jun  8 2016 00:22:57

configsip: 156795334, SPIWP:0xee
mode:DIO, clock div:2
ho 12 tail 0 room 4
entry 0x40078d14
I (168) ovms_main: Set default logging level for * to WARN

Welcome to the Open Vehicle Monitoring System (OVMS) - Async Console
OVMS > ***ERROR*** A stack overflow in task Housekeeping has been detected.
abort() was called at PC 0x4008a824 on core 1
0x4008a824: vApplicationStackOverflowHook at 

Backtrace: 0x4008a70c:0x3ffcea70 0x4008a80b:0x3ffcea90 
0x4008a824:0x3ffceab0 0x4008791c:0x3ffcead0 0x4008921c:0x3ffceaf0 
0x4008a70c: invoke_abort at 

0x4008a80b: abort at /home/ubuntu/esp/esp-idf/components/esp32/./panic.c:572

0x4008a824: vApplicationStackOverflowHook at 

0x4008791c: vTaskSwitchContext at 

0x4008921c: _frxt_dispatch at 

0x400891d2: _frxt_int_exit at 

ets Jun  8 2016 00:22:57

More information about the OvmsDev mailing list