S.J.R. van Schaik
|
1c736c3324
|
mufs: add support for reading and writing files
|
8 years ago |
S.J.R. van Schaik
|
845aba61ed
|
mufs: rename mufs_read()/mufs_write() to mufs_tree_read()/mufs_tree_write() and expose functions
|
8 years ago |
S.J.R. van Schaik
|
073c7f34be
|
mufs: expose mufs_abspath()
|
8 years ago |
S.J.R. van Schaik
|
11dd182ee7
|
mufs: rename mufs_opendir2() to mufs_opendirent()
|
8 years ago |
S.J.R. van Schaik
|
58f6e87854
|
mufs: clean up calculation of the va of a tree object in read_dirent()
|
8 years ago |
S.J.R. van Schaik
|
93c0466c90
|
mufs: simplify super block by embedding struct mufs_dtree instead of struct mufs_dentry
|
8 years ago |
S.J.R. van Schaik
|
89ec3a94c0
|
mufs: embed struct mufs_dtree in struct mufs_dentry and clean up code
|
8 years ago |
S.J.R. van Schaik
|
0bc9c6fc7a
|
mufs: add mufs_abspath() to sanitise paths
|
8 years ago |
S.J.R. van Schaik
|
d287d7616a
|
mufs: fix an issue when determining the va of a tree object
|
8 years ago |
S.J.R. van Schaik
|
3b25180038
|
mufs: properly determine the va of a tree object
|
8 years ago |
S.J.R. van Schaik
|
f1e6f8f278
|
mufs: update path resolution code in mufs_mkdir()
|
8 years ago |
S.J.R. van Schaik
|
0e9474d377
|
mufs: add support for path resolution
|
8 years ago |
S.J.R. van Schaik
|
e18107d2d5
|
mufs: add support for directories
|
8 years ago |
S.J.R. van Schaik
|
99e2229bbb
|
mufs: clean up code by embedding struct mufs into struct mufs_tree
|
8 years ago |
S.J.R. van Schaik
|
7212269675
|
mufs: write tree updates to disk
|
8 years ago |
S.J.R. van Schaik
|
250c9bf200
|
mufs: do not memset during mufs_write()
|
8 years ago |
S.J.R. van Schaik
|
45736a5e9f
|
ftl: simplify calculations in ftl_read()/ftl_write() and remove an out-dated check
|
8 years ago |
S.J.R. van Schaik
|
849fc17eb0
|
mufs: keep track of read/written bytes in mufs_read()/mufs_write()
|
8 years ago |
S.J.R. van Schaik
|
abe656c640
|
mufs: allocate a block for the root, if no root has been allocated in mufs_alloc_page()
|
8 years ago |
S.J.R. van Schaik
|
55ce3b8798
|
mufs: calculate proper byte offsets in mufs_read()/mufs_write()
|
8 years ago |
S.J.R. van Schaik
|
8f74da799e
|
mufs: set root after extending a file tree
|
8 years ago |
S.J.R. van Schaik
|
3b601ea588
|
mufs: only manage blocks in data area
|
8 years ago |
S.J.R. van Schaik
|
847241bbb8
|
flash: fix default_flash_is_erased() to use a byte-offset address internally
|
8 years ago |
S.J.R. van Schaik
|
f647188666
|
ftl: fix bug where constant is not bitshifted
|
8 years ago |
S.J.R. van Schaik
|
a7d71e84cf
|
mufs: add mufs_write() to write data using a file tree
|
8 years ago |
S.J.R. van Schaik
|
233d991328
|
mufs: add mufs_read() to read data using a file tree
|
8 years ago |
S.J.R. van Schaik
|
9480a91ecc
|
mufs: calculate log2_nentries during mount
|
8 years ago |
S.J.R. van Schaik
|
b634e3c715
|
mufs: read and write file size during mount and format
|
8 years ago |
S.J.R. van Schaik
|
2401b024a9
|
mufs: fix off by one in comparison in mufs_extend_tree()
|
8 years ago |
S.J.R. van Schaik
|
ba12823d8b
|
mufs: add mufs_shrink_tree() to shrink a file tree to a specific size in terms of VAS
|
8 years ago |
S.J.R. van Schaik
|
281c1abdfa
|
mufs: add mufs_extend_tree() to extend the depth of a file tree
|
8 years ago |
S.J.R. van Schaik
|
c5c24788c8
|
mufs: mufs_mount() read the tree pointer of the root directory
|
8 years ago |
S.J.R. van Schaik
|
0c284d1ba7
|
mufs: rename tree base to root
|
8 years ago |
S.J.R. van Schaik
|
a88a33ef01
|
mufs: add code to lookup, allocate and free pages in file trees
|
8 years ago |
S.J.R. van Schaik
|
88707097fb
|
mufs: mufs_free_block() trim block before freeing
|
8 years ago |
S.J.R. van Schaik
|
f4b08bb89f
|
mufs: implement block allocation
|
8 years ago |
S.J.R. van Schaik
|
7172423f05
|
ftl: compute length after determining the offset
|
8 years ago |
S.J.R. van Schaik
|
631cc1e33a
|
ftl: fix order of preliminary checks
|
8 years ago |
S.J.R. van Schaik
|
acc18a5253
|
ftl: return length if no page was mapped
|
8 years ago |
S.J.R. van Schaik
|
32f0ca0e1a
|
flash: remove log2_page_size
|
8 years ago |
S.J.R. van Schaik
|
ff0b94789e
|
shell: add commands for ftl and mufs
|
8 years ago |
S.J.R. van Schaik
|
8714c04f2e
|
shell: remove part commands
|
8 years ago |
S.J.R. van Schaik
|
f912edf1c5
|
main: show TBM-dev and build date
|
8 years ago |
S.J.R. van Schaik
|
19cd9d185f
|
mufs: initial support for mounting/formatting
|
8 years ago |
S.J.R. van Schaik
|
e131d77cf5
|
ftl: use va for ftl_read()/ftl_write() and pages for ftl_trim()/ftl_is_mapped()
|
8 years ago |
S.J.R. van Schaik
|
c684a57e24
|
ftl: add ftl_is_mapped() to check if a page is mapped
|
8 years ago |
S.J.R. van Schaik
|
937521c909
|
flash: return size for flash_read() and flash_write()
|
8 years ago |
S.J.R. van Schaik
|
d631e3012e
|
ftl: change uint8_t to void in write_upage
|
8 years ago |
S.J.R. van Schaik
|
6a2c499d7a
|
ftl: use byte-offset from VA in ftl_write()
|
8 years ago |
S.J.R. van Schaik
|
563db297a3
|
ftl: use byte-offset from VA in ftl_read()
|
8 years ago |