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]

Re: can get DHCP IP address, but cannot ping


Hi, Andrew
----- Original Message ----- From: "Andrew Lunn" <andrew@lunn.ch>
To: "xxchen" <xxchen@spherenet.co.jp>
Cc: "Nickolay" <nickolay@protei.ru>; "Andrew Lunn" <andrew@lunn.ch>;
<ecos-discuss@sources.redhat.com>
Sent: Monday, January 17, 2005 5:27 PM
Subject: Re: [ECOS] can get DHCP IP address, but cannot ping



(1)My transfer hardware circuit is not reliable.
If this is the problem, why it can get DHCP IP address successfully every
time ?

Unreliable hardware can do funny things at times, like work for a while and then stop working.....


(2)I made the hardware interrupt disable. Is this a problem?

Could you explain this a bit more.

In the private data structure of LAN driver ( in the "devs_eth_sh_sn7760.inl" file) I do not set the interrupt item. I only set base address as following:

static lan91cxx_priv_data lan91cxx_eth0_priv_data = {

   config_enaddr : sn7760_get_ESA,
#ifndef CYGSEM_DEVS_ETH_SH_SN7760_REDBOOT_ESA
   enaddr: CYGDAT_DEVS_ETH_SH_SN7760_ESA,
#endif
#if 0
   base : (unsigned short *) SA1110_FHH_ETH_IOBASE,
   attbase : (unsigned char *) SA1110_FHH_ETH_MMBASE,
   interrupt : SA1110_IRQ_GPIO_ETH
#else
   base : (unsigned short *) 0x94000000,
#endif
};

It is as the same as the "innovator" platform did. Another reason is I don't
know how to set this item.

Thank you and looking forward to further advice.


Andrew






-- 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]