hi all ,
I am trying to boot the DM368 custom Board from nand flash .i have downloaded the latest u-boot source code from this link.
http://arago-project.org/git/people/?p=sandeep/u-boot-davinci.git;a=summary
I am flashing Nand using SDcard boot and flashing utiltiy.
I am using nand flash 256MB size from Micron and the part no is MT29F2G08AADWP .
I have a problem with this u-boot. u-boot is not able to load the kernel image and i see the following errors.
Loading from nand0, offset 0x400000
NAND read from offset 400000 failed -74
** Read error
## Booting kernel from Legacy Image at 80700000 ...
Image Name: Linux-2.6.32-rc2-davinci1
Created: 2011-03-14 5:47:20 UTC
Image Type: ARM Linux Kernel Image (uncompressed)
Data Size: 2194364 Bytes = 2.1 MiB
Load Address: 80008000
Entry Point: 80008000
Verifying Checksum ... Bad Data CRC
ERROR: can't get kernel image!
when i enter the saveenv
Saving Environment to NAND...
Erasing Nand...
nand0: MTD Erase failure: -5
nand0: MTD Erase failure: -5
Writing to Nand... nand_do_write_ops: Device is write protected
FAILED!
it says the nand flash is write protected .how to disable the write protection of nand flash?
can anyone tell me whats going wrong with this u-boot ,any help is appreciated.
Thanks,
Siva.