MTD in kernel 2.4.9
Hi there,
just a newbie question: is there a way to get the current cvs version of mtd/jffs2 working with kernel 2.4.9?
I can't find any patch for current kernels and if I just spread all the files/dirs into their destination in the kernel source I can no longer compile and earn hundreds of error messages.
I'd like to use JFFS2 and I have to boot from it, so compiling separate from the kernel and making modules is not possible.
Is it possible to use the current JFFS2 with the 2.4.9's mtd drivers - or let's say: is that mtd stuff in 2.4.9 "new enough" ?
thanks,
Thomas.
Signature · 2 lines
________________________________________________________________________ Thomas Eschenbacher [email protected]
Quoted 2 lines · [email protected] said:
just a newbie question: is there a way to get the current cvs version
of mtd/jffs2 working with kernel 2.4.9?
It generally ought to work, although I'm not building JFFS2 against 2.4.9 so I haven't merged the complete_and_exit() fix yet. Other than that, what breaks?
--
dwmw2
Quoted 4 lines
Quoted 1 line
of mtd/jffs2 working with kernel 2.4.9?
It generally ought to work, although I'm not building JFFS2 against 2.4.9 so I haven't merged the
complete_and_exit()fix yet. Other than that,
The complete_and_exit() problem I experienced was fixed in the 2.4.9 AC kernel by adding the wait queue head initialization just before forking the GC thread in jffs2_start_garbage_collect_thread(). That fixed the crashing GC thread problem in unmount.
I haven't tried copying mtd CVS files over Linus kernels but on current AC kernels straight copying won't work. At least it will complain about missing up_and_exit().
Jarkko Lavinen
Quoted 9 lines · Jarkko Lavinen
[...]
Thecomplete_and_exit()problem I experienced was fixed in the 2.4.9 AC kernel by adding the wait queue head initialization just before forking the GC thread injffs2_start_garbage_collect_thread(). That fixed the crashing GC thread problem in unmount.I haven't tried copying mtd CVS files over Linus kernels but on current AC kernels straight copying won't work. At least it will complain about missing
up_and_exit().
It seems that Alan has fixed that in his patch-2.4.9-ac9.gz. JFFS2 now compiles without complaining and even the entries in Configure.in and the Makefile are present!
Thomas.