AnsweredAssumed Answered

i.MX28 boot error on MMC custom board

Question asked by Matteo Fabiani on Sep 30, 2013

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

Outcomes