## Flashing images to Nand ###

1) Take a Micro SD card format it to FAT filesystem and make it bootable.
2) Copy the images to Micro SD card
	* MLO
	* u-boot.img
	* uImage
	* rootfs.ubi
3) Insert the Micro SD into Board and short the JP3 on Board.
4) Connect the Serial cable and access the serial terminal from Teraterm in windows or Minicom in Ubuntu
5) Powerup the board, stop at autoboot by pressing any key.
6) U-boot prompt will appear, from there execute the following commands one by one

******************************************************************************************
	For MLO
******************************

nandecc hw 2
mw.b 0x82000000 0xFF 0x20000
mmc rescan
fatload mmc 0 0x82000000 MLO
nand erase 0x0 0x20000
nand write.i 0x82000000 0x0 0x20000

******************************************************************************************
	For U-Boot
******************************

mmc rescan
mw.b 0x82000000 0xFF 0x40000
fatload mmc 0 0x82000000 u-boot.img
nandecc hw 2
nand erase 0x80000 0x40000
nand write.i 0x82000000 0x80000 0x40000

******************************************************************************************
	For kernel (uImage)
******************************

mmc rescan
mw.b 0x82000000 0xFF 0x600000
fatload mmc 0 0x82000000 uImage
nandecc hw 2
nand erase 0x120000 0x600000
nand write.i 0x82000000 0x120000 0x600000

******************************************************************************************
	For Root FileSystem (rootfs.ubi)
******************************************

mmc rescan
mw.b 0x82000000 0xFF 0x6F00000
fatload mmc 0 0x82000000 rootfs.ubi
nandecc hw 2
nand erase 0x720000 0x6F00000
nand write.i 0x82000000 0x720000 0x6F00000


7) After flashing Power OFF the board totally (unplug the power adapter), and Unshort the JP3
and Now power ON the board.

