Skip to contentSkip to conversation

2.2.18 status + jffs2

DISCUSSION david stevenson 2 participants 3 messages Oct 23, 2003 – Oct 24, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Hi
I am very new to this and am having problems understanding the current position.
I am trying to build a linux system for a amd cs400 based system with amd 29f016 chips as the root fs.
I have the mtd-jffs-howto dated aug2001 and the mtd-patch-2.2.18 of 20001218, but following the instructions gives me compile errors with __exit. So I have added #define __exit to fix these and now I get "undefined reference to init_mtd". Looking through this list archives I find in feb2001 reference to changing the method of init calls. But I guess I do not have this change. I did try applying the current CVS patch file, but it refuses to run on 2.2.18.

Am I going in the wrong direction?
Is it possible to use jffs2 on these chips in 2.2.18?
The reason for not using a later kernel is problems booting it with the alios bootloader, but I guess I could revisit those.

If it is practical in 2.2.18 can you advise which patches I should be using. Thanks
David
PS I am using mtd to write the pcmcia flash card on my host machine which is working very well - the code is much appreciated.

#1 lore raw

I'd be reluctant to talk to you if it was 2.4.18 you were using. 2.2.18 is just too old.

Someone did work on backporting JFFS2 to the 2.2 kernel a couple of years ago. If I recall correctly, last time I asked, he'd abandoned the effort since it no longer made any sense to be using 2.2.

Update your kernel.

Signature · 1 line
dwmw2
#2 lore raw
Quoted 8 lines · David Woodhouse

I'd be reluctant to talk to you if it was 2.4.18 you were using. 2.2.18 is just too old.

Someone did work on backporting JFFS2 to the 2.2 kernel a couple of years ago. If I recall correctly, last time I asked, he'd abandoned the effort since it no longer made any sense to be using 2.2.

Update your kernel.

OK, not the reply I had hoped for but understood.

Can I propose the documentation needs updating to this status. In ftp.infradead.org/pub/mtd/patches a readme to say the 2.2.x is no longer supported. And changes to the mtd-jffs-HOWTO.txt where specific instructions how to use 2.2.18 are given.
David