Dear All,<br>
I have a samsung nand chip 512/page and would like to know which yaffs
to use ? yaffs2 or yaffs .. building yaffs in 2.6 gives me a
bunch of warnings .. I use cvs versions of yaffs and kernel
2.6.12 <br>
CC fs/yaffs/yaffs_ecc.o<br>
CC fs/yaffs/yaffs_fs.o<br>
fs/yaffs/yaffs_fs.c:168: warning: initialization from incompatible pointer type<br>
fs/yaffs/yaffs_fs.c: In function `yaffs_readpage_nolock':<br>
fs/yaffs/yaffs_fs.c:463: warning: implicit declaration of function `PAGE_BUG'<br>
fs/yaffs/yaffs_fs.c: In function `yaffs_internal_read_super':<br>
fs/yaffs/yaffs_fs.c:1277: warning: unused variable `nBlocks'<br>
fs/yaffs/yaffs_fs.c: At top level:<br>
fs/yaffs/yaffs_fs.c:146: warning: 'yaffs_read_super' declared `static' but never defined<br>
fs/yaffs/yaffs_fs.c:1492: warning: 'yaffs_internal_read_super_ram' defined but not used<br>
fs/yaffs/yaffs_fs.c:1496: warning: 'yaffs_internal_read_super_mtd' defined but not used<br>
fs/yaffs/yaffs_fs.c:1562: warning: 'my_proc_ram_write_entry' defined but not used<br>
fs/yaffs/yaffs_fs.c:1636: warning: 'yaffs_proc_ram_write' defined but not used<br>
CC fs/yaffs/yaffs_guts.o<br>
fs/yaffs/yaffs_guts.c: In function `yaffs_SoftDeleteWorker':<br>
fs/yaffs/yaffs_guts.c:1119: warning: unused variable `chunkInInode'<br>
fs/yaffs/yaffs_guts.c:1122: warning: unused variable `tags'<br>
fs/yaffs/yaffs_guts.c:1123: warning: unused variable `found'<br>
fs/yaffs/yaffs_guts.c:1124: warning: unused variable `chunkDeleted'<br>
fs/yaffs/yaffs_guts.c: In function `yaffs_FlushFilesChunkCache':<br>
fs/yaffs/yaffs_guts.c:3145: warning: unused variable `nBytes'<br>
fs/yaffs/yaffs_guts.c:3141: warning: 'lowest' might be used uninitialized in this function<br>
fs/yaffs/yaffs_guts.c: At top level:<br>
fs/yaffs/yaffs_guts.c:1921: warning: 'yaffs_CheckObjectHashSanity' defined but not used<br>
fs/yaffs/yaffs_guts.c:454: warning: 'yaffs_RewriteBufferedBlock' defined but not used<br>
fs/yaffs/yaffs_guts.c:483: warning: 'yaffs_CheckWrittenBlock' defined but not used<br>
fs/yaffs/yaffs_guts.c:2368: warning: 'yaffs_DoUnlinkedFileDeletion' defined but not used<br>
LD fs/yaffs/yaffs.o<br>
LD fs/yaffs/built-in.o<br>
LD fs/built-in.o<br>
GEN .version<br>
CHK include/linux/compile.h<br>
UPD include/linux/compile.h<br>
CC init/version.o<br>
LD init/built-in.o<br>
LD .tmp_vmlinux1<br>
KSYM .tmp_kallsyms1.S<br>
AS .tmp_kallsyms1.o<br>
LD .tmp_vmlinux2<br>
KSYM .tmp_kallsyms2.S<br>
AS .tmp_kallsyms2.o<br>
LD vmlinux<br>
SYSMAP System.map<br>
SYSMAP .tmp_System.map<br>
OBJCOPY arch/arm/boot/Image<br>
Kernel: arch/arm/boot/Image is ready<br>
<br>
I cant mount the device after this ...<br>
Is there a fix for these ? Or should i use yaffs2 instead ... <br>
Thanks<br>
yonathana <br>