Hi All,
Sometimes we add new device driver or modify present files.
However the system will stuck at "Starting kernel" when we boot board.
How do we check or debug this situation?
Some sample log as below:
==================================
U-Boot 2014.04 (Mar 20 2015 - 23:54:26)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
CPU: Temperature 24 C, calibration data: 0x5864ce7d
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
MMC: FSL_SDHC: 0, FSL_SDHC: 1, FSL_SDHC: 2
*** Warning - bad CRC, using default environment
No panel detected: default to Hannstar-XGA
Display: Hannstar-XGA (1024x768)
In: serial
Out: serial
Err: serial
Found PFUZE100 deviceid=10,revid=11
mmc1 is current device
Net: FEC [PRIME]
Normal Boot
Hit any key to stop autoboot: 0
mmc1 is current device
reading boot.scr
** Unable to read file boot.scr **
reading zImage
5564616 bytes read in 271 ms (19.6 MiB/s)
Booting from mmc ...
reading imx6q-sabresd.dtb
42195 bytes read in 19 ms (2.1 MiB/s)
Kernel image @ 0x12000000 [ 0x000000 - 0x54e8c8 ]
## Flattened Device Tree blob at 18000000
Booting using the fdt blob at 0x18000000
Using Device Tree in place at 18000000, end 1800d4d2
switch to ldo_bypass mode!
Starting kernel ...
Thanks,
Best Regards,
Yao
so, make sure you are building the images for i.MX6Q SabreSD board.
What files you change or add? Basically, the DDR working proper and debug Uart setting correct, the kernel should be boot up and the debug message output from the debug uart .