NAND Writing

From OLPC
Revision as of 03:54, 30 October 2006 by 64.203.28.184 (talk) (NAND flash rewrite recipe)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This is a recipe for erasing the NAND Flash and rewriting it, in the event that the bad block table is potentially messed up.

Boot from a USB key, passing the cmdline argument "cafe_nand.skipbbt=1"

Login as root

modprobe mtdchar
flash_eraseall -j /dev/mtd0
nandwrite -p /dev/mtd0 build131.img