DOC2000 flash: Do I miss something?
ravi.vasarla at sasken.com
Mon Mar 23 05:44:35 EDT 2009
Kindly check the DOC2000 driver which is available under -> Device Drivers-> Memory Technology Devices (MTD)-> Memory Technology Device (MTD) support (MTD [=m])-> NAND Flash Device Drivers (Which has recommanded too).
The below error message due to the way old doc driver implemented.
From: linux-mtd-bounces at lists.infradead.org [linux-mtd-bounces at lists.infradead.org] On Behalf Of Juergen Beisert [jbe at pengutronix.de]
Sent: Monday, March 23, 2009 13:22
To: linux-mtd at lists.infradead.org
Subject: DOC2000 flash: Do I miss something?
I'm trying to use a DiskOnChip device (MD2202-D16) on my x86 based board.
I activated all available DOC drivers in the current 18.104.22.168 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?
Linux MTD discussion mailing list
SASKEN BUSINESS DISCLAIMER
This message may contain confidential, proprietary or legally privileged information. In
case you are not the original intended Recipient of the message, you must not, directly or
indirectly, use, Disclose, distribute, print, or copy any part of this message and you are
requested to delete it and inform the sender. Any views expressed in this message are
those of the individual sender unless otherwise stated. Nothing contained in this message
shall be construed as an offer or acceptance of any offer by Sasken Communication
Technologies Limited ("Sasken") unless sent with that express intent and with due
authority of Sasken. Sasken has taken enough precautions to prevent the spread of
viruses. However the company accepts no liability for any damage caused by any virus
transmitted by this email
More information about the linux-mtd