This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
Re: New FLASH configuration option for network support
- From: Gary Thomas <gary at mlbassoc dot com>
- To: Uwe Kindler <ukindler at htwm dot de>
- Cc: ecos-patches at sources dot redhat dot com
- Date: 06 Jan 2004 14:23:04 -0700
- Subject: Re: New FLASH configuration option for network support
- Organization: MLB Associates
- References: <005401c3d49a$5fc935e0$2c79378d@uwepc>
On Tue, 2004-01-06 at 14:16, Uwe Kindler wrote:
> Hello,
>
> when a RedBoot configuration supports network connection, it sends some
> packet at startup to ensure that IP address is not in use. When the board is
> not connected to a network, this procdure needs a quite long time - for the
> EDOSK-2674 board this means that a startup with network support but without
> a network connection last several seconds. This is quite annoying especialy
> when debugging a application where the board needs to be reset quite often.
> Because network support is not needed if the board is currently not
> connected to a network I would like to suggest the following patch which
> enables flash configuration of network support - the patch is tested for
> EDOSK-2674 board and works well.
This doesn't look very good to me - the delay for checking for an
existing IP address should be at most 4 seconds and if this is too
much for you, then perhaps that should be configurable.
Alternatively, you could make the network initialization fail if not
connected. Look at the PowerPC/FCC driver for an example (it tests
for the presence of the link or else it fails)
--
Gary Thomas <gary@mlbassoc.com>
MLB Associates