We have purchased SAM9-L9260 board and we are able to run example programs given . During the operation , somehow Linux on the Nand Flash got corrupted . We tried to restore the factory default configuration of the board as per the procedure explained in “SAM9_L9260 quickstart guide.txt” on supplied CD-ROM. Nand Flash is getting programmed with some bad blocks. Pls see the Log file pasted below for the details.
The Linux on the Nand Flash is not booting , we are getting following
message in the hyper terminal …:
>AT91Bootstrap loading from 0x8400…
U-Boot 1.2.0 (Oct 11 2007 - D
After this , it is hanging.
Log file we are getting is here…:
I- Waiting …
connection : \usb\ARM0
board : AT91SAM9260-EK
target(handle) : 17992656
read chip ID : 0x019803A1 at addr: 0xFFFFF240
-I- Found processor : AT91SAM9260 (0x019803A0)
script file : AT91SAM9260_demo_linux_NandFlash.tcl
u-boot file: u-boot-env-nf.bin
diskSize: 0x00400000
-I- === Performs sanity checks===
-I- === Initialize the NAND access ===
-I- Enable the address range of CS3 in HMATRIX user interface
-I- Configure SMC CS3
-I- Clock PIOC
-I- Configure Ready/Busy signal
-I- Configure pull-up
-I- Enable NandFlash
-I- ReadId
-I- NandFlash ID : 0xecdc
-I- NandFlash Samsung 8 bits 512MB
-I- Configure ECC
-I- === Erase all the NAND flash blocs and test the erasing ===
-I- Erasing whole NandFlash … Please Wait…
-I- NandFlash erased
-I- === Load the bootstrap: nandflash_at91sam9260ek in the first sector ===
-I- Send File ./nandflash_at91sam9260ek.bin at address 0x00000000
-I- NANDFLASH::sendFile
-I- File size = 3940 byte(s)
-I- Blocks 0 to 1 are programmed
-I- Number of bad blocks: 0
-I- === Load the u-boot in the next sectors ===
-I- Send File ./u-boot-env-nf.bin at address 0x00020000
-I- NANDFLASH::sendFile
-I- File size = 168780 byte(s)
-I- Blocks 1 to 3 are programmed
-I- Number of bad blocks: 0
-I- === Load the u-boot environment variables ===
-I- Send File tmp.bin at address 0x00060000
-I- NANDFLASH::sendFile
-I- File size = 131072 byte(s)
-I- Blocks 3 to 4 are programmed
-I- Number of bad blocks: 0
-I- === Load the Kernel image ===
-I- Send File uimage_write at address 0x00100000
-I- NANDFLASH::sendFile
-I- File size = 1714216 byte(s)
-I- Blocks 8 to 22 are programmed
-I- Number of bad blocks: 0
-I- === Load the linux file system ===
-I- Send File armv5l-uclibc-sam9260 at address 0x00400000
-I- NANDFLASH::sendFile
-I- File size = 4194304 byte(s)
-I- Blocks 32 to 64 are programmed
-I- Number of bad blocks: 0
Please any one look into the problem and provide a solution at the earliest. We are expecting some solution for the problem.
thanks in advance !