littlefs - advantages & disadvantages

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
jedie
Posts: 247
Joined: Fri Jan 29, 2016 12:32 pm
Contact:

Re: littlefs - advantages & disadvantages

Post by jedie » Mon Dec 30, 2019 2:51 pm

jedie wrote:
Fri Dec 06, 2019 2:34 pm

Code: Select all

ESP module with ESP8266 2.2.0-dev(9422289)
MicroPython v1.11-8-g48dcbbe60 on 2019-05-29

flashbdev.size....: 1048576
reserved sectors..: 1
start sector......: 153
sector size.......: 4096
num blocks........: 106
0000 - 000f - eb fe 90 4d 53 44 4f 53 35 2e 30 00 10 01 01 00 - ..MSDOS5.0.....
0010 - 001f - f8 ff ff 00 f0 ff ff 0f 00 ff 0f 00 ff ff ff ff - ................
0020 - 002f - 42 4f 4f 54 20 20 20 20 50 59 20 20 18 00 51 b6 - BOOT....PY....Q.
0030 - 003f - e5 41 54 43 48 44 4f 47 4d 50 59 20 18 00 19 86 - .ATCHDOGMPY....†
0040 - 004f - 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................
0050 - 005f - 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................
0060 - 006f - 4d 04 02 1f 20 82 00 03 00 30 00 00 00 07 07 00 - M....‚...0......
0070 - 007f - 4d 04 02 1f 20 84 28 08 00 00 00 00 00 07 07 00 - M....„(.........
0080 - 008f - 4d 04 02 1f 20 81 04 02 00 30 00 00 00 07 07 00 - M.......0......
0090 - 009f - 4d 04 02 1f 20 81 14 02 00 30 00 00 00 07 07 00 - M.......0......
littlefs filesystem looks like this:

Code: Select all

ESP module with ESP8266 2.2.0-dev(9422289)
MicroPython 1070984 on 2019-12-30

flashbdev.size....: 1048576
reserved sectors..: 1
start sector......: 153
sector size.......: 4096
num blocks........: 106
0000 - 000f - f9 ff ff ff f0 0f ff f7 6c 69 74 74 6c 65 66 73 - ........littlefs
0010 - 001f - fa ff ff ff f0 0f ff f7 6c 69 74 74 6c 65 66 73 - ........littlefs
0020 - 002f - 42 4f 4f 54 20 20 20 20 50 59 20 20 18 00 16 00 - BOOT....PY......
0030 - 003f - 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 - ................
0040 - 004f - 3c 66 69 65 6c 64 73 65 74 3e 3c 6c 65 67 65 6e - <fieldset><legen
Seems that 0x0040 contains already user data...

Post Reply