S.J.R. van Schaik
|
cd67577f35
|
flash: implement flash_write0() to write a sequence of zeroes
|
8 years ago |
S.J.R. van Schaik
|
c38413dc90
|
flash: change prototype of flash_copy() and use the default implementation in the sandbox
|
8 years ago |
S.J.R. van Schaik
|
a8beb53fa0
|
flash: implement a default function for copying data
|
8 years ago |
S.J.R. van Schaik
|
a22b59b2a8
|
macros: add mask() as a macro to calculate the bit mask
|
8 years ago |
S.J.R. van Schaik
|
f20e7128eb
|
spi: flash: wait for operations to complete
|
8 years ago |
S.J.R. van Schaik
|
154c33950a
|
spi: get rid of the separate calls to spi_set_cs_level()
|
8 years ago |
S.J.R. van Schaik
|
60d316711f
|
spi: clean up the code in order to reduce the latency
|
8 years ago |
S.J.R. van Schaik
|
7b5187973a
|
shell: mufs: add proper mounting and unmounting
|
8 years ago |
S.J.R. van Schaik
|
8b780d57d9
|
mufs: implement mufs_rename() to move files and directories
|
8 years ago |
S.J.R. van Schaik
|
65c1fc28d3
|
mufs: implement mufs_unlink()
|
8 years ago |
S.J.R. van Schaik
|
d6fa387868
|
mufs: implement mufs_rmdir()
|
8 years ago |
S.J.R. van Schaik
|
27a15b3fb7
|
mufs: expose MUFS_FILE and MUFS_DIR constants
|
8 years ago |
S.J.R. van Schaik
|
beb5f64c12
|
mufs: implement mufs_stat()
|
8 years ago |
S.J.R. van Schaik
|
26b0ccb405
|
mufs: optionally record the type and file_size in resolve_path()
|
8 years ago |
S.J.R. van Schaik
|
a20c1a8ed4
|
mufs: implement mufs_seek() to seek and tell the position within a file
|
8 years ago |
S.J.R. van Schaik
|
2c1079d0f4
|
mufs: implement modes for read, write and append in mufs_open()
|
8 years ago |
S.J.R. van Schaik
|
1c736c3324
|
mufs: add support for reading and writing files
|
8 years ago |
S.J.R. van Schaik
|
073c7f34be
|
mufs: expose mufs_abspath()
|
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
|
bf677b7655
|
macros: add align_up()
|
8 years ago |
S.J.R. van Schaik
|
9480a91ecc
|
mufs: calculate log2_nentries during mount
|
8 years ago |
S.J.R. van Schaik
|
c08a8be9a9
|
mufs: add actual file size to tree information
|
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
|
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
|
19cd9d185f
|
mufs: initial support for mounting/formatting
|
8 years ago |
S.J.R. van Schaik
|
efa91ba5c3
|
macros: add align() macro
|
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
|
6a2c499d7a
|
ftl: use byte-offset from VA in ftl_write()
|
8 years ago |
S.J.R. van Schaik
|
f53b072a65
|
flash: implement release() as part of flash_ops
|
8 years ago |
S.J.R. van Schaik
|
20125827b6
|
flash: add and implemented flash_is_erased() for sandbox flash
|
8 years ago |
S.J.R. van Schaik
|
e65110f084
|
improve API for flash_erase()
|
8 years ago |
S.J.R. van Schaik
|
b6c5d5bbda
|
ftl: implemented ftl_mount() to seamlessly wrap flash devices
|
8 years ago |
S.J.R. van Schaik
|
6f7fec2965
|
ftl: rename journal to map
|
8 years ago |
S.J.R. van Schaik
|
a899f35562
|
flash: add flash_get_capacity()
|
8 years ago |
S.J.R. van Schaik
|
602ebb364d
|
ftl: use void * instead of uint8_t *
|
8 years ago |
S.J.R. van Schaik
|
e31a852225
|
ftl: add buffer length to ftl_read()
|
8 years ago |
S.J.R. van Schaik
|
cd44b4866b
|
ftl: remove ftl_find()
|
8 years ago |
S.J.R. van Schaik
|
e88435b3a6
|
fs: remove old attempt
|
8 years ago |
S.J.R. van Schaik
|
57f72ea5f5
|
bitops: merged bitset functions and cleaned up code
|
8 years ago |
S.J.R. van Schaik
|
4b651b19f1
|
ftl: add ftl_get_size(), allow trimming final sector, recover tail and size
|
8 years ago |
S.J.R. van Schaik
|
2b5225ef98
|
ftl: initial implementation of the Flash Translation Layer
|
8 years ago |
S.J.R. van Schaik
|
bd326ad795
|
flash: add flash_copy and improve flash_erase
|
8 years ago |
S.J.R. van Schaik
|
f61ecefdc6
|
flash: add flash_get_size()
|
8 years ago |
S.J.R. van Schaik
|
86afdc1707
|
macros: add PRSZu because arm-none-eabi does not support %zu
|
8 years ago |
S.J.R. van Schaik
|
13ea9ce49d
|
macros: fix macro for GiB
|
8 years ago |
S.J.R. van Schaik
|
0bc1146ffd
|
flash: separate SPI flash commands
|
8 years ago |
S.J.R. van Schaik
|
7be9d0f049
|
bitops: add ilog2()
|
8 years ago |