Hello TI teams,
I have a very strange problem with my customer board DM8148 (rev 3.0) and Marvell 88E1512 ethernet PHY.
I use dvr-rdk 4.1 as software platform. My board booted by u-boot.min and u-boot successfully. After u-boot completed I have a console promt in u-boot and tftp and ping works fine for my board. I make ping to my develop PC and always recieves reply - host alive.
This is boot arguments:
====================================================================================
bootdelay=3
baudrate=115200
autoload=yes
verify=yes
loadaddr=0x81000000
dnsip2=10.0.0.34
rootdelay=15
ethact=cpsw
bootargs=mem=128M ddr_mem=512M console=ttyO0,115200n8 root=/dev/nfs rw nfsroot=10.0.0.9:/home/marat/workdir/SmartCore/trunk/target/rfs_814x ip=dhcp vram=20M notifyk.vpssm3_sva=0xbfd00000
bootcmd=tftp 0x81000000 uImage;bootm 0x81000000
ethaddr=7C:66:9D:36:B3:96
bootfile=uImage
filesize=2B751C
fileaddr=81000000
gatewayip=10.0.0.138
netmask=255.255.255.0
ipaddr=10.0.0.11
serverip=10.0.0.9
dnsip=10.0.0.138
stdin=serial
stdout=serial
stderr=serial
====================================================================================
But when I tired ARP from u-boot I have a very strange problem, mac address equal to zero. Please see below log from wire-shark:
No. Time Source Destination Protocol Length Info
1 0.000000000 10.0.0.11 Broadcast ARP 60 Who has 10.0.0.9? Tell 10.0.0.11
Frame 1: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) on interface 0
Interface id: 0
Encapsulation type: Ethernet (1)
Arrival Time: Jun 23, 2014 13:56:15.048106000 Jerusalem Daylight Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1403520975.048106000 seconds
[Time delta from previous captured frame: 0.000000000 seconds]
[Time delta from previous displayed frame: 0.000000000 seconds]
[Time since reference or first frame: 0.000000000 seconds]
Frame Number: 1
Frame Length: 60 bytes (480 bits)
Capture Length: 60 bytes (480 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:arp]
[Coloring Rule Name: ARP]
[Coloring Rule String: arp]
Ethernet II, Src: 10.0.0.11 (7c:66:9d:36:b3:96), Dst: Broadcast (ff:ff:ff:ff:ff:ff)
Destination: Broadcast (ff:ff:ff:ff:ff:ff)
Address: Broadcast (ff:ff:ff:ff:ff:ff)
.... ..1. .... .... .... .... = LG bit: Locally administered address (this is NOT the factory default)
.... ...1 .... .... .... .... = IG bit: Group address (multicast/broadcast)
Source: 10.0.0.11 (7c:66:9d:36:b3:96)
Address: 10.0.0.11 (7c:66:9d:36:b3:96)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: ARP (0x0806)
Padding: 000000000000000000000000000000000000
Address Resolution Protocol (request)
Hardware type: Ethernet (1)
Protocol type: IP (0x0800)
Hardware size: 6
Protocol size: 4
Opcode: request (1)
Sender MAC address: 10.0.0.11 (7c:66:9d:36:b3:96)
Sender IP address: 10.0.0.11 (10.0.0.11)
Target MAC address: 00:00:00_00:00:00 (00:00:00:00:00:00)
Target IP address: 10.0.0.9 (10.0.0.9)
No. Time Source Destination Protocol Length Info
2 0.000144000 10.0.0.9 10.0.0.11 ARP 42 10.0.0.9 is at 00:0c:29:28:d8:8c
Frame 2: 42 bytes on wire (336 bits), 42 bytes captured (336 bits) on interface 0
Interface id: 0
Encapsulation type: Ethernet (1)
Arrival Time: Jun 23, 2014 13:56:15.048250000 Jerusalem Daylight Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1403520975.048250000 seconds
[Time delta from previous captured frame: 0.000144000 seconds]
[Time delta from previous displayed frame: 0.000144000 seconds]
[Time since reference or first frame: 0.000144000 seconds]
Frame Number: 2
Frame Length: 42 bytes (336 bits)
Capture Length: 42 bytes (336 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:arp]
[Coloring Rule Name: ARP]
[Coloring Rule String: arp]
Ethernet II, Src: 10.0.0.9 (00:0c:29:28:d8:8c), Dst: 10.0.0.11 (7c:66:9d:36:b3:96)
Destination: 10.0.0.11 (7c:66:9d:36:b3:96)
Address: 10.0.0.11 (7c:66:9d:36:b3:96)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Source: 10.0.0.9 (00:0c:29:28:d8:8c)
Address: 10.0.0.9 (00:0c:29:28:d8:8c)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: ARP (0x0806)
Address Resolution Protocol (reply)
Hardware type: Ethernet (1)
Protocol type: IP (0x0800)
Hardware size: 6
Protocol size: 4
Opcode: reply (2)
Sender MAC address: 10.0.0.9 (00:0c:29:28:d8:8c)
Sender IP address: 10.0.0.9 (10.0.0.9)
Target MAC address: 10.0.0.11 (7c:66:9d:36:b3:96)
Target IP address: 10.0.0.11 (10.0.0.11)
No. Time Source Destination Protocol Length Info
3 0.000253000 10.0.0.11 10.0.0.9 ICMP 60 Echo (ping) request id=0x0000, seq=0/0, ttl=255 (reply in 4)
Frame 3: 60 bytes on wire (480 bits), 60 bytes captured (480 bits) on interface 0
Interface id: 0
Encapsulation type: Ethernet (1)
Arrival Time: Jun 23, 2014 13:56:15.048359000 Jerusalem Daylight Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1403520975.048359000 seconds
[Time delta from previous captured frame: 0.000109000 seconds]
[Time delta from previous displayed frame: 0.000109000 seconds]
[Time since reference or first frame: 0.000253000 seconds]
Frame Number: 3
Frame Length: 60 bytes (480 bits)
Capture Length: 60 bytes (480 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:icmp]
[Coloring Rule Name: ICMP]
[Coloring Rule String: icmp || icmpv6]
Ethernet II, Src: 10.0.0.11 (7c:66:9d:36:b3:96), Dst: 10.0.0.9 (00:0c:29:28:d8:8c)
Destination: 10.0.0.9 (00:0c:29:28:d8:8c)
Address: 10.0.0.9 (00:0c:29:28:d8:8c)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Source: 10.0.0.11 (7c:66:9d:36:b3:96)
Address: 10.0.0.11 (7c:66:9d:36:b3:96)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: IP (0x0800)
Padding: 000000000000000000000000000000000000
Internet Protocol Version 4, Src: 10.0.0.11 (10.0.0.11), Dst: 10.0.0.9 (10.0.0.9)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00: Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not ECN-Capable Transport) (0x00)
Total Length: 28
Identification: 0x0000 (0)
Flags: 0x02 (Don't Fragment)
Fragment offset: 0
Time to live: 255
Protocol: ICMP (1)
Header checksum: 0x67cd [validation disabled]
Source: 10.0.0.11 (10.0.0.11)
Destination: 10.0.0.9 (10.0.0.9)
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]
Internet Control Message Protocol
No. Time Source Destination Protocol Length Info
4 0.000322000 10.0.0.9 10.0.0.11 ICMP 42 Echo (ping) reply id=0x0000, seq=0/0, ttl=64 (request in 3)
Frame 4: 42 bytes on wire (336 bits), 42 bytes captured (336 bits) on interface 0
Interface id: 0
Encapsulation type: Ethernet (1)
Arrival Time: Jun 23, 2014 13:56:15.048428000 Jerusalem Daylight Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1403520975.048428000 seconds
[Time delta from previous captured frame: 0.000069000 seconds]
[Time delta from previous displayed frame: 0.000069000 seconds]
[Time since reference or first frame: 0.000322000 seconds]
Frame Number: 4
Frame Length: 42 bytes (336 bits)
Capture Length: 42 bytes (336 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:ip:icmp]
[Coloring Rule Name: ICMP]
[Coloring Rule String: icmp || icmpv6]
Ethernet II, Src: 10.0.0.9 (00:0c:29:28:d8:8c), Dst: 10.0.0.11 (7c:66:9d:36:b3:96)
Destination: 10.0.0.11 (7c:66:9d:36:b3:96)
Address: 10.0.0.11 (7c:66:9d:36:b3:96)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Source: 10.0.0.9 (00:0c:29:28:d8:8c)
Address: 10.0.0.9 (00:0c:29:28:d8:8c)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: IP (0x0800)
Internet Protocol Version 4, Src: 10.0.0.9 (10.0.0.9), Dst: 10.0.0.11 (10.0.0.11)
Version: 4
Header length: 20 bytes
Differentiated Services Field: 0x00 (DSCP 0x00: Default; ECN: 0x00: Not-ECT (Not ECN-Capable Transport))
0000 00.. = Differentiated Services Codepoint: Default (0x00)
.... ..00 = Explicit Congestion Notification: Not-ECT (Not ECN-Capable Transport) (0x00)
Total Length: 28
Identification: 0xb11f (45343)
Flags: 0x00
Fragment offset: 0
Time to live: 64
Protocol: ICMP (1)
Header checksum: 0xb5ae [validation disabled]
Source: 10.0.0.9 (10.0.0.9)
Destination: 10.0.0.11 (10.0.0.11)
[Source GeoIP: Unknown]
[Destination GeoIP: Unknown]
Internet Control Message Protocol
No. Time Source Destination Protocol Length Info
5 5.016061000 10.0.0.9 10.0.0.11 ARP 42 Who has 10.0.0.11? Tell 10.0.0.9
Frame 5: 42 bytes on wire (336 bits), 42 bytes captured (336 bits) on interface 0
Interface id: 0
Encapsulation type: Ethernet (1)
Arrival Time: Jun 23, 2014 13:56:20.064167000 Jerusalem Daylight Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1403520980.064167000 seconds
[Time delta from previous captured frame: 5.015739000 seconds]
[Time delta from previous displayed frame: 5.015739000 seconds]
[Time since reference or first frame: 5.016061000 seconds]
Frame Number: 5
Frame Length: 42 bytes (336 bits)
Capture Length: 42 bytes (336 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:arp]
[Coloring Rule Name: ARP]
[Coloring Rule String: arp]
Ethernet II, Src: 10.0.0.9 (00:0c:29:28:d8:8c), Dst: 10.0.0.11 (7c:66:9d:36:b3:96)
Destination: 10.0.0.11 (7c:66:9d:36:b3:96)
Address: 10.0.0.11 (7c:66:9d:36:b3:96)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Source: 10.0.0.9 (00:0c:29:28:d8:8c)
Address: 10.0.0.9 (00:0c:29:28:d8:8c)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: ARP (0x0806)
Address Resolution Protocol (request)
Hardware type: Ethernet (1)
Protocol type: IP (0x0800)
Hardware size: 6
Protocol size: 4
Opcode: request (1)
Sender MAC address: 10.0.0.9 (00:0c:29:28:d8:8c)
Sender IP address: 10.0.0.9 (10.0.0.9)
Target MAC address: 00:00:00_00:00:00 (00:00:00:00:00:00)
Target IP address: 10.0.0.11 (10.0.0.11)
No. Time Source Destination Protocol Length Info
6 6.030043000 10.0.0.9 10.0.0.11 ARP 42 Who has 10.0.0.11? Tell 10.0.0.9
Frame 6: 42 bytes on wire (336 bits), 42 bytes captured (336 bits) on interface 0
Interface id: 0
Encapsulation type: Ethernet (1)
Arrival Time: Jun 23, 2014 13:56:21.078149000 Jerusalem Daylight Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1403520981.078149000 seconds
[Time delta from previous captured frame: 1.013982000 seconds]
[Time delta from previous displayed frame: 1.013982000 seconds]
[Time since reference or first frame: 6.030043000 seconds]
Frame Number: 6
Frame Length: 42 bytes (336 bits)
Capture Length: 42 bytes (336 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:arp]
[Coloring Rule Name: ARP]
[Coloring Rule String: arp]
Ethernet II, Src: 10.0.0.9 (00:0c:29:28:d8:8c), Dst: 10.0.0.11 (7c:66:9d:36:b3:96)
Destination: 10.0.0.11 (7c:66:9d:36:b3:96)
Address: 10.0.0.11 (7c:66:9d:36:b3:96)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Source: 10.0.0.9 (00:0c:29:28:d8:8c)
Address: 10.0.0.9 (00:0c:29:28:d8:8c)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: ARP (0x0806)
Address Resolution Protocol (request)
Hardware type: Ethernet (1)
Protocol type: IP (0x0800)
Hardware size: 6
Protocol size: 4
Opcode: request (1)
Sender MAC address: 10.0.0.9 (00:0c:29:28:d8:8c)
Sender IP address: 10.0.0.9 (10.0.0.9)
Target MAC address: 00:00:00_00:00:00 (00:00:00:00:00:00)
Target IP address: 10.0.0.11 (10.0.0.11)
No. Time Source Destination Protocol Length Info
7 7.028448000 10.0.0.9 10.0.0.11 ARP 42 Who has 10.0.0.11? Tell 10.0.0.9
Frame 7: 42 bytes on wire (336 bits), 42 bytes captured (336 bits) on interface 0
Interface id: 0
Encapsulation type: Ethernet (1)
Arrival Time: Jun 23, 2014 13:56:22.076554000 Jerusalem Daylight Time
[Time shift for this packet: 0.000000000 seconds]
Epoch Time: 1403520982.076554000 seconds
[Time delta from previous captured frame: 0.998405000 seconds]
[Time delta from previous displayed frame: 0.998405000 seconds]
[Time since reference or first frame: 7.028448000 seconds]
Frame Number: 7
Frame Length: 42 bytes (336 bits)
Capture Length: 42 bytes (336 bits)
[Frame is marked: False]
[Frame is ignored: False]
[Protocols in frame: eth:arp]
[Coloring Rule Name: ARP]
[Coloring Rule String: arp]
Ethernet II, Src: 10.0.0.9 (00:0c:29:28:d8:8c), Dst: 10.0.0.11 (7c:66:9d:36:b3:96)
Destination: 10.0.0.11 (7c:66:9d:36:b3:96)
Address: 10.0.0.11 (7c:66:9d:36:b3:96)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Source: 10.0.0.9 (00:0c:29:28:d8:8c)
Address: 10.0.0.9 (00:0c:29:28:d8:8c)
.... ..0. .... .... .... .... = LG bit: Globally unique address (factory default)
.... ...0 .... .... .... .... = IG bit: Individual address (unicast)
Type: ARP (0x0806)
Address Resolution Protocol (request)
Hardware type: Ethernet (1)
Protocol type: IP (0x0800)
Hardware size: 6
Protocol size: 4
Opcode: request (1)
Sender MAC address: 10.0.0.9 (00:0c:29:28:d8:8c)
Sender IP address: 10.0.0.9 (10.0.0.9)
Target MAC address: 00:00:00_00:00:00 (00:00:00:00:00:00)
Target IP address: 10.0.0.11 (10.0.0.11)
I don't clearly understtod why in ARP request Target MAC address equal to "00:00:00:00:00:00:"?