This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Problem booting from NOR flash in AM1808 EVM

Other Parts Discussed in Thread: AM1808

Hello,

i am trying to boot from NOR flash in AM1808 EVM, i have followed the next steps:

I have programmed ubl and u-boot in NOR Flash and it looks to boot Ok, u-boot version is 2010.12 and i have build it using Arago Toolchain in last SDK 5.03

Booting TI User Boot Loader                                                     
        UBL Version: 1.65                                                       
        UBL Flashtype: NOR                                                      
Starting NOR Copy...                                                            
CFI Query...passed.                                                             
NOR Initialization:                                                             
        Command Set: Intel                                                      
        Manufacturer: INTEL                                                     
        Size: 0x00000008 MB                                                     
Valid magicnum, 0x55424CBB, found..                                             
   DONE                                                                         
�FLASH: 8 MiBtry point at 0xC1080000.                                           
MMC:   davinci: 0                                                               
*** Warning - bad CRC, using default environment                                
                                                                                
In:    serial                                                                   
Out:   serial                                                                   
Err:   serial                                                                   
ARM Clock : 456000000 Hz                                                        
DDR Clock : 150000000 Hz                                                        
SF: Detected M25P64 with page size 256, total 8 MiB                             
Net:   Ethernet PHY: GENERIC @ 0x00                                             
DaVinci-EMAC                                                                    
Hit any key to stop autoboot:  0                                                
U-Boot >

Now i protect off and erase NOR to load uImage                                                      
                                    
                                                                                                                           
U-Boot > protect off 0x60080000 +232b84                                         
.................. done                                                         
Un-Protected 18 sectors                                                         
U-Boot > erase 0x60080000 +232b84                                               
                                                                                
.................. done                                                         
Erased 18 sectors    

Next i load the kernel in NOR after loading uImage in 0c0700000

Using DaVinci-EMAC device                                                       
TFTP from server 10.0.0.1; our IP address is 10.0.0.10                          
Filename 'uImage'.                                                              
Load address: 0xc0700000                                                        
Loading: #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #################################################################      
         #############################################################          
done                                                                            
Bytes transferred = 2304900 (232b84 hex)                                        
U-Boot > cp.b c0700000 60080000 232b84                                          
Copy to Flash... Flash not Erased

Is it Ok the message Copy to Flash...Flash not Erased?

Last i set bootcmd and boot

U-Boot > setenv bootcmd 'cp.b 60080000 c0700000 232b84;bootm'

U-Boot > boot                                                                   
## Booting kernel from Legacy Image at c0700000 ...                             
   Image Name:   Linux-2.6.37                                                   
   Image Type:   ARM Linux Kernel Image (uncompressed)                          
   Data Size:    2304836 Bytes = 2.2 MiB                                        
   Load Address: c0008000                                                       
   Entry Point:  c0008000                                                       
   Verifying Checksum ... Bad Data CRC                                          
ERROR: can't get kernel image!      

If from u-boot i download uImage from tftp directly to 0xc0700000 and boot, the booting is OK, so i guess that uImage is not being flashed Ok in NOR. Pls. could you help me?

Thanks in advance

Alberto