Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LittleFS: Meet bad block on master #11924

Closed
ccli8 opened this issue Nov 22, 2019 · 4 comments
Closed

LittleFS: Meet bad block on master #11924

ccli8 opened this issue Nov 22, 2019 · 4 comments

Comments

@ccli8
Copy link
Contributor

ccli8 commented Nov 22, 2019

Description of defect

Target(s) affected by this defect ?

K64F

Toolchain(s) (name and version) displaying this defect ?

ARM Compiler 6.11

What version of Mbed-os are you using (tag or sha) ?

4b41a6f Merge pull request #11915 from AriParkkila/tests-sendtimeout

mbed-os-example-filesystem

17cbb12 Merge pull request #106 from hugueskamba/hk-iotcore-1318-remove-fp-usage-in-example-projects

How is this defect reproduced ?

Without modification, compile mbed-os-example-filesystem with:

mbed compile -m K64F -t ARMC6

Flash and see error with LittleFS:

--- Mbed OS filesystem example ---
Mounting the filesystem... lfs error:494: Corrupted dir pair at 0 1
lfs error:2222: Invalid superblock at 0 1
Fail :(
No filesystem found, formatting... lfs debug:617: Bad block at 3
lfs debug:617: Bad block at 4
lfs debug:617: Bad block at 5
lfs debug:617: Bad block at 6
lfs debug:617: Bad block at 7
lfs debug:617: Bad block at 8

If I change mbed-os version to mbed-os-5.14.2, LittleFS is OK:

--- Mbed OS filesystem example ---
Mounting the filesystem... OK
Opening "/fs/numbers.txt"... OK
Incrementing numbers (10/10)... OK
Closing "/fs/numbers.txt"... OK
Opening the root directory... OK
root directory:
    .
    ..
    numbers.txt
Closing the root directory... OK
Opening "/fs/numbers.txt"... OK
numbers:
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
Closing "/fs/numbers.txt"... OK
Unmounting... OK
Mbed OS filesystem example done!

@0xc0170
Copy link
Contributor

0xc0170 commented Nov 22, 2019

cc @ARMmbed/mbed-os-storage

@0xc0170 0xc0170 changed the title [LittleFS] Meet bad block on master LittleFS: Meet bad block on master Nov 22, 2019
@ciarmcom
Copy link
Member

Internal Jira reference: https://jira.arm.com/browse/MBOTRIAGE-2380

@kjbracey
Copy link
Contributor

Duplicate of #11879

@kjbracey kjbracey marked this as a duplicate of #11879 Nov 28, 2019
@ccli8
Copy link
Contributor Author

ccli8 commented Dec 4, 2019

According to #11879 (comment), check master and it's OK.

With #11879 open, close this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants