This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

can get DHCP IP address, but cannot ping


hello, everyone

I ported SMSC LAN91CXX driver to my sh7760 board. When I boot my board, the DHCP IP address can be gotten. But I failed to ping to the host. Could you please give me any advice?
the following is the screen shot. I am sorry the message is long because I redefined the DEBUG value to output debug message.
Thank you!


xxchen

-----------------------------------------------------
screen shot:
-----------------------------------------------------

+FLASH configuration checksum error or invalid key
LAN91CXX - supposed BankReg @ 9400000e = 3300
LAN91CXX - type: 9, rev: 1
LAN91CXX - status: 0000
LAN91CXX - static ESA: 12:13:14:15:16:17
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 0708
lan91cxx_TxEvent:START: fifo 0100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 0180 ints 010d
RxEvent - FIFOs: 0x0180
#####Rx packet allocated 1 (previous 0)
RxEvent good rx - stat: 0x00dc, len: 0x0156
lan91cxx_recv : mlen 156, plen 156
#####Rx packet freed 1 (expected 1)
Ethernet eth0: MAC address 12:13:14:15:16:17
IP: 192.168.0.198/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.0.59, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version v2_0 - built 16:52:34, Jan 14 2005

Platform: SN7760 (SH 7760)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x8c000000-0x90000000, 0x8c00ca68-0x8ffe1000 available
FLASH: 0xa0000000 - 0xa0800000, 128 blocks of 0x00010000 bytes each.
RedBoot>
+FLASH configuration checksum error or invalid key
LAN91CXX - supposed BankReg @ 9400000e = 3300
LAN91CXX - type: 9, rev: 1
LAN91CXX - status: 0000
LAN91CXX - static ESA: 12:13:14:15:16:17
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 0708
lan91cxx_TxEvent:START: fifo 0100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 0180 ints 010d
RxEvent - FIFOs: 0x0180
#####Rx packet allocated 1 (previous 0)
RxEvent good rx - stat: 0x00dc, len: 0x0156
lan91cxx_recv : mlen 156, plen 156
#####Rx packet freed 1 (expected 1)
Ethernet eth0: MAC address 12:13:14:15:16:17
IP: 192.168.0.198/255.255.255.0, Gateway: 0.0.0.0
Default server: 192.168.0.59, DNS server IP: 0.0.0.0

RedBoot(tm) bootstrap and debug environment [ROM]
Non-certified release, version v2_0 - built 16:52:34, Jan 14 2005

Platform: SN7760 (SH 7760)
Copyright (C) 2000, 2001, 2002, Red Hat, Inc.

RAM: 0x8c000000-0x90000000, 0x8c00ca68-0x8ffe1000 available
FLASH: 0xa0000000 - 0xa0800000, 128 blocks of 0x00010000 bytes each.
RedBoot> ping -h 192.168.0.59
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 0708
lan91cxx_TxEvent:START: fifo 8100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 8180 ints 010c
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 070e
lan91cxx_TxEvent:START: fifo 8100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 8180 ints 010c
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 070e
lan91cxx_TxEvent:START: fifo 8100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 8180 ints 010c
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 070e
lan91cxx_TxEvent:START: fifo 8100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 8180 ints 010c
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 070e
lan91cxx_TxEvent:START: fifo 8100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 8180 ints 010c
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 070e
lan91cxx_TxEvent:START: fifo 8100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 8180 ints 010c
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 070e
lan91cxx_TxEvent:START: fifo 8100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 8180 ints 010c
lan91cxx_send: allocated packet 0000
#####Tx packet allocated 0 (previous 0)
lan91cxx_send:END: ints at TX: 0708
lan91cxx_TxEvent:START: fifo 8100 ints 0104
#####Tx packet freed 0 (expected 0)
lan91cxx_TxEvent:END: fifo 8180 ints 010c
PING: Cannot reach server '192.168.0.59' (192.168.0.59)
RedBoot>




--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]