From: Matthieu CASTET <matthieu.castet@parrot.com>
To: Ricard Wanderlof <ricard.wanderlof@axis.com>
Cc: Manuel Sahm <Manuel.Sahm@feig.de>,
Linux mtd <linux-mtd@lists.infradead.org>
Subject: Re: Binary Nandwrite/read to Flash
Date: Thu, 13 Mar 2008 15:27:57 +0100 [thread overview]
Message-ID: <47D939ED.2090909@parrot.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0803131345580.6032@lnxricardw.se.axis.com>
Ricard Wanderlof wrote:
> On Thu, 13 Mar 2008, Manuel Sahm wrote:
>
>> Hello,
>>
>> is it possible to write directly to nandflash, or to store a file in
>> nand flash ?
>
> Yes, use the mtdtools applications nandwrite and nanddump in order to skip
> bad blocks during read and write. You'll need the pad option to nandwrite
> in order to fill out to an even multiple of the page size.
>
> If you're writing a file, it really is raw byte by byte, with no
> indication of file size, access times etc, so to the extent you need that
> info you'll have to store it explicitly.
>
And if bits flip appear you've got a problem : you need to rewrite the file.
Matthieu
prev parent reply other threads:[~2008-03-13 14:28 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-13 12:18 Binary Nandwrite/read to Flash Manuel Sahm
2008-03-13 12:47 ` Ricard Wanderlof
[not found] ` <47D92581.1030007@feig.de>
2008-03-13 13:53 ` Ricard Wanderlof
2008-03-13 14:22 ` Manuel Sahm
2008-03-13 14:26 ` Ricard Wanderlof
2008-03-13 15:12 ` Manuel Sahm
2008-03-14 7:41 ` Ricard Wanderlof
2008-03-13 14:27 ` Matthieu CASTET [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=47D939ED.2090909@parrot.com \
--to=matthieu.castet@parrot.com \
--cc=Manuel.Sahm@feig.de \
--cc=linux-mtd@lists.infradead.org \
--cc=ricard.wanderlof@axis.com \
/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;
as well as URLs for NNTP newsgroup(s).