I want to be a complete engineer - technical genius and sensitive humanist all in one!

Wednesday, November 12, 2008

kernel 支持yaffs2文件系统

first download yaffs2 source code,
(1) copy "yaffs2" to "linux-2.6.26/fs/"
(2) edit "fs/Makefile"
obj-$(CONFIG_YAFFS_FS) += yaffs2
(3) edit "fs/Kconfig"
# Patched by YAFFS
source "fs/yaffs2/Kconfig"

config JFFS2_FS # add here above

(4) make menuconfig
File systems --->
Miscellaneous filesystems --->
<*> YAFFS2 file system support
-*- 512 byte / page devices

#cd fs/yaffs/utils/
#make
#./mkyaffs2image
#./mkyaffsimage

No comments:

Labels

Followers