Wind River Support Network

HomeDefectsLIN6-7897
Fixed

LIN6-7897 : [bcm-xlp] XLP832's two on-board GE ports can't work well

Created: Jul 8, 2014    Updated: Dec 3, 2018
Resolved Date: Aug 25, 2014
Found In Version: 6.0
Fix Version: 6.0.0.11
Severity: Standard
Applicable for: Wind River Linux 6
Component/s: BSP - Async

Description

XLP832's two on-board GE ports can't work, whatever the kernel type is cgl, preempt-rt and standard.
---------

root@localhost:~# ethtool eth6

Settings for eth6:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  Not reported
	Advertised pause frame use: No
	Advertised auto-negotiation: No
	Speed: 10Mb/s
	Duplex: Half
	Port: Twisted Pair
	PHYAD: 16
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
	Current message level: 0x00000000 (0)
			       
	Link detected: no
root@localhost:~# ethtool eth7

Settings for eth7:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  Not reported
	Advertised pause frame use: No
	Advertised auto-negotiation: No
	Speed: 10Mb/s
	Duplex: Half
	Port: Twisted Pair
	PHYAD: 17
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
	Current message level: 0x00000000 (0)
			       
	Link detected: no
root@localhost:~# 

----------------------------------
xlp9xx, the ethernet interface works, but the status also issue.
'Lind detected: no' while run 'ethtool eth2'

root@localhost:~# ethtool eth2

Settings for eth2:
	Supported ports: [ TP MII ]
	Supported link modes:   10baseT/Half 10baseT/Full 
	                        100baseT/Half 100baseT/Full 
	                        1000baseT/Full 
	Supported pause frame use: No
	Supports auto-negotiation: Yes
	Advertised link modes:  Not reported
	Advertised pause frame use: No
	Advertised auto-negotiation: No
	Speed: 10Mb/s
	Duplex: Half
	Port: Twisted Pair
	PHYAD: 8
	Transceiver: internal
	Auto-negotiation: on
	MDI-X: Unknown
	Current message level: 0x00000000 (0)
			       
	Link detected: no
root@localhost:~# 
root@localhost:~# ifconfig eth2
eth2      Link encap:Ethernet  HWaddr 00:0f:30:40:05:df  
          inet addr:128.224.178.247  Bcast:128.224.179.255  Mask:255.255.254.0
          inet6 addr: fe80::20f:30ff:fe40:5df/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:93288 errors:0 dropped:403 overruns:0 frame:0
          TX packets:41203 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:82949151 (79.1 MiB)  TX bytes:11497575 (10.9 MiB)

root@localhost:~# ping -I eth2 www.google.com
PING www.google.com (173.194.127.17) from 128.224.178.247 eth2: 56(84) bytes of data.
64 bytes from hkg03s09-in-f17.1e100.net (173.194.127.17): icmp_seq=2 ttl=45 time=269 ms
64 bytes from hkg03s09-in-f17.1e100.net (173.194.127.17): icmp_seq=6 ttl=45 time=268 ms
^C
--- www.google.com ping statistics ---
7 packets transmitted, 2 received, 71% packet loss, time 8359ms
rtt min/avg/max/mdev = 268.828/269.072/269.316/0.244 ms
root@localhost:~# 



Steps to Reproduce

1) configure --enable-board=bcm-xlp --enable-kernel=preempt-rt --enable-rootfs=glibc-std --with-layer=/runtime/wr-testing/kts-test --with-template=feature/kts-basic,feature/kts-extended,feature/kts-rt --enable-parallel-pkgbuilds=24 --enable-jobs=24
2) make all
3) deploy images 
4) startup board.

Check the ethernet interface, it works or not.

Other Downloads


Live chat
Online