Compare 'cp' and 'nandwrite'

Ricard Wanderlof ricard.wanderlof at axis.com
Thu Feb 15 16:16:32 EST 2007


On Thu, 15 Feb 2007, Jitendra Jain wrote:

> Hi all,
>
> Can anyone explains me the difference between using nandwrite and cp
> command for flashing JFFS2 filesystem?

Nandwrite skips bad blocks in a nand flash when writing, whereas cp will 
stop with a write error as soon as it encounters one. If you don't have 
any bad blocks in the flash (or at least not where you want to write your 
image), there should be no practical difference.

/Ricard
--
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 mailing list