NAND Writing

From OLPC
Revision as of 03:57, 30 October 2006 by 141.154.57.19 (talk)
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

Reboot, and the BBT should be recreated as cafe_nand loads, based on the bad blocks found during formatting.