how to setup jffs2 on NAND
hi,
i am sharath kumar. i am trying to mount jffs2 on NAND flash. i am working on s3c2410 arm9 processor. i have booted linux using 2.4.18 kernel pathced with rmk6-sw5 patch.
i have mounted yaffs on NAND flash now i am trying jffs2
from one of the documnt
The following config switches have to be set. JFFS2 on NAND does not work, if one of these settings is missing.
CONFIG_MTD=y
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_YOURBOARD=y
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_NAND=y
when i do make makeconfig i am not able to see component CONFIG_JFFS2_FS_NAND
do i need to patch the kernel
help needed?
Regards
Sharath kumar
Quoted 18 lines · Skumar
i am sharath kumar. i am trying to mount jffs2 on NAND flash. i am working on s3c2410 arm9 processor. i have booted linux using 2.4.18 kernel pathced with rmk6-sw5 patch.
i have mounted yaffs on NAND flash now i am trying jffs2
from one of the documnt
The following config switches have to be set. JFFS2 on NAND does not work, if one of these settings is missing.
CONFIG_MTD=y
CONFIG_MTD_PARTITIONS=y
CONFIG_MTD_CHAR=y
CONFIG_MTD_BLOCK=y
CONFIG_MTD_NAND=y
CONFIG_MTD_NAND_YOURBOARD=y
CONFIG_JFFS2_FS=y
CONFIG_JFFS2_FS_DEBUG=0
CONFIG_JFFS2_FS_NAND=y
Quoted 4 lines
when i do make makeconfig i am not able to see component
CONFIG_JFFS2_FS_NANDdo i need to patch the kernel
Yes, get the latest MTD-Sources from linux-mtd.infradead.org. Read and follow INSTALL. Enjoy.
Signature · 5 lines
Thomas ________________________________________________________________________ linutronix - competence in embedded & realtime linux http://www.linutronix.de mail: tglx at linutronix.de