Skip to contentSkip to conversation

doc2000 problem

DISCUSSION zhang jingxin 2 participants 2 messages Dec 9, 2004 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

I am sorry to write another mail as I use a bad mailtool.

Quoted 3 lines

Kalev Lember added Millenium+ support to diskonchip.c. I think he sent an announcement to the list, but since you're not using that device I won't go into detail.

And I find this head in the diskonchip.c.
/*
* drivers/mtd/nand/diskonchip.c
*
* (C) 2003 Red Hat, Inc.
* (C) 2004 Dan Brown <[email protected]>
* (C) 2004 Kalev Lember <[email protected]>
*/

So I think there is no problem you metioned.

Quoted 2 lines

BBT handling was added for DOC2000 original after I wrote this email. It should work just fine with JFFS2 (it does for me).

I use the mtd-util-20011008.tar.bz2. It should not have BBT problem.

Quoted 3 lines

Proper probing did indeed come soon, as I copied it more-or-less verbatim from the old driver. The kernel configuration options (and accompanying help text) should hopefully make this clear.

I use the right position,and it shows this:

Dec  8 10:23:52 localhost kernel: Using configured DiskOnChip probe
address 0xd8000
Dec  8 10:23:52 localhost kernel: DiskOnChip found at 0xd8000

I read this from mtd/device/docprobe.c.
static unsigned long __initdata doc_locations[] = {
#if defined (__alpha__) || defined(__i386__) || defined(__x86_64__)

#ifdef CONFIG_MTD_DOCPROBE_HIGH
        0xfffc8000, 0xfffca000, 0xfffcc000, 0xfffce000,
        0xfffd0000, 0xfffd2000, 0xfffd4000, 0xfffd6000,
        0xfffd8000, 0xfffda000, 0xfffdc000, 0xfffde000,
        0xfffe0000, 0xfffe2000, 0xfffe4000, 0xfffe6000,
        0xfffe8000, 0xfffea000, 0xfffec000, 0xfffee000,
#else /*  CONFIG_MTD_DOCPROBE_HIGH */
        0xc8000, 0xca000, 0xcc000, 0xce000,
        0xd0000, 0xd2000, 0xd4000, 0xd6000,
        0xd8000, 0xda000, 0xdc000, 0xde000,
        0xe0000, 0xe2000, 0xe4000, 0xe6000,
        0xe8000, 0xea000, 0xec000, 0xee000,

#endif /* CONFIG_MTD_DOCPROBE_HIGH */

Quoted 3 lines

Did you create the device nodes in /dev? Unless you're using devfs or suchlike, device nodes are not automatically created for you (even though the devices themselves were created when you loaded the

modules).

Quoted 2 lines

Try running the MAKEFILE script included in the mtd CVS (in the util
directory).

I run MAKEFILE.
It return like this
mtd* file exist.

flash_eraseall -j /dev/mtd1
it doesn't recongize the device.
it return no such device.

Then what should I do??

#1 lore raw
Quoted 3 lines · zhang jingxin

flash_eraseall -j /dev/mtd1
it doesn't recongize the device.
it return no such device.

Provide the output of

# ls -l /dev/mtd*

tglx