mirror of
https://github.com/brain-hackers/u-boot-brain
synced 2024-09-13 08:13:21 +09:00
0bb86d823b
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: Remy Bohmer <linux@bohmer.net> Acked-by: William Juul <william.juul@tandberg.com> Signed-off-by: Scott Wood <scottwood@freescale.com> |
||
---|---|---|
.. | ||
devextras.h | ||
Makefile | ||
README-linux | ||
yaffs_checkptrw.c | ||
yaffs_checkptrw.h | ||
yaffs_ecc.c | ||
yaffs_ecc.h | ||
yaffs_flashif.h | ||
yaffs_guts.c | ||
yaffs_guts.h | ||
yaffs_malloc.h | ||
yaffs_mtdif2.c | ||
yaffs_mtdif2.h | ||
yaffs_mtdif.c | ||
yaffs_mtdif.h | ||
yaffs_nand.c | ||
yaffs_nand.h | ||
yaffs_nandemul2k.h | ||
yaffs_packedtags1.c | ||
yaffs_packedtags1.h | ||
yaffs_packedtags2.c | ||
yaffs_packedtags2.h | ||
yaffs_qsort.c | ||
yaffs_qsort.h | ||
yaffs_ramdisk.h | ||
yaffs_tagscompat.c | ||
yaffs_tagscompat.h | ||
yaffs_tagsvalidity.c | ||
yaffs_tagsvalidity.h | ||
yaffscfg.c | ||
yaffscfg.h | ||
yaffsfs.c | ||
yaffsfs.h | ||
yaffsinterface.h | ||
ydirectenv.h | ||
yportenv.h |