Merge branch 'EGD-5737-merge-master-to-exp-lbr-fix'
[EGD-5737] Fix filesystem unit tests
Remove old VFS and utils::filesystem calls
Update unittest lists
[EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
[EGD-4495] Check partitions during registering new disk image
Check partitions validity when registering disk.
Add unittest and test disk image generation.
[EGD-4761] Add unit tests for littlefs and dual-mount
Additionally, old tests have been refactored for consistency
and readability. Also, files were added to littlefs test image.
[EGD-5350] Add increase lfs cluster size
Incrase LFS clustrer size and cache bitmap improve
the FS free blocks scan time, because LFS don't have
free block bitmap.
[EGD-5020] Add autodetect filesystem
Add support for autodetect filesystem in the fs core
[EGD-4498] Add unit test for remount RO
Add unit test for remount filesystem in ro mode
Some minor fixes
[EGD-4498] Fix vfscore-ut
Some paths are no longer available in the fat fs
this patch fix this issue.
[EGD-5182] Fix UT module vfs
Minor fixes to adjust vfs disk tests to the newer PurePhone image.
[EGD-4763] Fix Unit Tests
First attempt, move vfs to be init in tests
[EGD-5415] Fix missing assets dep for lfstest.img
Addionally, the genlfstestimg.sh script now accepts files to include
in the image as arguments
[EGD-5074] Add native fscore for emulator
This is a first commit when the emulator uses
the new filesystem core.
libiosyscall library read environment variable
IOSYSCALS_REDIRECT_TO_IMAGE
When IOSYSCALS_REDIRECT_TO_IMAGE=1 all syscalls
are redirected to the image. If env is not defined
or set to 0 only paths are translated and redirected
to the native linux syscalls
[EGD-5074] Remove free rtox library
Remove unneeded fat library from the freertos
[EGD-5074] Fix freertos mutex as unique
Add freertos mutex in the unique_ptr for avoid inclusion of the
freertos.h
[EGD-5074] Remove frertos-fat submodule
Remove uneeded fat freertos submodule
[EGD-5074] Add handle types in the vfs_subsystem
Add handle types in the vfs subsystem
[EGD-5074] Add submodule for hashmap
Add submodule for hashmap
[EGD-5074] Add support for dirent
Add support for dirent for new filesystem
[EGD-5074] Fix mutex class
Remove mutex in header
[EGD-5074] Remove old vfs from file indexer
File indexer should be fixed for use new vfs
[EGD-5074] Fix unit test vfs
Remove unit tests vfs for clas
[EGD-5074] Add Posix implementation with new fs
Add posix implementation with new fs core
[EGD-5074] Fix stdio syscalls
Fix all stdio syscalls
[EGD-5074] Fix iosyscalls scan family
Fix iosyscalls scan family
[EGD-5074] Fix native API
Fix native api
Work in progress some minor fixes
[EGD-5074] Fix lib stdio
Fix lib stdio
[EGD-5074] fix lseek return value in fat driver
Fix lseek return value in the fat driver
[EGD-5074] Unit test fix
Unittest fixes
[EGD-5074] Emulator syscalls
Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>
[EGD-5018] Add umount all filesystem
Add umount all mounted filesystem. This function
can be used in the cleanup vfs core stage
[EGD-4754] Add automount default filesystems
Default automount and parse partitions according to
their configurations using new vfs core. Currently
old (without lfs) and new (with lfs) part schemes are supported
[EGD-4502] Fix and remove old vfs boot
Remove old vfs bootconfig from the vfs which
will be removed in the later commit
[EGD-4757] Add unit test for new filesystem
Due to vfs deprecation new filesystem needs
unit tests to verify it's behaviour.This PR
covers core filesystem operations.
[EGD-4758] Fix littlefs directory iterator
Directory iterator now seams to be working
[EGD-4758] Add unit tests for littlefs
Some tests passed but it needs some work...
[EGD-4758] Fix littlefs boundary check
Currently littlefs boudary is checked in the wrong place
this commit fix this issue