Commit Graph

403 Commits (master)

Author SHA1 Message Date
S.J.R. van Schaik 7212269675 mufs: write tree updates to disk 7 years ago
S.J.R. van Schaik 250c9bf200 mufs: do not memset during mufs_write() 7 years ago
S.J.R. van Schaik 45736a5e9f ftl: simplify calculations in ftl_read()/ftl_write() and remove an out-dated check 7 years ago
S.J.R. van Schaik 849fc17eb0 mufs: keep track of read/written bytes in mufs_read()/mufs_write() 7 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() 7 years ago
S.J.R. van Schaik 55ce3b8798 mufs: calculate proper byte offsets in mufs_read()/mufs_write() 7 years ago
S.J.R. van Schaik 8f74da799e mufs: set root after extending a file tree 7 years ago
S.J.R. van Schaik 3b601ea588 mufs: only manage blocks in data area 7 years ago
S.J.R. van Schaik 847241bbb8 flash: fix default_flash_is_erased() to use a byte-offset address internally 7 years ago
S.J.R. van Schaik f647188666 ftl: fix bug where constant is not bitshifted 7 years ago
S.J.R. van Schaik a7d71e84cf mufs: add mufs_write() to write data using a file tree 7 years ago
S.J.R. van Schaik 233d991328 mufs: add mufs_read() to read data using a file tree 7 years ago
S.J.R. van Schaik 9480a91ecc mufs: calculate log2_nentries during mount 7 years ago
S.J.R. van Schaik b634e3c715 mufs: read and write file size during mount and format 7 years ago
S.J.R. van Schaik 2401b024a9 mufs: fix off by one in comparison in mufs_extend_tree() 7 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 7 years ago
S.J.R. van Schaik 281c1abdfa mufs: add mufs_extend_tree() to extend the depth of a file tree 7 years ago
S.J.R. van Schaik c5c24788c8 mufs: mufs_mount() read the tree pointer of the root directory 7 years ago
S.J.R. van Schaik 0c284d1ba7 mufs: rename tree base to root 7 years ago
S.J.R. van Schaik a88a33ef01 mufs: add code to lookup, allocate and free pages in file trees 7 years ago
S.J.R. van Schaik 88707097fb mufs: mufs_free_block() trim block before freeing 7 years ago
S.J.R. van Schaik f4b08bb89f mufs: implement block allocation 7 years ago
S.J.R. van Schaik 7172423f05 ftl: compute length after determining the offset 7 years ago
S.J.R. van Schaik 631cc1e33a ftl: fix order of preliminary checks 7 years ago
S.J.R. van Schaik acc18a5253 ftl: return length if no page was mapped 7 years ago
S.J.R. van Schaik 32f0ca0e1a flash: remove log2_page_size 7 years ago
S.J.R. van Schaik ff0b94789e shell: add commands for ftl and mufs 7 years ago
S.J.R. van Schaik 8714c04f2e shell: remove part commands 7 years ago
S.J.R. van Schaik f912edf1c5 main: show TBM-dev and build date 7 years ago
S.J.R. van Schaik 19cd9d185f mufs: initial support for mounting/formatting 7 years ago
S.J.R. van Schaik e131d77cf5 ftl: use va for ftl_read()/ftl_write() and pages for ftl_trim()/ftl_is_mapped() 7 years ago
S.J.R. van Schaik c684a57e24 ftl: add ftl_is_mapped() to check if a page is mapped 7 years ago
S.J.R. van Schaik 937521c909 flash: return size for flash_read() and flash_write() 7 years ago
S.J.R. van Schaik d631e3012e ftl: change uint8_t to void in write_upage 7 years ago
S.J.R. van Schaik 6a2c499d7a ftl: use byte-offset from VA in ftl_write() 7 years ago
S.J.R. van Schaik 563db297a3 ftl: use byte-offset from VA in ftl_read() 7 years ago
S.J.R. van Schaik dafc3d7071 ftl: implement flash_release() 7 years ago
S.J.R. van Schaik f53b072a65 flash: implement release() as part of flash_ops 7 years ago
S.J.R. van Schaik 27cf8bb587 ftl: use flash_is_erased() instead of is_page_erased() and simplify is_group_erased() 7 years ago
S.J.R. van Schaik 20125827b6 flash: add and implemented flash_is_erased() for sandbox flash 7 years ago
S.J.R. van Schaik e65110f084 improve API for flash_erase() 7 years ago
S.J.R. van Schaik b6c5d5bbda ftl: implemented ftl_mount() to seamlessly wrap flash devices 7 years ago
S.J.R. van Schaik 6f7fec2965 ftl: rename journal to map 7 years ago
S.J.R. van Schaik 770860d621 ftl: split up code 7 years ago
S.J.R. van Schaik a899f35562 flash: add flash_get_capacity() 7 years ago
S.J.R. van Schaik 602ebb364d ftl: use void * instead of uint8_t * 7 years ago
S.J.R. van Schaik e31a852225 ftl: add buffer length to ftl_read() 7 years ago
S.J.R. van Schaik cd44b4866b ftl: remove ftl_find() 7 years ago
S.J.R. van Schaik e88435b3a6 fs: remove old attempt 7 years ago
S.J.R. van Schaik 57f72ea5f5 bitops: merged bitset functions and cleaned up code 7 years ago