• 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
Name
Last commit
Last update
..
Makefile Loading commit data...
README-linux Loading commit data...
devextras.h Loading commit data...
yaffs_checkptrw.c Loading commit data...
yaffs_checkptrw.h Loading commit data...
yaffs_ecc.c Loading commit data...
yaffs_ecc.h Loading commit data...
yaffs_flashif.h Loading commit data...
yaffs_guts.c Loading commit data...
yaffs_guts.h Loading commit data...
yaffs_malloc.h Loading commit data...
yaffs_mtdif.c Loading commit data...
yaffs_mtdif.h Loading commit data...
yaffs_mtdif2.c Loading commit data...
yaffs_mtdif2.h Loading commit data...
yaffs_nand.c Loading commit data...
yaffs_nand.h Loading commit data...
yaffs_nandemul2k.h Loading commit data...
yaffs_packedtags1.c Loading commit data...
yaffs_packedtags1.h Loading commit data...
yaffs_packedtags2.c Loading commit data...
yaffs_packedtags2.h Loading commit data...
yaffs_qsort.c Loading commit data...
yaffs_qsort.h Loading commit data...
yaffs_ramdisk.h Loading commit data...
yaffs_tagscompat.c Loading commit data...
yaffs_tagscompat.h Loading commit data...
yaffs_tagsvalidity.c Loading commit data...
yaffs_tagsvalidity.h Loading commit data...
yaffscfg.c Loading commit data...
yaffscfg.h Loading commit data...
yaffsfs.c Loading commit data...
yaffsfs.h Loading commit data...
yaffsinterface.h Loading commit data...
ydirectenv.h Loading commit data...
yportenv.h Loading commit data...