public inbox for linux-mtd@lists.infradead.org
 help / color / mirror / Atom feed
From: David Woodhouse <dwmw2@infradead.org>
To: m.gibson@esesixtech.com
Cc: mtd@infradead.org
Subject: Re: Kernel panic DiskOnChip /Newbie question
Date: Mon, 05 Mar 2001 12:39:10 +0000	[thread overview]
Message-ID: <15844.983795950@redhat.com> (raw)
In-Reply-To: <002101c0a56c$5caf3090$3201a8c0@thinstuff.com>


m.gibson@esesixtech.com said:
> " DidnŽt read all bytes in flash_safe_read(). Returned 0 " 

The read/write/erase routines for the DiskOnChip hardware don't currently 
support reads/writes greater than one page, or erases greater than one 
eraseblock. You need to put a simple loop in to read/write multiple pages 
and erase multiple blocks when it's asked to do so.

The reason NFTL works OK is because it doesn't ask the hardware driver to 
do that.

Using JFFS on NAND flash isn't tested very aggressively yet.

--
dwmw2




To unsubscribe, send "unsubscribe mtd" to majordomo@infradead.org

      reply	other threads:[~2001-03-05 12:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-05 12:03 Kernel panic DiskOnChip /Newbie question Michael Gibson
2001-03-05 12:39 ` David Woodhouse [this message]

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=15844.983795950@redhat.com \
    --to=dwmw2@infradead.org \
    --cc=m.gibson@esesixtech.com \
    --cc=mtd@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