Skip to contentSkip to conversation

nandwrite in FAQ

PATCH David Byron 2 participants 2 messages Aug 1, 2006 – Aug 2, 2006 Memory technology devices (MTD)

lore
Share & tools
lore
#0 lore raw

Related to
http://lists.infradead.org/pipermail/linux-mtd/2006-July/016184.html, what do you think of removing the -j argument to nandwrite in the NAND FAQ? Definitely would have saved me a bunch of time.

-DB

faq/nand.xml +1 -1
index f208d44..1a39c46 100644
@@ -43,7 +43,7 @@ is also neccecary before you copy a fs-i
 <p>Yes, as long as your chip does not contain bad blocks. Make sure, that the erasesize you set to mkfs.jffs2 
 is the same as the erasesize of your chip. Data will only be written with ECC, if your default settings for
 oob-layout selection are set for JFFS2. For bad block aware copying, use nandwrite from mtd-utils.<br />
-nandwrite -j /dev/mtdX image
+nandwrite /dev/mtdX image
 </p>
 
 <h3>Can I use seek/read/write on /dev/mtdX ?</h3>
#1 lore raw
Quoted 4 lines · David Byron

Related to
http://lists.infradead.org/pipermail/linux-mtd/2006-July/016184.html, what do you think of removing the -j argument to nandwrite in the NAND FAQ? Definitely would have saved me a bunch of time.

MTD/JFFS2 FAQs are updated not very often. Feel free to send a patch - MTD's web contents are at git://git.infradead.org/mtd-www.git, GIT howto is at http://www.linux-mtd.infradead.org/doc/git.html.

Signature · 3 lines
Best Regards,
Artem B. Bityutskiy,
St.-Petersburg, Russia.