[Bug]: no littlefs #6329
Replies: 4 comments
-
Same errors when executing native-tft Portduino is starting, VFS root at /home/pj/.portduino/default //\ E S H T /\ S T / C DEBUG | 20:00:42 0 Filesystem files: ERROR | 20:00:42 0 Could not open / read /prefs/nodes.proto ERROR | 20:00:42 0 Could not open / read /prefs/device.proto ERROR | 20:00:42 0 Could not open / read /prefs/config.proto ERROR | 20:00:42 0 Could not open / read /prefs/module.proto ERROR | 20:00:42 0 Could not open / read /prefs/channels.proto ERROR | 20:00:42 0 Could not open / read /prefs/uiconfig.proto |
Beta Was this translation helpful? Give feedback.
-
The errors for |
Beta Was this translation helpful? Give feedback.
-
Roger that! Thanks~ |
Beta Was this translation helpful? Give feedback.
-
Anyhow, still no db.proto [ 534][D][esp32-hal-tinyusb.c:680] tinyusb_enable_interface(): Interface CDC enabled [ 6381][E][vfs_api.cpp:105] open(): /littlefs/prefs/db.proto does not exist, no permits for creation |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Category
Other
Hardware
Other
Firmware Version
2.6.1
Description
Ver. 2.6.1
Env. : Mesh tab 3.5 IPS resistive touch
Status : OK to build and flash the bin file, but has errors when opening littlefs
Tried : create the files in the data folder, ok to build, but failed when uploading
manually copy and flash the built littlefs.bin to 0xC90000, still has errors
Question: how to build the data folder and upload? (Win 11/VSC/PIO/WSL2)
errors as following :
[ 6147][E][vfs_api.cpp:105] open(): /littlefs/messages does not exist, no permits for creation
[ 6337][E][vfs_api.cpp:105] open(): /littlefs/prefs/db.proto does not exist, no permits for creation
[ 6426][E][vfs_api.cpp:105] open(): /littlefs/prefs/nodes.proto does not exist, no permits for creation
[ 6513][E][vfs_api.cpp:105] open(): /littlefs/prefs/device.proto does not exist, no permits for creation
[ 6587][E][vfs_api.cpp:105] open(): /littlefs/prefs/config.proto does not exist, no permits for creation
[ 6599][E][vfs_api.cpp:105] open(): /littlefs/prefs/module.proto does not exist, no permits for creation
[ 6611][E][vfs_api.cpp:105] open(): /littlefs/prefs/channels.proto does not exist, no permits for creation
[ 6623][E][vfs_api.cpp:105] open(): /littlefs/prefs/uiconfig.proto does not exist, no permits for creation
[ 6673][E][vfs_api.cpp:105] open(): /littlefs/prefs/nodes.proto does not exist, no permits for creation
[ 6734][E][vfs_api.cpp:182] remove(): /prefs/nodes.proto does not exists or is directory
[ 6850][E][vfs_api.cpp:105] open(): /littlefs/prefs/config.proto does not exist, no permits for creation
[ 6908][E][vfs_api.cpp:105] open(): /littlefs/prefs/channels.proto does not exist, no permits for creation
[ 6973][E][vfs_api.cpp:105] open(): /littlefs/prefs/device.proto does not exist, no permits for creation
then reboot again, the errors come down to 3:
[ 6343][E][vfs_api.cpp:105] open(): /littlefs/prefs/db.proto does not exist, no permits for creation
[ 6676][E][vfs_api.cpp:105] open(): /littlefs/prefs/module.proto does not exist, no permits for creation
[ 6723][E][vfs_api.cpp:105] open(): /littlefs/prefs/uiconfig.proto does not exist, no permits for creation
then, change the #define FILE_O_READ "r" to #define FILE_O_READ "w" in FSCommon.h
the error come down to one.
[ 6440][E][vfs_api.cpp:105] open(): /littlefs/prefs/db.proto does not exist, no permits for creation
Relevant log output
Beta Was this translation helpful? Give feedback.
All reactions