[PATCH] cafe_nand: remove busy-wait loop
David Woodhouse
dwmw2 at infradead.org
Wed Dec 10 17:05:39 EST 2008
On Wed, 2008-12-10 at 15:36 -0500, Chris Ball wrote:
> Hi John,
>
> > It's unfortunate that there's no "block device" way to access Flash
> > chips in Linux without using a filesystem at all. It's much easier
> > to measure and tune I/O performance without a filesystem first,
> > then see what (filesystem or driver) optimizations are required to
> > make a particular filesystem fast on that device.
What's wrong with just reading from the character device /dev/mtd0?
> Does e.g. "dd if=mtd0 of=somefile bs=1M count=20" accomplish this?
> (When a program expects a block device argument, you can give a raw
> "mtd0" instead.)
No, that's only for mount.
--
David Woodhouse Open Source Technology Centre
David.Woodhouse at intel.com Intel Corporation
More information about the Devel
mailing list