Coder Social home page Coder Social logo

Comments (7)

eerimoq avatar eerimoq commented on July 20, 2024

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.

wuwx avatar wuwx commented on July 20, 2024

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.

eerimoq avatar eerimoq commented on July 20, 2024

Please run /kernel/sys/config and /kernel/sys/info in the shell. It will print information about the file system configuration.

from simba.

wuwx avatar wuwx commented on July 20, 2024
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.

wuwx avatar wuwx commented on July 20, 2024

may be i know why
the last 20k space used to eeprom
so ......
i can post a pull request

from simba.

eerimoq avatar eerimoq commented on July 20, 2024

The fix in the pull request fixes this issue, right?

from simba.

wuwx avatar wuwx commented on July 20, 2024

yes, it's woking now~~~~

from simba.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.