This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

case about littlefs change total size about Area 2 at 0xfa000 on NRF_FLASH_DRV_NAME for 24576 bytes

Hi,

1. I need to change the total free space of this file system:Current size:24576 bytes

3. I made the following adjustment, but it didn't work.

4. How do I modify this file:nrf9160dk_nrf9160_common.dts

5. Is there anything else I need to change?

Attached below is the log

Area 2 at 0xfa000 on NRF_FLASH_DRV_NAME for 24576 bytes

[16:01:09.467]收←◆/lfs mount: 0
/lfs: bsize = 16 ; frsize = 4096 ; blocks = 6 ; bfree = 4
/lfs/boot_count stat: -2
/lfs/boot_count read count 0: 0
/lfs/boot_count seek start: 0
/lfs/boot_count write new boot count 1: 4
/lfs/boot_count close: 0
/lfs opendir: 0
F 4 boot_count
End of files
/lfs unmount: 0

[16:01:10.292]收←◆[00:00:00.211,029] [0m<inf> littlefs: LittleFS version 2.2, disk version 2.0[0m
[00:00:00.211,242] [0m<inf> littlefs: FS at NRF_FLASH_DRV_NAME:0xfa000 is 6 0x1000-byte blocks with 512 cycle[0m
[00:00:00.211,242] [0m<inf> littlefs: sizes: rd 16 ; pr 16 ; ca 64 ; la 32[0m
[00:00:00.211,364] [1;31m<err> littlefs: WEST_TOPDIR/modules/fs/littlefs/lfs.c:997: Corrupted dir pair at {0x0, 0x1}[0m
[00:00:00.211,364] [1;33m<wrn> littlefs: can't mount (LFS -84); formatting[0m
[00:00:00.387,023] [0m<inf> littlefs: /lfs mounted[0m
[00:00:00.415,374] [0m<inf> littlefs: /lfs unmounted[0m

Thank you for all your assistance.
Kind regards,
Peter.Min

Parents Reply Children
No Data
Related