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

nrf54l15 write block size #1580

Merged
merged 1 commit into from
Mar 21, 2024

Conversation

michalek-no
Copy link
Contributor

write-block-size correction.

Copy link
Contributor

@gchwier gchwier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested with smp_svr sample with enabled bluetooth.

Before change I received on the shell:
[00:00:00.001,283] <err> littlefs: WEST_TOPDIR/modules/fs/littlefs/lfs.c:1234: Corrupted dir pair at {0}
[00:00:00.001,290] <wrn> littlefs: can't mount (LFS -84); formatting

With that fix there is no warning

@gchwier
Copy link
Contributor

gchwier commented Mar 19, 2024

shouldn't it go first to the Upstream repo?

@gchwier gchwier self-requested a review March 19, 2024 11:43
@michalek-no
Copy link
Contributor Author

shouldn't it go first to the Upstream repo?

zephyrproject-rtos/zephyr#70412

@gchwier
Copy link
Contributor

gchwier commented Mar 19, 2024

Tested with smp_svr sample with enabled bluetooth.

Before change I received on the shell:
[00:00:00.001,283] <err> littlefs: WEST_TOPDIR/modules/fs/littlefs/lfs.c:1234: Corrupted dir pair at {0}
[00:00:00.001,290] <wrn> littlefs: can't mount (LFS -84); formatting

With that fix there is no warning

This issue is probable not related with that change. It works the same with write-block-size = <1>. Warning appears after first flashing, after reset there is no warning.

@de-nordic
Copy link
Contributor

This issue is probable not related with that change. It works the same with write-block-size = <1>. Warning appears after first flashing, after reset there is no warning.

This is normal as it fails to recognize LIttleFS in designated storage partition so makes a new one.

write-block-size correction.

Upstream PR: zephyrproject-rtos/zephyr#70412

Signed-off-by: Mateusz Michalek <[email protected]>
@michalek-no michalek-no force-pushed the fix-l15-write-block-size branch from 7051f5a to 702cad3 Compare March 20, 2024 13:23
@nordicjm nordicjm merged commit 78c194b into nrfconnect:main Mar 21, 2024
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants