[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: jffs2 with kernel 2.2.12?
With my current 2.2.12-based kernel, I have an old version of mtd and jffs1
working and I'm not using modules. Actually, the config I'm using doesn't
support mtd or jffs as modules (probably because of the same problems you
If I compare the jffs patchin.sh with my kernel, my code contains equivalent
changes for much of the patch. One exception is modules.c - though I have some
changes related in incrementing/decrementing usage count, I do not seem to have
similar code for the complete MOD_INITIALIZING and backport inter_module_xxx
from 2.4 changes. If you want more details on all of this, I can provide.
Meanwhile, I'm going to try to move to the current mtd and then jffs2. One
concern I still have is that 2.2.12 does not seem to have everything required
for jffs2 - examples: generic_read_dir(), setattr in inode_operations,
init_special_inode(), etc. Version 2.2.18 also doesn't seem to resolve many of
these problems. Am I missing something? Do I really need 2.4?
> From: Vipin Malik[SMTP:firstname.lastname@example.org]
> Sent: Friday, June 29, 2001 6:08 AM
> To: Barbara Prusiewicz
> Cc: 'email@example.com'
> Subject: Re: jffs2 with kernel 2.2.12?
> Barbara Prusiewicz wrote:
> > I'm just getting started with jffs2 and my current kernel is based on
> > In the jffs howto, I saw that I could go with 2.2.17/18 and add the patch
> > then install the jffs files.
> Actually, if you don't have the MTD stuff working, I suggest going to the
> version where
> modules work, get your MTD drivers going for the (flash) chip you are using,
> the partitions are you want
> and then migrate to the 2.2.x version if you really have to.
> Trying to get MTD working w/o modules will be a royal pain and I could not
> get MTD to work as modules under the 2.2.x kernels. If you do manage, pl
> drop me a line with details and I'll update my howto.
> > At this time, I'm a little hesitant to try to
> > update to 2.2.17/18.
> Any particular reason?
> > Assuming I can apply the patch to my kernel source, does
> > anyone know if there is anything else between 2.2.12 & 2.2.17 that I will
> > for jffs or mtd? For example, does 2.2.12 have all the right fs code?
> The biggest hurdle will be the patch. Actually, just skip the patch and go the
> utils/patchin.sh route. You will still have to manually edit the fs/Makefile
> to include support for JFFS/JFFS2.
> Best of Luck.
To unsubscribe from this list: send the line "unsubscribe jffs-dev" in
the body of a message to firstname.lastname@example.org