linux hangs in ethernet driver if no cable is connected

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

linux hangs in ethernet driver if no cable is connected

跳至解决方案
1,780 次查看
her
Contributor I

The system hangs in linux at bootup if the linux ethernet driver is started and no ethernet cable is connected.

Boot from NAND Flash with u-boot environment variable ip=DHCP or ip=192.168.xxx.xxx.

Problem occurs on the freescale eval board (Sabre SD) boards and on our own board.

The cpu seems to go idle mode. We use the standard kernel configuration

CPU:  iMX6 Solo, latest BSP  4.1.0


Best regards HR

标签 (1)
0 项奖励
回复
1 解答
1,555 次查看
AnsonHuang
NXP Employee
NXP Employee

Hi, her

     You should not adding ip=DHCP or ip=192.168.xxx.xxx. in uboot command line if you do NOT have ethernet cable connected.

在原帖中查看解决方案

0 项奖励
回复
2 回复数
1,555 次查看
LeonardoSandova
Specialist I

where does it hang? if your filesystem is being NFS mounted, then this is the expected behaviour. As Youngcai mentioned, try to avoid the 'ip' parameter of add 'ip=none'

Leo

1,556 次查看
AnsonHuang
NXP Employee
NXP Employee

Hi, her

     You should not adding ip=DHCP or ip=192.168.xxx.xxx. in uboot command line if you do NOT have ethernet cable connected.

0 项奖励
回复