Nand erase
From Openmoko
To make a NAND erase, you need to connect to your device while in uboot using minicom or cu. The device will usually be called /dev/ttyACM0.
cu -l /dev/ttyACM0
After connecting, you should get a prompt, where you can write:
- nand erase clean rootfs
- nand erase clean kernel