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.

AM335x starter kit not booting linux via UART

Hi,

I am working on AM335x starter kit. Currently it is getting booted up using SD Card. Now i have to make it boot using UART. I have removed SD Card from kit and followed instructions at http://processors.wiki.ti.com/index.php/AM335x_U-Boot_User%27s_Guide#Boot_Over_UART for getting it booted using UART. But after binary file and image file are transferred i am getting this error "Wrong Image Format for bootm command  "

CCCCCCoot SPL 2011.09 (Oct 11 2013 - 15:34:10)
Texas Instruments Revision detection unimplemented                             
No daughter card present                                                       
CCzModem - CRC mode, 1820(SOH)/0(STX)/0(CAN) packets, 7 retries                
Loaded 232592 bytes                                                            
                                                                               
                                                                               
U-Boot 2011.09 (Oct 11 2013 - 15:34:10)                                        
                                                                               
I2C:   ready                                                                   
DRAM:  256 MiB                                                                 
WARNING: Caches not enabled                                                    
No daughter card present                                                       
NAND:  HW ECC Hamming Code selected                                            
No NAND device found!!!                                                        
0 MiB                                                                          
MMC:   OMAP SD/MMC: 0, OMAP SD/MMC: 1                                          
*** Warning - readenv() failed, using default environment                      
                                                                               
Net:   cpsw                                                                    
Hit any key to stop autoboot:  0                                          
Card did not respond to voltage select!                                        
Booting from nand ...                                                     
HW ECC BCH8 Selected                                                            
                                                                                
no devices available                                                            
Wrong Image Format for bootm command                                            
ERROR: can't get kernel image!                                                  
U-Boot#

Through Schematic i was checking boot configuration is Boot Configuration MMC,SPI,UART and USB.

Please help to find the cause of problem.


  • Hi,

    loading U-boot via UART is done correctly according to posted by you U-Boot messages.

    Hit any key to stop autoboot:  0     - this means U-boot is loaded and auto boot of kernel will start after that (which is your case).

    Please note that instruction that you mention load on the board only SPL and U-boot.

    kernel image and file system are needed to start real linux an as far as I know for the file system a storage device is needed as the SD card on SK evm.

    My suggestion is to put kernel image and file system on the SD card, boot from UART and then let the autoboot to load linux from SD card (by default it should be set to look on mmc0/1 for kernel). 

    Autoboot is dependent on the boot arguments. Your boot arguments can be viewed if you type 

    U-Boot#print

    Hope this helps,

    Best regards,

    Vidin