AnsweredAssumed Answered

u-boot issue it will stuck at starting kernel

Question asked by tsung li wang on Aug 12, 2018
Latest reply on Aug 12, 2018 by 俊凯 文

Hi Community,

I'm working on iMX6 Quad sabre-SD platform and build my image with android_M6.0.1_2.1.0_source.

 

Here is what I can not understand.

When my machine start on u-boot then it stuck at Starting kernel place, below is my u-boot log.

U-Boot 2015.04 (Aug 12 2018 - 18:14:23)

CPU: Freescale i.MX6Q rev1.5 at 792 MHz
CPU: Temperature 36 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 2 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
check_and_clean: reg 0, flag_set 0
Fastboot: Normal
flash target is MMC:2
Net: FEC [PRIME]
Error: FEC address not set.

Normal Boot
Hit any key to stop autoboot: 0
boota mmc2
kernel @ 14008000 (8723664)
ramdisk @ 15000000 (1028152)
fdt @ 14f00000 (43493)
## Booting Android Image at 0x12000000 ...
Kernel load addr 0x14008000 size 8520 KiB
Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=FX100 cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled
## Flattened Device Tree blob at 14f00000
Booting using the fdt blob at 0x14f00000
Loading Kernel Image ... OK
Using Device Tree in place at 14f00000, end 14f0d9e4

Starting kernel ...

As you can see it stuck at Staring kernel... and will not keep going down to run kernel image.

 

I get my u-boot environment via printenv like below log.

Normal Boot
Hit any key to stop autoboot: 0
=> printenv
baudrate=115200
bootargs= console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:dev=hdmi,1920x1080M@60,bpp=32 video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=FX100 cma=384M androidboot.selinux=disabled androidboot.dm_verity=disabled
bootcmd=boota mmc2
bootdelay=1
ethact=FEC
ethprime=FEC
fastboot_dev=mmc2
fdt_high=0xffffffff
initrd_high=0xffffffff
loadaddr=0x12000000
splashpos=m,m

Environment size: 492/8188 bytes
=>

 

I used SD4 to connect my emmc. 

 

Is there anything I need to mentioned?

How can I fix this problem?

 

Thanks in Advanced!

Outcomes