Skip to content
Snippets Groups Projects
  1. Aug 26, 2008
  2. Aug 25, 2008
  3. Aug 22, 2008
  4. Aug 21, 2008
    • Remy Bohmer's avatar
      Make the YAFFS filesystem work · 0bb86d82
      Remy Bohmer authored
      
      Recently the YAFFS filesystem support has been added to U-boot.
      However, just enabling CONFIG_YAFFS2 is not enough to get it working.
      
      ymount will generate an exception (when dereferencing mtd->readoob()), because
      the genericDevice is a null pointer. Further, a lot of logging is produced
      while using YAFFS fs, so logging should also be disabled.
      Both issues are solved by this patch.
      
      With this patch and CONFIG_YAFFS2 enabled, I get a readable filesystem
      in U-boot, as well as in Linux.
      
      Tested on a Atmel AT91SAM9261EK board.
      
      Signed-off-by: default avatarRemy Bohmer <linux@bohmer.net>
      Acked-by: default avatarWilliam Juul <william.juul@tandberg.com>
      Signed-off-by: default avatarScott Wood <scottwood@freescale.com>
      0bb86d82
Loading