i.MX28 boot error on MMC custom board

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

i.MX28 boot error on MMC custom board

2,849 次查看
Matteo
Contributor II

Hi,

I'm trying to boot from MMC card my linux kernel on a i.mx28 based custom board.

I'm trying to program by board with mfgTool, but the result is shown below (The entire log is attached in this post, "log.txt", I also attach the linuxrc file):

Freeing init memory: 128K

mount: mounting none on /sys failed: No such file or directory

mount: mounting none on /proc failed: No such file or directory

Starting UTP

mmc0: new high speed MMC card at address 0001

mmcblk0: mmc0:0001 MMC02G 1.78 GiB

mmcblk0:

p1 p2 p3

ln: /etc/mtab: File exists

disable turn off display

uuc 0.4 [built Jul  6 2012 14:40:37]

UTP: Waiting for device to appear

g_file_storage gadget: high speed config #1

Unable to handle kernel NULL pointer dereference at virtual address 00000008

pgd = c0004000

[00000008] *pgd=00000000

Internal error: Oops: 17 [#1]

last sysfs file:

Modules linked in:

CPU: 0    Not tainted  (2.6.35.3-571-gcca29a0 #24)

PC is at fsg_main_thread+0x994/0x22cc

LR is at fsg_main_thread+0x994/0x22cc

ecc. ecc.

From the entire log it seems that the linuxrc are starting but fail to mount /sys and /proc, after the kernel recognize the mmc card and the crashes.

Do you have any suggestions?

Also the log of the mfgTool report this error:

1 - Panel A Start processing SD(without uboot) <LIST/>.

Panel A Start <CMD/> type="boot" body="Recovery" file="updater.sb" timeout="10" onError="" text="Booting update firmware.".

1 - Panel A Finished <CMD/> type="boot" body="Recovery" file="updater.sb" timeout="10" onError="" text="Booting update firmware." SUCCESS code=0x0.

Panel A Start <CMD/> type="boot" body="Recovery" file="updater_ivt.sb" timeout="10" onError="" text="Booting update firmware.".

1 - Panel A Finished <CMD/> type="boot" body="Recovery" file="updater_ivt.sb" timeout="10" onError="" text="Booting update firmware." SUCCESS code=0x0.

Panel A Start <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="".

Panel A UtpUpdate Event: DeviceRemoval Msg: (null) DevState: Disconnected OpState: WAITING_FOR_DEVICE

Panel A UtpUpdate Event: VolumeArrival Msg: (null) DevState: Updater OpState: WAITING_FOR_DEVICE

1 - Panel A Finished <CMD/> type="find" body="Updater" file="" timeout="180" onError="" text="" SUCCESS code=0x0.

Panel A Start <CMD/> type="push" body="mknod block,mmcblk0,/dev/mmcblk0,block" file="" timeout="10" onError="" text="".

1 - Panel A Finished <CMD/> type="push" body="mknod block,mmcblk0,/dev/mmcblk0,block" file="" timeout="10" onError="" text="" FAIL code=0xffffffff.

Panel A: Operation is not completed.,failed to run command: type="push" body="mknod block,mmcblk0,/dev/mmcblk0,block" file="" timeout="10" onError="" text="" 

2 - Panel A Finished processing SD(without uboot) <LIST/> : FAIL code=-1.

Panel A: Reason is unknown,Operation stopped by user.

It seems that mfgTool fail to create the device node.

Do you have any suggestions?

Best regards,

Matteo.

Original Attachment has been moved to: log.TXT.txt.zip

Original Attachment has been moved to: linuxrc.zip

标签 (2)
标记 (3)
0 项奖励
回复
3 回复数

1,463 次查看
YixingKong
Senior Contributor IV

Mattteo

This discussion is closed since no activity. If you still need help, please feel free to reply with an update to this discussion, or create another discussion.

Thanks,

Yixing

0 项奖励
回复

1,463 次查看
YixingKong
Senior Contributor IV

Mattteo

Had your issue got resolved? If yes, we are going to close the discussion in 3 days. If you still need help please feel free to contact Freescale.

Thanks,
Yixing

0 项奖励
回复

1,463 次查看
GraceH
Senior Contributor II

Hi Matteo,


Your log shows:


Kernel command line: console=ttyAM0,115200 rdinit=/linuxrc root=/dev/mmcblk0p3 rw gpmi


mfg firmware updater_ivt.sb and updater.sb use initramfs. If you want to program the image to MMC, you can not use MMC as rootfs for updater_ivt.sb/updater.sb.  

If you choose mfg profile to build updater_ivt.sb/updater.sb, initramfs is set as default for target image and the default boot command is Kernel command line: console=ttyAM0,115200 rdinit=/linuxrc rw gpmi.

Please use mfg profile to build  updater_ivt.sb/updater.sb

Regards,

Grace

0 项奖励
回复