Hi
I section 7.2.4
OMAP3 DevKit8000 # mmcinit
OMAP3 DevKit8000 # fatload mmc 0:1 80000000 ubi.img
reading ubi.img
12845056 bytes read
OMAP3 DevKit8000 # nand unlock
device 0 whole chip
nand_unlock: start: 00000000, length: 268435456! "for me this value
is 134217728"
OMAP3 DevKit8000 # nand ecc sw
OMAP3 DevKit8000 # nand erase 680000 7980000
OMAP3 DevKit8000 # nand write.i 80000000 680000 $(filesize) "i dont
know this size "
I had pasted the run command below kindly go through this and correct
me where is the error
Boot run commands
Texas Instruments X-Loader 1.41
Starting on with MMC
Reading boot sector
1086088 Bytes Read from MMC
Starting OS Bootloader from MMC...
U-Boot 1.3.3-svn239 (Apr 17 2009 - 10:39:41)
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 DevKit8000 Board + LPDDR/NAND
DRAM: 128 MB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
OMAP3 DevKit8000 # mmcinit
OMAP3 DevKit8000 # fatload mmc 0:1 80000000 x-load.bin.ift_for_NAND
reading x-load.bin.ift_for_NAND
10492 bytes read
OMAP3 DevKit8000 # nand unlock
device 0 whole chip
nand_unlock: start: 00000000, length: 134217728!
NAND flash successfully unlocked
OMAP3 DevKit8000 # nand ecc hw
OMAP3 DevKit8000 # nand erase 0 80000
NAND erase: device 0 offset 0x0, size 0x80000
Erasing at 0x60000 -- 100% complete.
OK
OMAP3 DevKit8000 # nand write.i 80000000 0 80000
NAND write: device 0 offset 0x0, size 0x80000
Writing data at 0x7f800 -- 100% complete.
524288 bytes written: OK
OMAP3 DevKit8000 # mmcinit
OMAP3 DevKit8000 # fatload mmc 0:1 80000000 flash-uboot.bin
reading flash-uboot.bin
1086032 bytes read
OMAP3 DevKit8000 # nand unlock
device 0 whole chip
nand_unlock: start: 00000000, length: 134217728!
NAND flash successfully unlocked
OMAP3 DevKit8000 # nand ecc sw
OMAP3 DevKit8000 # nand erase 80000 160000
NAND erase: device 0 offset 0x80000, size 0x160000
Erasing at 0x1c0000 -- 100% complete.
OK
OMAP3 DevKit8000 # nand write.i 80000000 80000 160000
NAND write: device 0 offset 0x80000, size 0x160000
Writing data at 0x1df800 -- 100% complete.
1441792 bytes written: OK
OMAP3 DevKit8000 # mmcinit
OMAP3 DevKit8000 # fatload mmc 0:1 80000000 uImage
reading uImage
1992480 bytes read
OMAP3 DevKit8000 # nand unlock
device 0 whole chip
nand_unlock: start: 00000000, length: 134217728!
NAND flash successfully unlocked
OMAP3 DevKit8000 # nand ecc sw
OMAP3 DevKit8000 # nand erase 280000 200000
NAND erase: device 0 offset 0x280000, size 0x200000
Skipping bad block at 0x003e0000
Erasing at 0x460000 -- 100% complete.
OK
OMAP3 DevKit8000 # nand write.i 80000000 280000 200000
NAND write: device 0 offset 0x280000, size 0x200000
Bad block at 0x3e0000 in erase block from 0x3e0000 will be skipped
Writing data at 0x49f800 -- 100% complete.
2097152 bytes written: OK
OMAP3 DevKit8000 # mmcinit
OMAP3 DevKit8000 # fatload mmc 0:1 80000000 ubi.img
reading ubi.img
12976128 bytes read
OMAP3 DevKit8000 # nand unlock
device 0 whole chip
nand_unlock: start: 00000000, length: 134217728!
NAND flash successfully unlocked
OMAP3 DevKit8000 # nand ecc sw
OMAP3 DevKit8000 # nand erase 680000 7980000
NAND erase: device 0 offset 0x680000, size 0x7980000
Skipping bad block at 0x010e0000
Skipping bad block at 0x03a80000
Skipping bad block at 0x058a0000
Erasing at 0x7fe0000 -- 100% complete.
OK
OMAP3 DevKit8000 # nand write.i 80000000 680000 7980000
NAND write: device 0 offset 0x680000, size 0x7980000
Bad block at 0x10e0000 in erase block from 0x10e0000 will be skipped
Bad block at 0x3a80000 in erase block from 0x3a80000 will be skipped
Bad block at 0x58a0000 in erase block from 0x58a0000 will be skipped
Writing data at 0x7f28800 -- 99% complete.
Data did not fit into device, due to bad blocks
127401984 bytes written: ERROR
after this when i pree reset key it shows the following
Texas Instruments X-Loader 1.41
Starting OS Bootloader...
U-Boot 1.3.3-svn239 (Apr 17 2009 - 10:43:28)
OMAP3530-GP rev 2, CPU-OPP2 L3-165MHz
OMAP3 DevKit8000 Board + LPDDR/NAND
DRAM: 128 MB
NAND: 128 MiB
In: serial
Out: serial
Err: serial
Hit any key to stop autoboot: 0
NAND read: device 0 offset 0x280000, size 0x200000
Bad block at 0x3e0000 in erase block from 0x3e0000 will be skipped
Reading data from 0x47c000 -- 93% complete.nand_read_ecc: Failed ECC
read, page
0x00000900
nand_read_ecc: Failed ECC read, page 0x00000900
nand_read_ecc: Failed ECC read, page 0x00000900
reading NAND page at offset 0x480000 failed
2097152 bytes read: ERROR
## Booting kernel from Legacy Image at 80300000 ...
Image Name: Linux-2.6.28-rc9-omap1-svn237-di
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 1992416 Bytes = 1.9 MB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
OMAP3 DevKit8000 #