|
0bc9c6fc7a
|
mufs: add mufs_abspath() to sanitise paths
|
2017-06-11 16:26:48 +02:00 |
|
|
d287d7616a
|
mufs: fix an issue when determining the va of a tree object
|
2017-06-09 17:13:51 +02:00 |
|
|
3b25180038
|
mufs: properly determine the va of a tree object
|
2017-06-09 16:55:32 +02:00 |
|
|
f1e6f8f278
|
mufs: update path resolution code in mufs_mkdir()
|
2017-06-09 16:36:11 +02:00 |
|
|
0e9474d377
|
mufs: add support for path resolution
|
2017-06-09 16:29:37 +02:00 |
|
|
e18107d2d5
|
mufs: add support for directories
|
2017-06-09 14:38:31 +02:00 |
|
|
99e2229bbb
|
mufs: clean up code by embedding struct mufs into struct mufs_tree
|
2017-06-09 13:35:37 +02:00 |
|
|
7212269675
|
mufs: write tree updates to disk
|
2017-06-09 13:18:09 +02:00 |
|
|
250c9bf200
|
mufs: do not memset during mufs_write()
|
2017-05-29 19:16:17 +02:00 |
|
|
45736a5e9f
|
ftl: simplify calculations in ftl_read()/ftl_write() and remove an out-dated check
|
2017-05-29 18:58:10 +02:00 |
|
|
849fc17eb0
|
mufs: keep track of read/written bytes in mufs_read()/mufs_write()
|
2017-05-29 18:56:34 +02:00 |
|
|
abe656c640
|
mufs: allocate a block for the root, if no root has been allocated in mufs_alloc_page()
|
2017-05-29 18:56:14 +02:00 |
|
|
55ce3b8798
|
mufs: calculate proper byte offsets in mufs_read()/mufs_write()
|
2017-05-29 18:55:37 +02:00 |
|
|
8f74da799e
|
mufs: set root after extending a file tree
|
2017-05-29 18:54:06 +02:00 |
|
|
3b601ea588
|
mufs: only manage blocks in data area
|
2017-05-29 18:53:29 +02:00 |
|
|
847241bbb8
|
flash: fix default_flash_is_erased() to use a byte-offset address internally
|
2017-05-29 18:52:20 +02:00 |
|
|
f647188666
|
ftl: fix bug where constant is not bitshifted
|
2017-05-29 17:42:21 +02:00 |
|
|
a7d71e84cf
|
mufs: add mufs_write() to write data using a file tree
|
2017-05-29 15:27:43 +02:00 |
|
|
233d991328
|
mufs: add mufs_read() to read data using a file tree
|
2017-05-29 15:24:59 +02:00 |
|
|
9480a91ecc
|
mufs: calculate log2_nentries during mount
|
2017-05-29 15:07:11 +02:00 |
|
|
b634e3c715
|
mufs: read and write file size during mount and format
|
2017-05-29 15:02:48 +02:00 |
|
|
2401b024a9
|
mufs: fix off by one in comparison in mufs_extend_tree()
|
2017-05-29 14:57:34 +02:00 |
|
|
ba12823d8b
|
mufs: add mufs_shrink_tree() to shrink a file tree to a specific size in terms of VAS
|
2017-05-29 14:57:13 +02:00 |
|
|
281c1abdfa
|
mufs: add mufs_extend_tree() to extend the depth of a file tree
|
2017-05-29 14:41:47 +02:00 |
|
|
c5c24788c8
|
mufs: mufs_mount() read the tree pointer of the root directory
|
2017-05-29 14:08:36 +02:00 |
|
|
0c284d1ba7
|
mufs: rename tree base to root
|
2017-05-29 14:06:34 +02:00 |
|
|
a88a33ef01
|
mufs: add code to lookup, allocate and free pages in file trees
|
2017-05-29 14:00:55 +02:00 |
|
|
88707097fb
|
mufs: mufs_free_block() trim block before freeing
|
2017-05-29 14:00:52 +02:00 |
|
|
f4b08bb89f
|
mufs: implement block allocation
|
2017-05-26 16:26:56 +02:00 |
|
|
7172423f05
|
ftl: compute length after determining the offset
|
2017-05-26 16:10:12 +02:00 |
|
|
631cc1e33a
|
ftl: fix order of preliminary checks
|
2017-05-26 16:08:50 +02:00 |
|
|
acc18a5253
|
ftl: return length if no page was mapped
|
2017-05-26 16:08:26 +02:00 |
|
|
32f0ca0e1a
|
flash: remove log2_page_size
|
2017-05-26 14:13:57 +02:00 |
|
|
ff0b94789e
|
shell: add commands for ftl and mufs
|
2017-05-19 19:02:03 +02:00 |
|
|
8714c04f2e
|
shell: remove part commands
|
2017-05-19 19:01:34 +02:00 |
|
|
f912edf1c5
|
main: show TBM-dev and build date
|
2017-05-19 19:00:36 +02:00 |
|
|
19cd9d185f
|
mufs: initial support for mounting/formatting
|
2017-05-19 18:58:42 +02:00 |
|
|
e131d77cf5
|
ftl: use va for ftl_read()/ftl_write() and pages for ftl_trim()/ftl_is_mapped()
|
2017-05-19 18:37:20 +02:00 |
|
|
c684a57e24
|
ftl: add ftl_is_mapped() to check if a page is mapped
|
2017-05-19 18:28:44 +02:00 |
|
|
937521c909
|
flash: return size for flash_read() and flash_write()
|
2017-05-19 18:20:50 +02:00 |
|
|
d631e3012e
|
ftl: change uint8_t to void in write_upage
|
2017-05-19 18:06:02 +02:00 |
|
|
6a2c499d7a
|
ftl: use byte-offset from VA in ftl_write()
|
2017-05-19 18:04:52 +02:00 |
|
|
563db297a3
|
ftl: use byte-offset from VA in ftl_read()
|
2017-05-19 17:53:17 +02:00 |
|
|
dafc3d7071
|
ftl: implement flash_release()
|
2017-05-19 17:27:55 +02:00 |
|
|
f53b072a65
|
flash: implement release() as part of flash_ops
|
2017-05-19 17:26:00 +02:00 |
|
|
27cf8bb587
|
ftl: use flash_is_erased() instead of is_page_erased() and simplify is_group_erased()
|
2017-05-19 17:19:16 +02:00 |
|
|
20125827b6
|
flash: add and implemented flash_is_erased() for sandbox flash
|
2017-05-19 17:16:01 +02:00 |
|
|
e65110f084
|
improve API for flash_erase()
|
2017-05-19 17:04:45 +02:00 |
|
|
b6c5d5bbda
|
ftl: implemented ftl_mount() to seamlessly wrap flash devices
|
2017-05-19 16:21:11 +02:00 |
|
|
6f7fec2965
|
ftl: rename journal to map
|
2017-05-19 15:58:19 +02:00 |
|