Skip to contentSkip to conversation

Slightly confuzed...

DISCUSSION Charles Steinkuehler 1 participant 2 messages Dec 11, 2001 – Dec 12, 2001 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I'm working on building a kernel with the latest patches from the FTP site, and digging through the code from CVS, but I've got a (hopefully simple) question:

Which driver should I use for "conventional" (at least to me :) Atmel parts, like the 29C010, 29C040, etc? Everything I've looked at so far in the code seems to want to talk to a DiskOnChip or the "wacky" CIS type flash (and predecessors) you have to send commands to.

Or is using the 29Cxxx series flash so simple the code is left as an exercise for the reader? ;-)

Charles Steinkuehler
[email protected]

#1 lore raw

Newbie questions

OK, I have to ask for help.

I'm trying to compile MTD on a 2.2.19 kernel and am getting all turned around. I've found several patch files (in the CVS patches directory, and on the FTP site), but these all see to be ancient (like a year old or so).

Running the patchin.sh script in the patches directory seems to hook the CVS code into my kernel tree, but the kernel build system is left unmodified.

Finally, a simple "make" in the top level of the CVS directory doesn't work, I think because I can't get my kernel patched properly.

I'm no stranger to writing code, or patching/compiling kernels, I'm just seeing too many half-finished trails to figure out which one I'm supposed to follow...

So, how does one compile MTD for a 2.2.x kernel?

Charles Steinkuehler
[email protected]