本帖最后由 ourgreatwall 于 2016-3-15 16:36 编辑
我从官网下载了imx6 sdp的android5.1.1镜像和源码(按官网的文档操作下载,编译,烧写,编译器用的是android源码自带的prebuilts/gcc/linux-x86/arm/arm-linux-androideabi-4.8),发现官方镜像能够在板子上跑起来(emmc和sd方式都可以跑),但是android5.1.1源码编译后的却都不能跑起来(不管是emmc还是sd方式),一直停在Starting kernel ...不动,以下是从emmc启动的log信息,请查阅:
U-Boot 2015.04-14409-g6cf684a-dirty (Mar 07 2016 - 16:19:15)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
CPU: Temperature 24 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
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]
Normal Boot
Hit any key to stop autoboot: 1 0
boota mmc2
kernel @ 14008000 (7622016)
ramdisk @ 15000000 (867656)
fdt @ 14f00000 (44072)
## Booting Android Image at 0x12000000 ...
Kernel load addr 0x14008000 size 7444 KiB
Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M
## 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 14f0dc27
switch to ldo_bypass mode!
Starting kernel ...
以下是从sd启动的log信息,请查阅:
U-Boot 2015.04-14409-g6cf684a-dirty (Mar 07 2016 - 16:19:15)
CPU: Freescale i.MX6Q rev1.2 at 792 MHz
CPU: Temperature 22 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 1 GiB
PMIC: PFUZE100 ID=0x10
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:1
Net: FEC [PRIME]
Normal Boot
Hit any key to stop autoboot: 1 0
boota mmc1
kernel @ 14008000 (7622016)
ramdisk @ 15000000 (867656)
fdt @ 14f00000 (44072)
## Booting Android Image at 0x12000000 ...
Kernel load addr 0x14008000 size 7444 KiB
Kernel command line: console=ttymxc0,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1:off video=mxcfb2:off video=mxcfb3:off vmalloc=256M androidboot.console=ttymxc0 consoleblank=0 androidboot.hardware=freescale cma=384M
## 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 14f0dc27
switch to ldo_bypass mode!
Starting kernel ...
|