AnsweredAssumed Answered

eth0 link is not ready

Question asked by jianhua xu on Oct 26, 2014
Latest reply on Oct 30, 2014 by jianhua xu

Hi all,

 

I meet a problem. In my customer board, referenced from sabreauto-ai board, the eth0 link is not ready. could some one give me some advice? I really confused for some days. the log is as below:

====log below======

root@sabreauto_6q:/ # eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)

ADDRCONF(NETDEV_UP): eth0: link is not ready

====log end========

when I input "busybox ifconfig", it print log as below:

root@sabreauto_6q:/ # busybox ifconfig                                        

eth0      Link encap:Ethernet  HWaddr 1E:ED:19:27:1A:B3 

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

 

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

it seems that no ip address is obtained.

However, If I use FSL official Sabreauto-AI referenced board with the same internet wire, it is ok and the board can access internet normally. log is as below:

root@sabreauto_6q:/ # eth0: Freescale FEC PHY driver [Generic PHY] (mii_bus:phy_addr=1:01, irq=-1)

ADDRCONF(NETDEV_UP): eth0: link is not ready

acc_open

acc_release

init: sys_prop: permission denied uid:1003  name:service.bootanim.exit

PHY: 1:01 - Link is Up - 100/Full

ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready

PHY: 1:01 - Link is Down

PHY: 1:01 - Link is Up - 100/Full

binder: 2886:2895 refcount change on invalid ref 34

 

 

root@sabreauto_6q:/ # busybox ifconfig

eth0      Link encap:Ethernet  HWaddr 00:04:9F:03:0C:C9 

          inet addr:192.168.2.123  Bcast:192.168.2.255  Mask:255.255.255.0

          inet6 addr: fe80::204:9fff:fe03:cc9/64 Scope:Link

          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1

          RX packets:57 errors:0 dropped:0 overruns:0 frame:0

          TX packets:61 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:1000

          RX bytes:10645 (10.3 KiB)  TX bytes:5835 (5.6 KiB)

 

 

lo        Link encap:Local Loopback 

          inet addr:127.0.0.1  Mask:255.0.0.0

          inet6 addr: ::1/128 Scope:Host

          UP LOOPBACK RUNNING  MTU:16436  Metric:1

          RX packets:0 errors:0 dropped:0 overruns:0 frame:0

          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0

          collisions:0 txqueuelen:0

          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

 

compared with official referened board, my customer board cannot print the log in red. we have not changed ethnet module, it follows offcial referenced board. could you give some advices please? Any advices are appreciated.. thx a lot.

Outcomes