linux hangs in ethernet driver if no cable is connected

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

linux hangs in ethernet driver if no cable is connected

Jump to solution
844 Views
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

Labels (1)
0 Kudos
1 Solution
619 Views
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.

View solution in original post

0 Kudos
2 Replies
619 Views
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

620 Views
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 Kudos