can not bootup the mfg kernel zImage

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

can not bootup the mfg kernel zImage

跳至解决方案
3,004 次查看
逍遥李
Contributor II

platform : i.mx6dl sabresd

uboot     : 2014.04

kernel    : 3.10.53

 

Changing the ddr from 2*256 to 4*128.

Using the Uart1 for debug print.

 

1.   I'm using the yocto project to build the mfgtools' uboot and zImage,  buidling correctly.

After downloaded, it can't boot up the zImage, uart log as blew:

Starting kernel ...
Uncompressing Linux... done, booting the kernel.

Error: unrecognized/unsupported machine ID (r1 = 0x00000f8c).

Available machine support:

ID (hex) NAME
ffffffff Generic DT based system
ffffffff Freescale i.MX6 Quad/DualLite (Device Tree)
ffffffff Freescale i.MX6 SoloLite (Device Tree)
ffffffff Freescale i.MX6 SoloX (Device Tree)

 

2.    then I

1)changed the machine ID passed from u-boot: 

kernel_entry(0, 0xffffffff, r2);

2)have opened the menuconfig "kernel hacking"->"early printk"、"kernel low-level debugging port(i.mx61/dl debug uart) "、"(1)i.mx debug uart port selection".


then it hanged at the "Uncompressing Linux... done, booting the kernel." and the mfg tools restart "Loading u-boot ->Loading kernel-> Loading Initramfs->Loading device tree" ->"Jumping to OS image" again and again.

 

uart log as the attachment "uart_log0"

 

How to debug this issue??????

Original Attachment has been moved to: uart_log.zip

标签 (3)
标记 (2)
0 项奖励
回复
1 解答
2,728 次查看
jimmychan
NXP TechSupport
NXP TechSupport

attached is the porting guide. Hope this is useful for you.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,728 次查看
逍遥李
Contributor II

Ok, it's because of the device tree configration, about gpio, mmc and so on.

Replace the correctly .dtb ,it can boot up.

Thanks a lot.

0 项奖励
回复
2,729 次查看
jimmychan
NXP TechSupport
NXP TechSupport

attached is the porting guide. Hope this is useful for you.

0 项奖励
回复