AnsweredAssumed Answered

imx6sl stops at "Starting kernel ..."

Question asked by Eugene Phua on May 26, 2015
Latest reply on May 15, 2017 by Jithin M

Hi all, i have compiled the u-boot and linux for a customized imx6sl board and the serial output is attached below.


The main difference is the RAM is changed from 1GB (EVK board) to 256MB (customized board). The PHYS_SDRAM_SIZE in u-boot is updated. The CONFIG_CMA_SIZE_MBYTES in linux kernel is also updated from 320 to 16 as 320 exceeds the SDRAM size.


Any idea to debug to find out why it stops starting the kernel? (The LOADADDR for linux is 0x80800000 fyi). Thanks!



U-Boot 2015.04-00129-g10aced3-dirty (May 26 2015 - 14:01:33)                   
CPU:   Freescale i.MX6SL rev1.2 996 MHz (running at 792 MHz)                   
CPU:   Commercial temperature grade (0C to 95C) at 32C                         
Reset cause: POR                                                               
Board: MX6SLEVK                                                                
I2C:   ready                                                                   
DRAM:  256 MiB                                                                 
PMIC:  PFUZE100 ID=0x10                                                        
MMC:   FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2                                   
*** Warning - bad CRC, using default environment                               
In:    serial                                                                  
Out:   serial                                                                  
Err:   serial                                                                  
Net:   FEC [PRIME]                                                             
Error: FEC address not set.                                                    
Hit any key to stop autoboot:  0                                               
switch to partitions #0, OK                                                    
mmc1 is current device                                                         
switch to partitions #0, OK                                                    
mmc1 is current device                                                         
reading boot.scr                                                               
** Unable to read file boot.scr **                                             
reading zImage                                                                 
5943376 bytes read in 275 ms (20.6 MiB/s)                                      
Booting from mmc ...                                                           
reading imx6sl-evk-ldo.dtb                                                     
34675 bytes read in 19 ms (1.7 MiB/s)                                          
Kernel image @ 0x80800000 [ 0x000000 - 0x5ab050 ]                              
## Flattened Device Tree blob at 88000000                                      
   Booting using the fdt blob at 0x88000000                                    
   Using Device Tree in place at 88000000, end 8800b772                        
Starting kernel ...