From: Juergen Beisert <jbe@pengutronix.de>
To: linux-mtd@lists.infradead.org
Subject: DOC2000 flash: Do I miss something?
Date: Mon, 23 Mar 2009 08:52:01 +0100 [thread overview]
Message-ID: <200903230852.02597.jbe@pengutronix.de> (raw)
Hi,
I'm trying to use a DiskOnChip device (MD2202-D16) on my x86 based board.
I activated all available DOC drivers in the current 2.6.28.8 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?
Regards,
Juergen
next reply other threads:[~2009-03-23 7:52 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-03-23 7:52 Juergen Beisert [this message]
2009-03-23 9:44 ` DOC2000 flash: Do I miss something? Ravi Vasarla
2009-03-23 10:21 ` Juergen Beisert
2009-03-23 19:29 ` Juergen Beisert
2009-03-24 6:46 ` Ravi Vasarla
2009-03-24 7:00 ` Ravi Vasarla
2009-03-24 12:49 ` Juergen Beisert
2009-03-24 13:07 ` Ravi Vasarla
2009-03-24 14:00 ` Juergen Beisert
2009-03-24 16:03 ` Ravi Vasarla
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200903230852.02597.jbe@pengutronix.de \
--to=jbe@pengutronix.de \
--cc=linux-mtd@lists.infradead.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox