|
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 |
|
|
5a8bf83c7b
|
stm32f0: added tested example code to reset the Whitebox
|
2017-05-18 16:59:19 +02:00 |
|
|
24ab1dd9b7
|
ftl: trim last sector by writing an empty page descriptor
|
2017-05-18 15:01:39 +02:00 |
|
|
1c396c407a
|
ftl: replace erase_block() with a direct call to flash_erase()
|
2017-05-18 14:00:36 +02:00 |
|
|
b0c53116d6
|
ftl: fix off by one in garbage collection code
|
2017-05-15 18:02:25 +02:00 |
|
|
4b651b19f1
|
ftl: add ftl_get_size(), allow trimming final sector, recover tail and size
|
2017-05-15 17:48:28 +02:00 |
|
|
da30898794
|
ftl: more comments
|
2017-05-15 16:45:40 +02:00 |
|
|
51893666a5
|
make: optimise for size
|
2017-05-15 16:34:51 +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 |
|
|
a36addf39b
|
shell: add flash info to print the flash size
|
2017-04-07 19:36:06 +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 |
|
|
bff4845c32
|
flash: detect flash size
|
2017-04-07 18:35:00 +02:00 |
|
|
13ea9ce49d
|
macros: fix macro for GiB
|
2017-04-07 18:34:32 +02:00 |
|
|
77c3e5f440
|
spi: avoid setting up clocks again as it conflicts with USART
|
2017-04-07 17:35:15 +02:00 |
|
|
f7db775316
|
usart: re-route input as output
|
2017-04-07 17:34:47 +02:00 |
|
|
28d9f1df99
|
shell: avoid printing stdio input
|
2017-04-07 17:34:24 +02:00 |
|
|
db3de90f24
|
shell: print error when flash device cannot be probed
|
2017-04-07 17:33:30 +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 |
|
|
ce9065166b
|
flash: use MAP_SHARED for files
|
2017-03-31 16:11:12 +02:00 |
|
|
45c1730149
|
shell: release flash device before probing
|
2017-03-31 16:03:55 +02:00 |
|
|
1fa1dfefb1
|
make: only builds tools for host
|
2017-03-31 15:54:27 +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 |
|
|
886b90f5f3
|
shell: expose currently probed flash device
|
2017-03-23 15:19:04 +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 |
|
|
31740bbb20
|
flash: map existing file to memory to use as sandbox flash
|
2017-03-23 14:51:17 +00:00 |
|
|
eca2bc7b17
|
tools: add tool to create empty flash image
|
2017-03-23 14:37:22 +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 |
|
|
1188b24a31
|
shell: use min() macro
|
2017-03-17 13:37:30 +00:00 |
|
|
e9a9236fc7
|
shell: use re-allocated buffer to store additional characters
|
2017-03-17 13:36:44 +00:00 |
|
|
0e95284835
|
debug: remove empty file
|
2017-03-12 16:21:50 +00:00 |
|
|
1c7f86529c
|
shell: remove old code
|
2017-03-12 00:33:27 +00:00 |
|
|
eb41dd93db
|
shell: separate code
|
2017-03-12 00:33:09 +00:00 |
|
|
422ef6ae51
|
shell: use uint8_t instead of char for showing bytes
|
2017-03-11 13:51:28 +00:00 |
|
|
2f82854e8a
|
flash: sandbox: fix size checks and erase initial memory
|
2017-03-11 13:51:04 +00:00 |
|