gadget: fastboot: boot command ok

Signed-off-by: Fudong Bai <fudongbai@gmail.com>
gadget: fastboot: nand write works

1. before nand write
SMDK2440 # res
resetting ...

U-Boot 2010.09-00000-g2481d7b-dirty (Jun 23 2013 - 20:09:50)

DRAM:  64 MiB
Flash: 1 MiB
NAND:  256 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dm9000
s3c2410_udc gadget driver registered!
Hit any key to stop autoboot:  0
SMDK2440 #

2. erase U-Boot partition
$ fastboot erase U-Boot
              erasing 'U-Boot'... OKAY [  0.014s]
finished. total time: 0.014s

SMDK2440 # erasing 'U-Boot'
Erasing at 0x2000000000004 --   0% complete.
partition 'U-Boot' erased
from 0 size: 40000

3. flash new U-Boot image to nand
$ fastboot flash U-Boot u-boot.bin
     sending 'U-Boot' (172 KB)... OKAY [  0.178s]
              writing 'U-Boot'... OKAY [  0.426s]
finished. total time: 0.604s

SMDK2440 # recv data: addr=33000000 size=2b2a8
writing 'U-Boot' (176808 bytes) - OKAY

4. reset
SMDK2440 # res
resetting ...

U-Boot 2010.09-00000-gc797158 (Jun 23 2013 - 20:12:35)

DRAM:  64 MiB
Flash: 1 MiB
NAND:  256 MiB
*** Warning - bad CRC or NAND, using default environment

In:    serial
Out:   serial
Err:   serial
Net:   dm9000
s3c2410_udc gadget driver registered!
Hit any key to stop autoboot:  0
SMDK2440 #

Signed-off-by: Fudong Bai <fudongbai@gmail.com>
doc: update README.mini2440

Signed-off-by: Fudong Bai <fudongbai@gmail.com>
mini2440: new mtd partition

SMDK2440 # mtdparts

device nand0 <nand>, # parts = 7
 #: name		size		offset		mask_flags
 0: x-loader            0x00040000	0x00000000	0
 1: u-boot-env          0x00020000	0x00040000	0
 2: recovery            0x00300000	0x00060000	0
 3: boot                0x00300000	0x00360000	0
 4: system              0x01e00000	0x00660000	0
 5: cache               0x00a00000	0x02460000	0
 6: userdata            0x0d1a0000	0x02e60000	0

active partition: nand0,0 - (x-loader) 0x00040000 @ 0x00000000

defaults:
mtdids  : nand0=nand
mtdparts: mtdparts=nand:256k(x-loader),128k(u-boot-env),3m(recovery),3m(boot),30m(system),10m(cache),-(userdata)

Signed-off-by: Fudong Bai <fudongbai@gmail.com>
mini2440: build script

Signed-off-by: Fudong Bai <fudongbai@gmail.com>