DiskOnChip & JFFS1/2
Im trying to setup a JFFS1/2 filesytem on the 48MB DiskOnChip. Seems Ive run into a few problems that I cant find answers to.
1). If I download the the latest cvs source of the mtd and patch it in with the 2.4.19 kernel the jffs2 support will not compile. background.c tells me that recalc_sigpending passed 1 argument but takes 0. JFFS2 support compiles fine from the unpatched source.
2). Using the support from the 2.4.19 kernel I got the kernel to reconize the diskonchip but I get the following error when trying to create a JFFS2 filesystem:
ECC needs a full sector write ( addr 400 size 4c ).
What the heck does that mean? I cant find much expect a message post saying disk on chip does not support jffs filesystems.
Any help would be greatly appreciated.
Carl Przybylek
Quoted 4 lines · [email protected] said:
1). If I download the the latest cvs source of the mtd and patch it
in with the 2.4.19 kernel the jffs2 support will not compile.background.ctells me thatrecalc_sigpendingpassed 1 argument but takes 0. JFFS2 support compiles fine from the unpatched source.
Get include/linux/mtd/compatmac.h too.
Quoted 5 lines
2). Using the support from the 2.4.19 kernel I got the kernel to reconize the diskonchip but I get the following error when trying to create a JFFS2 filesystem: ECC needs a full sector write ( addr 400 size 4c ). What the heck does that mean? I cant find much expect a message post saying disk on chip does not support jffs filesystems.
You need the latest CVS code and it should mostly work.
--
dwmw2
A message that is not in the archive (sent off-list or not yet received): [email protected]
seems the jffs2 directory was left out of the patchin.sh file if you run into this just add
ln -sf $TOPDIR/fs/jffs2/*.[ch] fs/jffs2
ln -sf $TOPDIR/fs/jffs2/*akefile fs/jffs2
ln -sf $TOPDIR/include/linux/jffs2*.h include/linux
to the file to fix it.
Thanks for the help
Carl Przybylek
Quoted 11 lines · David Woodhouse
Quoted 5 lines · [email protected] said:
Why does the
compatmac.hredefinerecalc_sigpendingifbackground.c
just calls it as is//background.c
recalc_sigpending(current);It doesn't. You're looking at an old version of
background.c.--
dwmw2