Skip to contentSkip to conversation

mtd/utils automake attic?

DISCUSSION David Wuertele 4 participants 8 messages May 26, 2003 – May 27, 2003 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I'm trying to compile the utils directory following the automake instructions, but there seem to be files missing in my version of CVS:

automake: configure.ac' or configure.in' is required
automake: configure.in: required file `./install-sh' not found
automake: configure.in: required file ./missing' not found configure.in: 4: required file ./config.h.in' not found

When I look at the web CVS, I can see those files:

http://www.infradead.org/cgi-bin/cvsweb.cgi/mtd/util/?hideattic=0&sortby=date

They appear to be "in the attic". What does that mean? Is there a way to download these files using cvs?

Thanks,
Dave

#1 lore raw
Quoted 9 lines · David Wuertele

I'm trying to compile the utils directory following the automake instructions, but there seem to be files missing in my version of CVS:

automake: configure.ac' or configure.in' is required
automake: configure.in: required file `./install-sh' not found
automake: configure.in: required file ./missing' not found configure.in: 4: required file ./config.h.in' not found

Quoted 6 lines

When I look at the web CVS, I can see those files:

http://www.infradead.org/cgi-bin/cvsweb.cgi/mtd/util/?hideattic=0&sortby=date

They appear to be "in the attic". What does that mean? Is there a way to download these files using cvs?

It means they've been deleted from CVS. They're there only as part of the history -- you can obtain them by asking for a specific (i.e. the penultimate) version, or by date.

But don't bother -- I removed the auto* crap in favour of the proper makefiles. If you need to cross-compile, you can do so with a command such as 'make CROSS=arm-linux-gnu- mkfs.jffs2'.

You'll need to make sure that zlib is in your toolchain's sys-root or otherwise available.

Signature · 1 line
dwmw2
#2 lore raw

DWMW2> But don't bother -- I removed the auto* crap in favour of the DWMW2> proper makefiles. If you need to cross-compile, you can do so DWMW2> with a command such as 'make CROSS=arm-linux-gnu- mkfs.jffs2'.

DWMW2> You'll need to make sure that zlib is in your toolchain's DWMW2> sys-root or otherwise available.

Apparently that's not all you need. I haven't been able to get any version to compile due to my kernel's jffs2.h not defining jint16_t and friends. Unfortunately, I can't patch my kernel because it contains NAND code specific to my board that gets munged by patchin.sh.

Dave

#3 lore raw
Quoted 9 lines · David Wuertele

DWMW2> You'll need to make sure that zlib is in your toolchain's DWMW2> sys-root or otherwise available.

Apparently that's not all you need. I haven't been able to get any version to compile due to my kernel's jffs2.h not defining jint16_t and friends. Unfortunately, I can't patch my kernel because it contains NAND code specific to my board that gets munged by patchin.sh.

Your kernel contains NAND code that is missing from mtd cvs? Care to provide a patch or at least the source files in question?

Jörn

Signature · 2 lines
Schrödinger's cat is <BLINK>not</BLINK> dead.
-- Illiad
#4 lore raw
Quoted 4 lines · Jörn Engel
Quoted 3 lines · David Wuertele

DWMW2> You'll need to make sure that zlib is in your toolchain's DWMW2> sys-root or otherwise available.

Quoted 8 lines
Quoted 5 lines

Apparently that's not all you need. I haven't been able to get any version to compile due to my kernel's jffs2.h not defining jint16_t and friends. Unfortunately, I can't patch my kernel because it contains NAND code specific to my board that gets munged by patchin.sh.

Your kernel contains NAND code that is missing from mtd cvs? Care to provide a patch or at least the source files in question?

Would be easy :)

Another possibility. Patch your stuff into mtd/drivers/mtd/nand directory and run then patchin.sh on your kernel.

Signature · 5 lines
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: [email protected]
#5 lore raw

Thomas> Another possibility. Patch your stuff into
Thomas> mtd/drivers/mtd/nand directory and run then patchin.sh on your Thomas> kernel.

That was the first thing I tried, but the patches didn't take. There were so many errors I didn't think it was worth the time to track them all down.

#6 lore raw
In reply to Jörn Engel

Jörn> Your kernel contains NAND code that is missing from mtd cvs? Jörn> Care to provide a patch or at least the source files in Jörn> question?

Of course I don't mind, it is GPL after all. But I doubt it will be useful to you: it is specifically for my vendor's CPU, and if you have their CPU you have this code already.

#7 lore raw
Quoted 7 lines · David Wuertele

Jörn> Your kernel contains NAND code that is missing from mtd cvs? Jörn> Care to provide a patch or at least the source files in Jörn> question?

Of course I don't mind, it is GPL after all. But I doubt it will be useful to you: it is specifically for my vendor's CPU, and if you have their CPU you have this code already.

It's not a problem, that it's specifically for this CPU.
The problem is that it's totaly incompatible to MTD stuff. It's based on 2 year old MTD code and does not match the current MTD-CVS implementation. A lot of stuff like bad block mapping ... is in there, which is likely to be a PITA, if you try to run current JFFS2 code on top of it.

Signature · 5 lines
Thomas
________________________________________________________________________
linutronix - competence in embedded & realtime linux
http://www.linutronix.de
mail: [email protected]