Commit graph

98 commits

Author SHA1 Message Date
c08a8be9a9 mufs: add actual file size to tree information 2017-05-29 15:00:42 +02:00
c5c24788c8 mufs: mufs_mount() read the tree pointer of the root directory 2017-05-29 14:08:36 +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
19cd9d185f mufs: initial support for mounting/formatting 2017-05-19 18:58:42 +02:00
efa91ba5c3 macros: add align() macro 2017-05-19 18:29:17 +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
6a2c499d7a ftl: use byte-offset from VA in ftl_write() 2017-05-19 18:04:52 +02:00
f53b072a65 flash: implement release() as part of flash_ops 2017-05-19 17:26:00 +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
a899f35562 flash: add flash_get_capacity() 2017-05-19 15:09:25 +02:00
602ebb364d ftl: use void * instead of uint8_t * 2017-05-19 15:03:22 +02:00
e31a852225 ftl: add buffer length to ftl_read() 2017-05-19 14:14:53 +02:00
cd44b4866b ftl: remove ftl_find() 2017-05-19 14:09:14 +02:00
e88435b3a6 fs: remove old attempt 2017-05-19 13:52:42 +02:00
57f72ea5f5 bitops: merged bitset functions and cleaned up code 2017-05-18 17:16:48 +02:00
4b651b19f1 ftl: add ftl_get_size(), allow trimming final sector, recover tail and size 2017-05-15 17:48:28 +02:00
2b5225ef98 ftl: initial implementation of the Flash Translation Layer 2017-05-15 16:33:11 +02:00
bd326ad795 flash: add flash_copy and improve flash_erase 2017-05-15 16:07:13 +02:00
f61ecefdc6 flash: add flash_get_size() 2017-04-07 19:35:51 +02:00
86afdc1707 macros: add PRSZu because arm-none-eabi does not support %zu 2017-04-07 19:35:05 +02:00
13ea9ce49d macros: fix macro for GiB 2017-04-07 18:34:32 +02:00
0bc1146ffd flash: separate SPI flash commands 2017-04-07 17:32:43 +02:00
7be9d0f049 bitops: add ilog2() 2017-04-07 16:32:44 +02:00
5387c2cdb7 bitset: use void * instead of uint8_t * 2017-03-31 16:47:42 +02:00
d1da4b3c9d flash: add function to release flash device 2017-03-31 15:54:11 +02:00
d2bb6994eb spi: add function to release SPI device 2017-03-31 15:53:56 +02:00
a5f92e1326 bitset: add next_clear_bit() to find the next clear bit 2017-03-23 15:53:33 +00:00
69557fa814 bitset: add next_set_bit() to find the next set bit 2017-03-23 15:51:41 +00:00
49c90e70f0 shell: introduce part create command 2017-03-23 15:20:00 +00:00
adcda56894 fs: add initial code to create the partition table 2017-03-23 15:18:13 +00:00
2448ddcd4e fs: add block_is_erased() to check if a block is truly erased 2017-03-23 15:02:10 +00:00
80a5ecc64c flash: add includes for stdint.h and stdlib.h 2017-03-17 15:26:14 +00:00
c594c2aa9a bitset: add functions to manipulate bitsets 2017-03-17 15:02:17 +00:00
cd9d974a91 macros: add BIT(n) and BIT_SIZE(t) macros 2017-03-17 14:55:24 +00:00
eb41dd93db shell: separate code 2017-03-12 00:33:09 +00:00
81632df5e9 console: separate driver for USART 2017-03-11 13:07:12 +00:00
b6d216255f flash: remove old code for SPI flash 2017-03-11 13:04:26 +00:00
094c600283 flash: add SPI flash driver 2017-03-11 12:56:46 +00:00
39dbac8742 macros: move macros for human-readable sizes and rounding 2017-03-11 12:44:26 +00:00
92b3c1108b flash: implement flash driver model 2017-03-11 12:42:32 +00:00
a078de7c9f spi: stm32f0: add SPI driver 2017-03-11 00:55:54 +00:00
a572b357f7 console: usart: set up stdout, stderr and stdout 2017-03-11 00:25:25 +00:00
3873f68817 make: restructure build scripts 2017-03-09 12:32:04 +00:00