NAND Writing: Difference between revisions
Jump to navigation
Jump to search
(NAND flash rewrite recipe) |
No edit summary |
||
Line 8: | Line 8: | ||
flash_eraseall -j /dev/mtd0 |
flash_eraseall -j /dev/mtd0 |
||
nandwrite -p /dev/mtd0 build131.img |
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. |
Revision as of 03:57, 30 October 2006
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.