Hi all,
Is there anyone who achieve yaffs support on am335x?
I tried but failed.
I used my current yaffs pack, when I run patch-ker.sh, it told me this version doesn't support kernel 3.2. So I downloaded the latest version from www.yaffs.net.
firstly, I run:
./patch-ker.sh c m linux-3.2/
the first problem I met is the Makefile in the yaffs2 directory:
yaffs-y += yaffs_mtdif.o yaffs_mtdif1.o yaffs_mtdif2.o
but there is no file named yaffs_mtdif1.c yaffs_mtdif2.c in this version. there is only a yaffs_mtdif_multi.c
So I change the line to:
yaffs-y += yaffs_mtdif_multi.o
But at the time of the final link:
...
LD init/built-in.o
LD .tmp_vmlinux1
fs/built-in.o: In function `yaffs_guts_initialise':
yaffs_verify.c:(.text+0xef8a8): undefined reference to `yaffs_tags_marshall_install'
make: *** [.tmp_vmlinux1] error 1
So I run pach-ker.sh like this:
./patch-ker.sh c s linux-3.2/
More errors appear when compilation, I think it's not the right way.
Is there any one who can help me out?
Thank you very much.
Best regards,
Lihua