compiling DOC

David Woodhouse dwmw2 at infradead.org
Wed Jan 24 11:07:35 EST 2001


michalk at awpi.com said:
>  I tried with 2.4 kernels as well.  I know you guys are busy, but I
> would like a little cookbook help to be able to compile a kernel, and
> then boot off DOC.

Get stock 2.4.0 kernel.
Do this:

CONFIG_MTD=y
CONFIG_MTD_DOC2000=y
CONFIG_MTD_DOCPROBE_ADDRESS=0  ( autoprobe)
CONFIG_MTD_DOCPROBE_HIGH=n
CONFIG_MTD_DOCPROBE_55AA=y
CONFIG_NFTL=y
CONFIG_NFTL_RW=y


boot with root=/dev/nftla1 (or /dev/nftla2)


If you have to use 2.2, there are patches at 
ftp://ftp.linux-mtd.infradead.org/pub/mtd/patches/

If you apply these, you can then get the latest code from CVS (Don't use 
the ancient tarballs) and drop in the contents of the include/linux/mtd and 
drivers/mtd directories. 

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo at infradead.org



More information about the linux-mtd mailing list