I.MX28 - SD Card boot problem - Waiting for root device /dev/sdb3...

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

I.MX28 - SD Card boot problem - Waiting for root device /dev/sdb3...

跳至解决方案
2,668 次查看
mickaelbernard
Contributor II

Hello

 

I have a problem with I.MX28 board when i'm booting with Linux burn on a SD card. I use the command "./mk_mx28_sd /dev/sdb" to burn linux image on my SD Card and when I plug it into my board, installation stop to this sentences "Waiting for root device /dev/sdb3...". I try to find anwers on this forum but nobody have the same problem because their unsing "u-boot" and not linux image so I can't modify my variables environments.

I attaching the log of minicom

 

thanks in advance,

 

Mickael

Original Attachment has been moved to: log_minicom.txt.zip

标签 (1)
标记 (4)
0 项奖励
1 解答
1,217 次查看
mickaelbernard
Contributor II

I found a .txt who change the kernel command line and when i open it, it was

-e noinitrd console=ttyAM0,115200 root=/dev/sdb3 rw rootwait ip=none ssp0

but in ltib it was

-e noinitrd console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait ip=none ssp0

So I change the .txt and it works

thanks for help

directory of .txt : /ltib/rpm/BUILD/imb-bootlets-src-10.12.01/linux_prep/cmdlines/IMX28_EVK.tkt

在原帖中查看解决方案

0 项奖励
4 回复数
1,217 次查看
robby
NXP Employee
NXP Employee

The device node name for SD card on target board should be different on Linux host.

Please check the device name (something similar to '/dev/mmcblk0p1', instead of '/dev/sdb3')

0 项奖励
1,217 次查看
mickaelbernard
Contributor II

I have already think of that, but I don't find where i can fix that?

Regards,

Mickael

0 项奖励
1,217 次查看
robby
NXP Employee
NXP Employee

You need change the cmdline (you may notice the cmdline in your log)

Kernel command line: -e noinitrd console=ttyAM0,115200 root=/dev/sdb3 rw rootwait ip=none ssp0                                 

when you build the .sb file, you may find some file where you can change the cmdline. I can't remember file name but you can search by the keyword.

1,218 次查看
mickaelbernard
Contributor II

I found a .txt who change the kernel command line and when i open it, it was

-e noinitrd console=ttyAM0,115200 root=/dev/sdb3 rw rootwait ip=none ssp0

but in ltib it was

-e noinitrd console=ttyAM0,115200 root=/dev/mmcblk0p3 rw rootwait ip=none ssp0

So I change the .txt and it works

thanks for help

directory of .txt : /ltib/rpm/BUILD/imb-bootlets-src-10.12.01/linux_prep/cmdlines/IMX28_EVK.tkt

0 项奖励