* patch for nand support linux-2.4.21 jffs2?
@ 2004-05-18 14:59 Teuling, Sieme
2004-05-18 15:10 ` David Woodhouse
2004-05-19 9:55 ` Simon Haynes
0 siblings, 2 replies; 8+ messages in thread
From: Teuling, Sieme @ 2004-05-18 14:59 UTC (permalink / raw)
To: 'David Woodhouse',
'linux-mtd@lists.infradead.org'
Ay!, I guess that means I'm looking at a fairly big merging effort, since
using 2.4.26 is unfortunally not an option for me (we already ported 2.4.21
to an embedded platform).
Do you guess merging the 2.4.26 mtd/jffs2 code into the 2.4.21 kernel is the
(feasible) approach which most likely will take the least effort?, or is
that likely just as much work as trying to merge the latest snapshot into
the 2.4.21 kernel?
Thanx in advance,
-----Original Message-----
From: David Woodhouse [mailto:dwmw2@infradead.org]
Sent: Tuesday, May 18, 2004 4:29 PM
To: Teuling, Sieme
Cc: 'linux-mtd@lists.infradead.org'
Subject: Re: patch for nand support linux-2.4.21 jffs2?
On Tue, 2004-05-18 at 08:07 -0600, Teuling, Sieme wrote:
> Is this a known problem with a know solution?
Problem and solution are 2.4.21 and 2.4.26 respectively.
--
dwmw2
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: patch for nand support linux-2.4.21 jffs2?
2004-05-18 14:59 patch for nand support linux-2.4.21 jffs2? Teuling, Sieme
@ 2004-05-18 15:10 ` David Woodhouse
2004-05-19 9:55 ` Simon Haynes
1 sibling, 0 replies; 8+ messages in thread
From: David Woodhouse @ 2004-05-18 15:10 UTC (permalink / raw)
To: Teuling, Sieme; +Cc: 'linux-mtd@lists.infradead.org'
On Tue, 2004-05-18 at 08:59 -0600, Teuling, Sieme wrote:
> Ay!, I guess that means I'm looking at a fairly big merging effort, since
> using 2.4.26 is unfortunally not an option for me (we already ported 2.4.21
> to an embedded platform).
The changes from 2.4.21 to 2.4.26 should be relatively easy to merge.
Save yourself the heartache and just do it. As an added bonus you get a
kernel which isn't remotely exploitable.
> Do you guess merging the 2.4.26 mtd/jffs2 code into the 2.4.21 kernel is the
> (feasible) approach which most likely will take the least effort?, or is
> that likely just as much work as trying to merge the latest snapshot into
> the 2.4.21 kernel?
The only way you'll get it working is if you start backporting changes
in the core VFS code from 2.4.26.
Put 2.4.21 into CVS, update the CVS tree to 2.4.26 too. Now check out
2.4.21 and apply your own patches, having made sure there's no
gratuitous whitespace noise in your changes. Then CVS update and you
should find it's fairly easy to make it work.
--
dwmw2
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: patch for nand support linux-2.4.21 jffs2?
2004-05-18 14:59 patch for nand support linux-2.4.21 jffs2? Teuling, Sieme
2004-05-18 15:10 ` David Woodhouse
@ 2004-05-19 9:55 ` Simon Haynes
2004-05-19 10:09 ` David Woodhouse
1 sibling, 1 reply; 8+ messages in thread
From: Simon Haynes @ 2004-05-19 9:55 UTC (permalink / raw)
To: 'David Woodhouse', linux-mtd, Teuling, Sieme
On 18 May 2004 at 8:59, Teuling, Sieme wrote:
> Ay!, I guess that means I'm looking at a fairly big merging effort,
> since using 2.4.26 is unfortunally not an option for me (we already
> ported 2.4.21 to an embedded platform).
I used an ilookup patch for 2.4.21 and this seemed to work for me.
I got mine from the web but I think there is a patch in cvs mtd/patches
Cheers
Simon.
__________________________
Simon Haynes - Baydel
Phone : 44 (0) 1372 378811
Email : simon@baydel.com
__________________________
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: patch for nand support linux-2.4.21 jffs2?
2004-05-19 9:55 ` Simon Haynes
@ 2004-05-19 10:09 ` David Woodhouse
0 siblings, 0 replies; 8+ messages in thread
From: David Woodhouse @ 2004-05-19 10:09 UTC (permalink / raw)
To: Simon Haynes; +Cc: 'linux-mtd@lists.infradead.org', Teuling, Sieme
On Wed, 2004-05-19 at 10:55 +0100, Simon Haynes wrote:
> On 18 May 2004 at 8:59, Teuling, Sieme wrote:
>
> > Ay!, I guess that means I'm looking at a fairly big merging effort,
> > since using 2.4.26 is unfortunally not an option for me (we already
> > ported 2.4.21 to an embedded platform).
>
> I used an ilookup patch for 2.4.21 and this seemed to work for me.
> I got mine from the web but I think there is a patch in cvs mtd/patches
It's buggy. There are other fixes to it in 2.4.26.
--
dwmw2
^ permalink raw reply [flat|nested] 8+ messages in thread
* patch for nand support linux-2.4.21 jffs2?
@ 2004-05-18 14:07 Teuling, Sieme
2004-05-18 14:28 ` David Woodhouse
0 siblings, 1 reply; 8+ messages in thread
From: Teuling, Sieme @ 2004-05-18 14:07 UTC (permalink / raw)
To: 'linux-mtd@lists.infradead.org'
Thanx for the replies,
I have tried to run the mtd patch from cvs on my kernel tree (sh patchin.sh
-j /../linux-2.4.21), but now my kernel doesn't compile anymore, I get:
fs/fs.o(.text+0x4d860): In function `jffs2_gc_fetch_inode':
/../linux-2.4.21/fs/jffs2/fs.c:561: undefined reference to `ilookup'
Is this a known problem with a know solution?
Sieme,
^ permalink raw reply [flat|nested] 8+ messages in thread
* patch for nand support linux-2.4.21 jffs2?
@ 2004-05-18 11:42 Teuling, Sieme
2004-05-18 12:31 ` Thomas Gleixner
0 siblings, 1 reply; 8+ messages in thread
From: Teuling, Sieme @ 2004-05-18 11:42 UTC (permalink / raw)
To: 'linux-mtd@lists.infradead.org'
Hi,
I'm working with a linux 2.4.21 port and I just found out jffs2 has no
nand support (bad block handling) in this version.
Is there a patch available to solve this?, or if not, what is the best
thing to do to get the 2.4.21 to work with nand flashes?
Please help,
Sieme
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: patch for nand support linux-2.4.21 jffs2?
2004-05-18 11:42 Teuling, Sieme
@ 2004-05-18 12:31 ` Thomas Gleixner
0 siblings, 0 replies; 8+ messages in thread
From: Thomas Gleixner @ 2004-05-18 12:31 UTC (permalink / raw)
To: Teuling, Sieme, 'linux-mtd@lists.infradead.org'
On Tuesday 18 May 2004 13:42, Teuling, Sieme wrote:
> Hi,
>
> I'm working with a linux 2.4.21 port and I just found out jffs2 has no
> nand support (bad block handling) in this version.
> Is there a patch available to solve this?, or if not, what is the best
> thing to do to get the 2.4.21 to work with nand flashes?
Use current MTD CVS code.
--
Thomas
________________________________________________________________________
Steve Ballmer quotes the statistic that IT pros spend 70 percent of their
time managing existing systems. That couldn’t have anything to do with
the fact that 99 percent of these systems run Windows, could it?
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: tglx@linutronix.de
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-05-19 10:09 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-18 14:59 patch for nand support linux-2.4.21 jffs2? Teuling, Sieme
2004-05-18 15:10 ` David Woodhouse
2004-05-19 9:55 ` Simon Haynes
2004-05-19 10:09 ` David Woodhouse
-- strict thread matches above, loose matches on Subject: below --
2004-05-18 14:07 Teuling, Sieme
2004-05-18 14:28 ` David Woodhouse
2004-05-18 11:42 Teuling, Sieme
2004-05-18 12:31 ` Thomas Gleixner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox