Comments (7)
Hmm... that sounds bad. The file system logic first tries to mount the file system, and only if it fails it formats it.
https://github.com/eerimoq/simba/blob/master/src/kernel/sys/filesystem.i#L205-L240
Can you provide logs of multiple boots?
from simba.
i use nodemcuv2 board, it was used esp12e
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v3fffa160
~ld
��+P�*��h�*�Dr pp_task_hdl : 3fffa588, prio:13, stack:512
pm_task_hdl : 3fffae58, prio:1, stack:255
tcpip_task_hdl : 3fffa308, prio:10,stack:512
idle_task_hdl : 3fffa3a8,prio:0, stack:255
tim_task_hdl : 3fffc750, prio:2,stack:256
xPortStartScheduler
frc2_timer_task_hdl:3fffcc60, prio:12, stack:512
OS SDK ver: 1.3.0(68c9e7b) compiled @ Nov 2 2015 18:53:21
phy ver: 484, pp ver: 9.9
mode : sta(5c:cf:7f:13:90:8d) + softAP(5e:cf:7f:13:90:8d)
add if0
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
add if1
bcn 100
f r0, Trying to mount the file system.
Failed to mount the file system. Formatting it.
Trying to mount the file system after formatting it.
File system mounted.
Waiting for a connection to WiFi.
then i press reset button
$
$
ets Jan 8 2013,rst cause:2, boot mode:(3,6)
load 0x4010f000, len 1384, room 16
tail 8
chksum 0x2d
csum 0x2d
v3fffa160
~ld
��+P�*��h�*�Dr pp_task_hdl : 3fffa588, prio:13, stack:512
pm_task_hdl : 3fffae58, prio:1, stack:255
tcpip_task_hdl : 3fffa308, prio:10,stack:512
idle_task_hdl : 3fffa3a8,prio:0, stack:255
tim_task_hdl : 3fffc750, prio:2,stack:256
xPortStartScheduler
frc2_timer_task_hdl:3fffcc60, prio:12, stack:512
OS SDK ver: 1.3.0(68c9e7b) compiled @ Nov 2 2015 18:53:21
phy ver: 484, pp ver: 9.9
mode : sta(5c:cf:7f:13:90:8d) + softAP(5e:cf:7f:13:90:8d)
add if0
dhcp server start:(ip:192.168.4.1,mask:255.255.255.0,gw:192.168.4.1)
add if1
bcn 100
Trying to mount the file system.
Failed to mount the file system. Formatting it.
Trying to mount the file system after formatting it.
File system mounted.
Waiting for a connection to WiFi.
from simba.
Please run /kernel/sys/config
and /kernel/sys/info
in the shell. It will print information about the file system configuration.
from simba.
config: sys-config-string=1
assert=1
debug=1
fs-cmd-ds18b20-list=1
fs-cmd-fs-counters-list=1
fs-cmd-fs-counters-reset=1
fs-cmd-fs-filesystems-append=1
fs-cmd-fs-filesystems-list=1
fs-cmd-fs-filesystems-read=1
fs-cmd-fs-filesystems-write=1
fs-cmd-fs-parameters-list=1
fs-cmd-i2c-read=1
fs-cmd-i2c-write=1
fs-cmd-log-list=1
fs-cmd-log-print=1
fs-cmd-log-set-log-mask=1
fs-cmd-network-interface-list=1
fs-cmd-pin-read=1
fs-cmd-pin-set-mode=1
fs-cmd-pin-write=1
fs-cmd-settings-list=1
fs-cmd-settings-read=1
fs-cmd-settings-reset=1
fs-cmd-settings-write=1
fs-cmd-sys-info=1
fs-cmd-sys-uptime=1
fs-cmd-thrd-list=1
fs-cmd-thrd-set-log-mask=1
fs-cmd-usb-device-list=1
fs-cmd-usb-host-list=1
monitor-thread=0
preemptive-scheduler=0
profile-stack=1
settings-area-size=256
shell-command-max=64
shell-history-size=768
shell-minimal=0
shell-prompt="$ "
spiffs=1
start-console=1
start-console-device-index=0
start-console-uart-baudrate=74880
start-console-usb-cdc-control-interface=0
start-console-usb-cdc-endpoint-in=2
start-console-usb-cdc-endpoint-out=3
start-console-usb-cdc-wait-for-connetion=1
start-filesystem=1
start-filesystem-address=0x00300000
start-filesystem-size=0x100000
start-network=0
start-network-interface-wifi-ssid=SSID
start-network-interface-wifi-password=********
start-shell=1
start-shell-prio=30
start-shell-stack-size=1536
std-output-buffer-max=16
system-tick-frequency=100
usb-device-vid=0x2341
usb-device-pid=0x8037
/kernel/sys/info
app: app_name-8.0.0 built 2016-09-22 23:59 CST by wwx.
board: ESP-12E Development Board
mcu: Espressif ESP8266 @ 80 MHz, 82 kB dram, 4 MB flash
from simba.
may be i know why
the last 20k space used to eeprom
so ......
i can post a pull request
from simba.
The fix in the pull request fixes this issue, right?
from simba.
yes, it's woking now~~~~
from simba.
Related Issues (20)
- Missing serial port configuration parameters for shell example HOT 2
- Use external interrupts with esp01 HOT 5
- Upgrade support for esp family HOT 3
- std_read() HOT 3
- Reduce Memory Usage HOT 2
- SoftwareSerial RS485 Arduino.h to Simba.h HOT 3
- STM32F103C8T6 Support
- Not all ports have nvm_port_vwrite HOT 1
- Fuzzy testing brainstorming
- New user, unable to compile blink in Arduino ESP12E
- Pro Micro blink example not working HOT 2
- Uploading SPIFFS to ESP8266 HOT 1
- Unable to build with DHT from PlatformIO HOT 2
- Is there missing struct initialization? (http_websocket_client_connect) HOT 2
- Timer timeouts in threads are broken. HOT 2
- Vendor link on platformio broken HOT 1
- Request: Comparison Chart HOT 1
- nanoatmega328new board should be mapped to arduino nano HOT 1
- PIN_INPUT_PULL_UP has been deleted HOT 5
- Question about pure MCU work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from simba.