在线时间3 小时
UID3093780
注册时间2015-1-20
NXP金币0
该用户从未签到
新手上路

- 积分
- 30
- 最后登录
- 2016-4-29
|
本帖最后由 KrisFei 于 2016-3-10 11:25 编辑
u-boot已经能够跑起来了,目前移植kernel有点问题,log如下,停在了start kernel:
U-Boot 2015.04-14409-g6cf684a-dirty (Feb 26 2016 - 10:05:01)
CPU: Freescale i.MX6Q rev1.5 at 792 MHz
CPU: Temperature 19 C
Reset cause: POR
Board: MX6-SabreSD
I2C: ready
DRAM: 2 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: Phy 1 not found
PHY reset timed out
FEC [PRIME]
Error: FEC address not set.
Normal Boot
Hit any key to stop autoboot: 0
boota mmc1
kernel @ 14008000 (7272264)
ramdisk @ 15000000 (868699)
fdt @ 14f00000 (44216)
endp:
## Current stack ends at 0x8ef3cbf0 ## Booting Android Image at 0x12000000 ...
Kernel load addr 0x14008000 size 7102 KiB
Kernel command line: console=ttymxc1,115200 init=/init video=mxcfb0:dev=ldb,bpp=32 video=mxcfb1 ff video=mxcfb2 ff video=mxcfb3 ff vmalloc=256M androidboot.console=ttymxc1 consoleblank=0 androidboot.hardware=freescale cma=384M
kernel data at 0x12000800, len = 0x006ef748 (7272264)
* fdt: cmdline image address = 0x14f00000
## Checking for 'FDT'/'FDT Image' at 14f00000
* fdt: raw FDT blob
## Flattened Device Tree blob at 14f00000
Booting using the fdt blob at 0x14f00000
of_flat_tree at 0x14f00000 size 0x0000acb8
Loading Kernel Image ... OK
kernel loaded at 0x14008000, end = 0x146f7748
using: FDT
Using Device Tree in place at 14f00000, end 14f0dcb7
switch to ldo_bypass mode!
## Transferring control to Linux (at address 14008000)...
Starting kernel ...
编译boot.img的时候选择的是sabresd_6dq-eng
kernel中uart也改过了
现在无法确定是dts有问题还是uart配置不对,本来想reset之后在u-boot阶段dump ddr的信息,
无奈reset之后没抓到log,看上去像是code reset了。
请问该如何移植kernel呢?
|
|