Skip to content
  • John Crispin's avatar
    55ee2e0e
    ralink: add missing nand layer hack · 55ee2e0e
    John Crispin authored
    
    It turned out that mtk_nand driver uses some sophisticated accounting and a
    general nand code must be patched.
    
    This patch adds required read and erase calls to a general nand code. I
    used a  code  for re6500 released by Linksys as a reference.
    
    All required operations (erase, write and read) are usable. However I found
    that jffs2 filesystem can be created only on top of a ubi volume. I tried
    to create jffs2 directly on mtd device but pages with clean markers are
    became uncorrectable.
    
    Signed-off-by: default avatarKirill Berezin <fyiwdt@gmail.com>
    
    SVN-Revision: 47565
    55ee2e0e
    ralink: add missing nand layer hack
    John Crispin authored
    
    It turned out that mtk_nand driver uses some sophisticated accounting and a
    general nand code must be patched.
    
    This patch adds required read and erase calls to a general nand code. I
    used a  code  for re6500 released by Linksys as a reference.
    
    All required operations (erase, write and read) are usable. However I found
    that jffs2 filesystem can be created only on top of a ubi volume. I tried
    to create jffs2 directly on mtd device but pages with clean markers are
    became uncorrectable.
    
    Signed-off-by: default avatarKirill Berezin <fyiwdt@gmail.com>
    
    SVN-Revision: 47565
Loading