Nand erase

From Openmoko

(Difference between revisions)
Jump to: navigation, search
m (chown uucp.uucp /dev/ttyACM0 => sudo chown uucp.uucp /dev/ttyACM0)
m (-Documentation, -Technical, -Software (non-openmoko), +Flash)
 
(8 intermediate revisions by 8 users not shown)
Line 1: Line 1:
 
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. You might need to  
 
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. You might need to  
  
sudo chown uucp.uucp /dev/ttyACM0
+
sudo chown uucp.uucp /dev/ttyACM0
  
 
to get the necessary right (even as root). Using cu, you can then access the Neo:
 
to get the necessary right (even as root). Using cu, you can then access the Neo:
Line 7: Line 7:
 
  cu -l /dev/ttyACM0
 
  cu -l /dev/ttyACM0
  
After connecting, you should get a prompt, where you can write:
+
After connecting, you should get a prompt where you can tell u-boot to clean certain parts of the NAND memory.
  
# nand erase clean rootfs
+
{{warning|Before you hit enter on one of the following commands, make sure that you are *not* issuing a plain "nand erase" command - always make sure you tell it which partition to erase. If you forget this you'll brick the Neo1973 and you'll need a debug board to recover it. For FreeRunner, you can recover using the NOR flash.}}
# nand erase clean kernel
+
 
 +
nand erase rootfs
 +
nand erase kernel
 +
 
 +
To exit cu you need to type:
 +
 
 +
~.
 +
 
 +
[[Category:Flash]]

Latest revision as of 22:15, 12 September 2008

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. You might need to

sudo chown uucp.uucp /dev/ttyACM0

to get the necessary right (even as root). Using cu, you can then access the Neo:

cu -l /dev/ttyACM0

After connecting, you should get a prompt where you can tell u-boot to clean certain parts of the NAND memory.

WARNING: Before you hit enter on one of the following commands, make sure that you are *not* issuing a plain "nand erase" command - always make sure you tell it which partition to erase. If you forget this you'll brick the Neo1973 and you'll need a debug board to recover it. For FreeRunner, you can recover using the NOR flash.


nand erase rootfs
nand erase kernel

To exit cu you need to type:

~.
Personal tools

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. You might need to

sudo chown uucp.uucp /dev/ttyACM0

to get the necessary right (even as root). Using cu, you can then access the Neo:

cu -l /dev/ttyACM0

After connecting, you should get a prompt, where you can write:

  1. nand erase clean rootfs
  2. nand erase clean kernel