1. 07 Jul, 2009 1 commit
    • Artem Bityutskiy's avatar
      UBI: fix NOR flash recovery · ebf53f42
      Artem Bityutskiy authored
      This commit fixes NOR flash recovery issues observed with Spansion
      S29GL512N NOR.
      
      When NOR erases, it first fills PEBs with zeroes, then sets all bytes
      to 0xFF. Filling with zeroes starts from the end of the PEB. And when
      power is cut, this results in PEBs containing correct EC and VID headers
      but corrupted with zeros at the end. This confuses UBI and it mistakinly
      accepts these PEBs and associate them with LEBs.
      
      Fis this issue by zeroing EC and VID magics before erasing PEBs, to
      make UBI later refuse zem.
      Signed-off-by: default avatarArtem Bityutskiy <Artem.Bityutskiy@nokia.com>
      ebf53f42
  2. 05 Jul, 2009 4 commits
  3. 04 Jul, 2009 9 commits
  4. 03 Jul, 2009 26 commits