tree: c16c1e8f5090b037b0c7939ffc553ddfeb763226 [path history] [tgz]
  1. test/
  2. bind-tests.json
  3. BUILD.gn
  4. features.gni
  5. logical-to-physical-map.cc
  6. logical-to-physical-map.h
  7. README.md
  8. skip-block.bind
  9. skip-block.cc
  10. skip-block.h
src/devices/nand/drivers/skip-block/README.md

The skip-block driver is a layer on top of a raw NAND device that will skip bad blocks, but provides no higher-level processing. Compared to the more advanced FTL scheme, skip-block provides no wear leveling or garbage collection and always updates entire blocks

Skip-block partitions (one kind of partition tracked by the “nandpart” driver) are used when data needs to be accessible by the bootloader. The bootloader doesn‘t understand the more advanced FTL partitions and this data isn’t written frequently enough for performance or wear-leveling to be an issue.