can not bootup the mfg kernel zImage

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

can not bootup the mfg kernel zImage

ソリューションへジャンプ
3,042件の閲覧回数
逍遥李
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,766件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,766件の閲覧回数
逍遥李
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,767件の閲覧回数
jimmychan
NXP TechSupport
NXP TechSupport

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

0 件の賞賛
返信