Binary Nandwrite/read to Flash
ricard.wanderlof at axis.com
Thu Mar 13 08:47:41 EDT 2008
On Thu, 13 Mar 2008, Manuel Sahm wrote:
> 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.
Ricard Wolf Wanderlöf ricardw(at)axis.com
Axis Communications AB, Lund, Sweden www.axis.com
Phone +46 46 272 2016 Fax +46 46 13 61 30
More information about the linux-mtd