Hi All,
I am using "u-boot-2009.11-psp03.00.01.06.sdk", I have changed NAND configuration for 8-bit.
I am trying to write mlo [ x-loader ] to nand using the following commands,
---------------------------------------------------------------------------------------------------------------------------
OMAP3_EVM # nandecc hw
nand dev_width is 0
HW ECC selected
HW ECC selected
mtd->writesize is 0x800, ecc.size is 0x200
OMAP3_EVM # loadb 80000000 115200
## Ready for binary (kermit) download to 0x80000000 at 115200 bps...
## Total Size = 0x000042b4 = 17076 Bytes
## Start Addr = 0x80000000
OMAP3_EVM # nand erase
NAND erase: device 0 whole chip
Skipping bad block at 0x00800000
Skipping bad block at 0x03180000
Skipping bad block at 0x06640000
Skipping bad block at 0x0a2e0000
Skipping bad block at 0x0ca20000
Skipping bad block at 0x0fde0000
Skipping bad block at 0x1e1c0000
Erasing at 0x1ffe0000 -- 100% complete.
OK
OMAP3_EVM # nand write 80000000 0 20000
NAND write: device 0 offset 0x0, size 0x20000
131072 bytes written: OK
OMAP3_EVM #
----------------------------------------------------------------------------------------------------------------------
I have verified the NAND write by nand read and cmp command.
I tried writing mlo to first 4 blocks on NAND also.
After reset I am not able to boot the mlo.
---- http://processors.wiki.ti.com/index.php/AMSDK_u-boot_User%27s_Guide
In this link It is mentioned to enable the hw ecc by the following command
U-Boot # nandecc hw 2
In my case nandecc is supporting only one argument.
Can someone help me ..........
Thanks & Regards
Anil.