[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[microblaze-uclinux] Ethernet problem whith FX12MM from Memec



hi,
i have installed petalinux on an Fx12MM board from Memec/Avnet.
my firmware is generated by Xilinx EDK 8.2.01 Build EDK_Im_Sp1.3
HW versions:  microblaze_0 4.02.a    opb_ethernet 1.02.a

petalinux menuconfig: the ethernet driver is "Xilinx Ethernet driver"

Right now i have problem using the ping command in a local network.
the ifconfig command gives this result in petalinux:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 00:00:C0:A3:E5:44
         inet addr:192.168.11.99  Bcast:192.168.11.255  Mask:255.255.255.0
         UP BROADCAST  MTU:1500  Metric:1
         RX packets:0 errors:0 dropped:0 overruns:0 frame:0
         TX packets:9 errors:0 dropped:0 overruns:0 carrier:0
         collisions:0 txqueuelen:1000
                   Interrupt:1

lo        Link encap:Local Loopback
         inet addr:127.0.0.1  Mask:255.0.0.0
         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

i have tried to ping the board from my linux computer (ip
192.168.11.5) but i get no response.
I'm attaching a tcpdump where i tire to ping in both directions.

i wood be grateful for eny help i can get

//Rasmus Mattsson
ot@localhost ~]# tcpdump -v
tcpdump: listening on eth0, link-type EN10MB (Ethernet), capture size 96 bytes
12:45:40.602292 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo request, id 42359, seq 1, length 64
12:45:41.603183 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo request, id 42359, seq 2, length 64
12:45:42.613971 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo request, id 42359, seq 3, length 64
12:45:43.613960 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo request, id 42359, seq 4, length 64
12:45:44.613939 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo request, id 42359, seq 5, length 64
12:45:45.613919 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo request, id 42359, seq 6, length 64
12:45:47.021786 arp who-has 192.168.11.99 tell 192.168.11.5
12:45:47.036378 arp reply 192.168.11.99 is-at 00:00:c0:a3:e5:44 (oui Unknown)
12:46:39.361983 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.99 > 192.168.11.5: ICMP echo request, id 55, seq 0, length 64
12:46:39.362124 IP (tos 0x0, ttl  64, id 44579, offset 0, flags [none], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo reply, id 55, seq 0, length 64
12:46:40.356382 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.99 > 192.168.11.5: ICMP echo request, id 55, seq 1, length 64
12:46:40.356515 IP (tos 0x0, ttl  64, id 44580, offset 0, flags [none], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo reply, id 55, seq 1, length 64
12:46:41.356223 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.99 > 192.168.11.5: ICMP echo request, id 55, seq 2, length 64
12:46:41.356355 IP (tos 0x0, ttl  64, id 44581, offset 0, flags [none], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo reply, id 55, seq 2, length 64
12:46:44.355238 arp who-has 192.168.11.5 tell 192.168.11.99
12:46:44.355295 arp reply 192.168.11.5 is-at 00:00:1c:b5:eb:4b (oui Unknown)
12:47:01.961931 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo request, id 43127, seq 1, length 64
12:47:02.972582 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo request, id 43127, seq 2, length 64
12:47:03.972571 IP (tos 0x0, ttl  64, id 0, offset 0, flags [DF], proto: ICMP (1), length: 84) 192.168.11.5 > 192.168.11.99: ICMP echo request, id 43127, seq 3, length 64
12:47:06.960401 arp who-has 192.168.11.99 tell 192.168.11.5
12:47:06.967100 arp reply 192.168.11.99 is-at 00:00:c0:a3:e5:44 (oui Unknown)