Commit Graph

10 Commits

Author SHA1 Message Date
Lucjan Bryndza
436c2ed3cc [EGD-5609] Fix lfs partition erase size bug
Storing LFS erase size in the boot byte is not possible
because Linux kernel is unable to detect the partitions
after change boot bytes to values other than 0x80 or 0x00

In this patch LFS_BLOCK_SIZE is moved to the second
MBR bootcode AREA
2021-02-17 17:08:18 +01:00
Lucjan Bryndza
af960b6fac [EGD-5146] Add read LFS block size from part
Add littlefs block size from partition bootable offset
2021-02-17 17:07:00 +01:00
Lucjan Bryndza
9269d9c72e [EGD-5737] Merge master into experimental
Keep experimental up to date with changes from master
2021-02-17 17:06:50 +01:00
Wiktor S. Ovalle Correa
dca37deb75 [EGD-5297] Fix Release build on linux
Some minor warnings were preventing us from completing
Release build of Linux emulator.
2021-02-17 17:06:49 +01:00
Lucjan Bryndza
f7fef9937f [EGD-5259] Fix littlefs format for block devices
Currently genlittlefs is unable to format block devices
currently it works only on the file images.
This patch resolves problem with bd format.
2021-02-17 17:05:32 +01:00
Lucjan Bryndza
ad4fba1f58 [EGD-5135] Add new lfs part scheme in emulator
Add new littlefs filesystem user partion in the fat database
2021-02-17 17:02:15 +01:00
Borys Jelenski
fdfe1f5369 [EGD-5279] Add building genlittlefs in RT1051 config
Additionally, some uninitialized variables in genlittlefs were fixed
in order to build it without warnings
2021-01-20 11:04:48 +01:00
Lucjan Bryndza
f980abd28a [EGD-4758] Add lfs object state sync
Add lfs object state sync.
2020-12-17 18:20:13 +01:00
Lucjan Bryndza
0f3a622ad2 [EGD-4758] Fix includes in littlefs
Fix includes in the littlefs
2020-12-17 18:20:13 +01:00
Lucjan Bryndza
58cc0a1847 [EGD-4760] littlefs host tools (#1161)
* [EGD-4760] Remove littlefs sumbmodule

* [EGD-4760] littlefs submodule in new location

* [EGD-4760] Littlefs host tools inital build

* [EGD-4760] Find fdisk

* [EGD-4760] LFS Cmake file changed

* [EGD-4760] GenLittlefs work in progress

* [EGD-4760] Parse args in the tool

* [EGD-4760] Inital version of genlittlefs

* [EGD-4760] genlittle fs seams to be working

It is a first working release for genlittle fs

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>

* [EGD-4760] genlittle Speed improvement

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>

* [EGD-4760] genlittlefs verbose flag

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>

* [EGD-4760] genlittlefs fix file support

Signed-off-by: Lucjan Bryndza <lucjan.bryndza@mudita.com>

* [EGD-4760] Check if it is a littlefs

* [EGD-4760] Genlittle fs image

* [EGD-4760] Gen image fixed

* [EGD-4760] Final version of genlittlefs

* [EGD-4760] Rename littlefs rootdir.

* [EGD-4760] Code review round #1 fixes
2020-12-15 12:37:59 +01:00