DOC2000 flash: Do I miss something?

Juergen Beisert jbe at
Mon Mar 23 03:52:01 EDT 2009


I'm trying to use a DiskOnChip device (MD2202-D16) on my x86 based board.
I activated all available DOC drivers in the current kernel, but only
the DOC2000 driver will work with this device: 

DiskOnChip 2000 found at address 0xD8000
Flash chip found: Manufacturer ID: 98, Chip ID: 73 (Toshiba:NAND 16MiB 3,3V 8-bit)
1 flash chips found. Total DiskOnChip size: 16 MiB
mtd: Giving out device 0 to DiskOnChip 2000
Ignoring DiskOnChip 2000 at 0xDA000 - already configured
DiskOnChip failed TOGGLE test, dropping.

$ cat /proc/mtd
dev:    size   erasesize  name
mtd0: 01000000 00004000 "DiskOnChip 2000"

$ ls /dev/mtd*
/dev/mtd0       /dev/mtd0ro     /dev/mtdblock0

But I can't work with it:

$ flash_eraseall /dev/mtd0
/dev/mtd0: Bad block check not available

$ nandwrite -j /dev/mtd0 root.jffs2
MEMGETINFO: Inappropriate ioctl for device

Is it due to this driver is marked as "depricated"? What can I use an an
alternative to make the device work again?


More information about the linux-mtd mailing list