From: Alexandru Harsanyi <a.harsanyi@willhart-tech.com>
To: Linux Mtd <linux-mtd@lists.infradead.org>
Subject: Re: DOC 2000 driver (NFTL) in kernel 2.4.7
Date: Wed, 08 Aug 2001 12:30:37 +0800 [thread overview]
Message-ID: <3B70C06D.5908CAC8@willhart-tech.com> (raw)
In-Reply-To: 30960.997176999@redhat.com
Hi,
I updated to the lastest CVS, and moved the driver code into the 2.4.7
kernel source.
At boot I get the following messages (debug verbosity was set to 3):
M-Systems DiskOnChip driver. (C) 1999 Machine Vision Holdings, Inc.
DiskOnChip 2000 found at address 0xC8000
Flash chip found: Manufacturer ID: 98, Chip ID: 6B (Toshiba TC5832DC)
3 flash chips found. Total DiskOnChip size: 12 MiB
mtd: Giving out device 0 to DiskOnChip 2000
NFTL driver: nftlcore.c $Revision: 1.77 $, nftlmount.c $Revision: 1.20 $
NFTL_notify_add for DiskOnChip 2000
mtd->read = c0181a20, size = 12582912, erasesize = 8192
NFTL_setup
_DoC_WaitReady called for out-of-line wait
ANAND header found at 0xc000 in mtd0, but ECC read failed (err 1)
_DoC_WaitReady called for out-of-line wait
ANAND header found at 0xe000 in mtd0, but ECC read failed (err 1)
Could not find valid boot record
Could not mount NFTL device
----------
It seems to me that there's an ECC error when reading the DOC. With the
M-Systems provided driver, the chip works fine, so I suspect there's a
problem at the ECC computation. That would explain why, when formating
the chip with the linux-mtd tools it works (as Saul Thurrowgood
<saul@cvs.anu.edu.au> reported)
It would be interesting to test whether a chip formated with linux-mtd
tools works with the M-System provided driver.
My DOC was formated using M-Systems tools and the partitions on it are
MS-DOS. For non-technical reasons I cannot reformat the chip.
Best Regards,
Alex.
David Woodhouse wrote:
>
> saul@cvs.anu.edu.au said:
> > I fixed it by formatting with nftl_format (also comes with MTD
> > source), providing it a 240k offset so it would not trash the BIOS at
> > the beginning of the chip (Ampro specific).
>
> That's normally 48KiB for the standard on-device firmware, I think.
>
> > Works fine! So, what's the difference between the two formats?!? Both
> > start at the exact same place on the DOC, as seen by running nftldump
> > before and after.
>
> Please upgrade to the latest version from CVS (nftlmount.c v1.20). It'll be
> a lot more explicit about its reasons for rejecting any media headers which
> it finds.
>
> --
> dwmw2
next prev parent reply other threads:[~2001-08-08 4:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <E15RXGo-00058Q-00@pentafluge.infradead.org>
2001-08-01 3:46 ` DOC 2000 driver (NFTL) in kernel 2.4.7 Saul Thurrowgood
2001-08-07 9:36 ` David Woodhouse
2001-08-08 4:30 ` Alexandru Harsanyi [this message]
2001-08-08 6:42 ` David Woodhouse
2001-08-08 7:42 ` Alexandru Harsanyi
2001-08-08 8:52 ` David Woodhouse
2001-07-31 4:40 Alexandru Harsanyi
2001-07-31 20:45 ` David Woodhouse
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=3B70C06D.5908CAC8@willhart-tech.com \
--to=a.harsanyi@willhart-tech.com \
--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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.