Commit Graph

403 Commits (master)

Author SHA1 Message Date
S.J.R. van Schaik 6d73d7a655 spi: flash: use default_flash_copy() 7 years ago
S.J.R. van Schaik c38413dc90 flash: change prototype of flash_copy() and use the default implementation in the sandbox 7 years ago
S.J.R. van Schaik d21b5addff mufs: include block.h in super.c 7 years ago
S.J.R. van Schaik a8beb53fa0 flash: implement a default function for copying data 7 years ago
S.J.R. van Schaik 1ba4e77dd6 ftl: copy the page of the cousin instead of the page to trim in ftl_trim() 7 years ago
S.J.R. van Schaik bc28781181 mufs: do not write back in mufs_next_free_block() 7 years ago
S.J.R. van Schaik ed5e3ef8ea ftl: fix typo 7 years ago
S.J.R. van Schaik dfa497198f ftl: copy dev->log2_block_size to log2_erase_size in reset_map() 7 years ago
S.J.R. van Schaik 4292ef2f26 ftl: copy log2_page_size to dev->log2_block_size 7 years ago
S.J.R. van Schaik bcf844aab4 mufs: properly format block allocation bitmap 7 years ago
S.J.R. van Schaik 3c35521979 mufs: reduce memory footprint in block allocation 7 years ago
S.J.R. van Schaik fa49f634e4 flash: spi: perform both flash_read() and flash_write() in chunks of 32 bytes 7 years ago
S.J.R. van Schaik 7ab3a84fc4 spi: flash: use default_is_erased() to check if a block is erased 7 years ago
S.J.R. van Schaik 68593c2e6f flash: check if a block is erased in chunks of 32 bytes 7 years ago
S.J.R. van Schaik f20e7128eb spi: flash: wait for operations to complete 7 years ago
S.J.R. van Schaik 5bafd2ac8f spi: flash: set log2_block_size 7 years ago
S.J.R. van Schaik d53276e407 spi: flash: the JEDEC ID should be at most three bytes in length 7 years ago
S.J.R. van Schaik 85a3f84d61 spi: properly exchange bytes by sending and reading each byte within a SPI transaction 7 years ago
S.J.R. van Schaik e7ad03608a spi: flash: don't print the JEDEC ID any longer 7 years ago
S.J.R. van Schaik 440c598d16 spi: flash: properly copy the JEDEC ID from the buffer 7 years ago
S.J.R. van Schaik 460fc8f7a5 spi: flash: map get_capacity to spi_flash_get_size() 7 years ago
S.J.R. van Schaik 154c33950a spi: get rid of the separate calls to spi_set_cs_level() 7 years ago
S.J.R. van Schaik 60d316711f spi: clean up the code in order to reduce the latency 7 years ago
S.J.R. van Schaik f0de762d61 shell: mufs: use PRIu32 to print the size for proper portability 7 years ago
S.J.R. van Schaik 316e3a13d2 shell: remove deprecated print_size() function 7 years ago
S.J.R. van Schaik 8f680b9d5b ftl: remove unused variable 7 years ago
S.J.R. van Schaik ae0e8a37d3 mufs: cast offsets to long for comparison in mufs_seek() 7 years ago
S.J.R. van Schaik e20e9e13e0 spi: flash: update code 7 years ago
S.J.R. van Schaik 3649151a9f mufs: properly free the tree object in mufs_rename() 7 years ago
S.J.R. van Schaik 7be03f4a60 mufs: delete the tree object of a file in mufs_close() 7 years ago
S.J.R. van Schaik a8040ac525 mufs: properly free the allocated path in mufs_mkpath() 7 years ago
S.J.R. van Schaik 27522b3c04 shell: mufs: claim ownership of flash device in mufs unmount 7 years ago
S.J.R. van Schaik c2700bd31e mufs: release flash device if ownership not claimed 7 years ago
S.J.R. van Schaik 84468fd761 shell: mufs: add unmount command 7 years ago
S.J.R. van Schaik 7ae378ddba shell: flash: just call do_flash_release() in flash_probe() to avoid code duplication 7 years ago
S.J.R. van Schaik 7b5187973a shell: mufs: add proper mounting and unmounting 7 years ago
S.J.R. van Schaik 92fc0e0ff1 shell: free the key in cmd_exec() 7 years ago
S.J.R. van Schaik a5e783b6bb shell: add functionality to exit 7 years ago
S.J.R. van Schaik d709c44fa4 shell: flash: add command to release the current flash device 7 years ago
S.J.R. van Schaik 2bae987d27 shell: ftl: change mount command to probe and probe a flash device with FTL enabled 7 years ago
S.J.R. van Schaik b55fea5379 shell: flash: display capacity and usage 7 years ago
S.J.R. van Schaik 58ae4bb2ea shell: ftl: remove ftl test command 7 years ago
S.J.R. van Schaik 13918141c7 mufs: fix Valgrind warnings in mufs_abspath() by using calloc() instead of malloc() 7 years ago
S.J.R. van Schaik 59a71a4608 mufs: return tree as an argument in resolve_path() and free tree objects where necessary 7 years ago
S.J.R. van Schaik 4ed40e75c6 mufs: implement mufs_del_tree() to safely free tree objects from memory 7 years ago
S.J.R. van Schaik 07cd243603 mufs: extend tree in mufs_tree_write() rather than mufs_do_write() 7 years ago
S.J.R. van Schaik 08dda999cc mufs: simplify and clean up mufs_rename() 7 years ago
S.J.R. van Schaik a45be58d26 mufs: add subtree argument to mkpath() to create a path for an existing tree object 7 years ago
S.J.R. van Schaik 8921af25b3 mufs: fix mufs_free_page() and mufs_unmap_page() to properly update the root pointer 7 years ago
S.J.R. van Schaik f2d4d60c01 mufs: add find_dirent_size() to determine how many bytes are used within a directory bin 7 years ago