This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
EB40LS ping_test problem
- From: RandyLin at mxic dot com dot tw
- To: ecos-discuss at sources dot redhat dot com
- Date: Wed, 17 Sep 2003 17:15:39 +0800
- Subject: [ECOS] EB40LS ping_test problem
In my last post "EB40LS ethernet card problem"
I found the problem:) thanks Andrew...
I didn't enable the EBI_CSR3,
so any access to this memory block(0x4000000) cause hang(using redboot
command "dump").
In the ping_test, the initialize is not complete, and I got the
ff:ff:ff:ff:ff:ff mac address.
after initialize the EBI_CSR3, things going better...
I load ping_test to EB40LS again.
I got the following messages:
=====================================
(gdb) load
Loading section .rom_vectors, size 0x40 lma 0x20a0000
Loading section .text, size 0x3b0b8 lma 0x20a0040
Loading section .rodata, size 0x2848 lma 0x20db0f8
Loading section .data, size 0x1188 lma 0x20dd940
Start address 0x20a0040, load size 256712
Transfer rate: 27022 bits/sec, 302 bytes/write.
(gdb) cont
Continuing.
[cyg_net_init] Init: mbinit(0x00000000)
[cyg_net_init] Init: cyg_net_init_devs(0x00000000)
Init device 'cs8900a_eth0'
CS8900A[0x04000000] - type: 0x630e, rev: 0x0900
CS8900 - status: 0x08d6 (no EEPROM present)
ESA 08:88:12:34:56:78
[cyg_net_init] Init: loopattach(0x00000000)
[cyg_net_init] Init: ifinit(0x00000000)
IFP: 0x020ddab4, next: 0x0212b900
IFP: 0x0212b900, next: 0x00000000
[cyg_net_init] Init: domaininit(0x00000000)
[cyg_net_init] Init: cyg_net_add_domain(0x020de538)
New domain internet at 0x00000000
[cyg_net_init] Init: cyg_net_add_domain(0x020ddf8c)
New domain route at 0x00000000
[cyg_net_init] Init: cyg_route_init(0x00000000)
[cyg_net_init] Done
Start PING test
[eth_drv_ioctl]:SIOCGIFHWADDR
BOOTP[eth0] op: REPLY
htype: Ethernet
hlen: 6
hops: 0
xid: 0x0
secs: 0
flags: 0x0
hw_addr: 08:88:12:34:56:78
client IP: 192.9.207.130
my IP: 192.9.207.130
server IP: 192.9.207.120
gateway IP: 192.9.207.254
options:
subnet mask: 255.255.255.0
IP broadcast: 192.9.207.255
gateway: 192.9.207.254
PING server 192.9.207.120
recvfrom: Operation timed out
recvfrom: Operation timed out
recvfrom: Operation timed out
recvfrom: Operation timed out
recvfrom: Operation timed out
recvfrom: Operation timed out
sendto: Host is down
sendto: Host is down
sendto: Host is down
sendto: Host is down
sendto: Host is down
sendto: Host is down
sendto: Host is down
sendto: Host is down
sendto: Host is down
sendto: Host is down
Sent 16 packets, received 0 OK, 0 bad
==================================================
I use ethernal to capture the packets.
EB40LS first send ARP packet, and Linux reply.
But EB40LS seems don't receive the reply packets, it resend the ARP
packets.
Where may be the problem??
Thanks!
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss