This is the mail archive of the
ecos-discuss@sourceware.org
mailing list for the eCos project.
Re: Q: static IP address, how to use flash_get_config() from the application
- From: Andrew Lunn <andrew at lunn dot ch>
- To: Franz Hollerer <hollerer at decomsys dot com>
- Cc: ecos-discuss at ecos dot sourceware dot org
- Date: Thu, 2 Mar 2006 15:27:32 +0100
- Subject: Re: [ECOS] Q: static IP address, how to use flash_get_config() from the application
- References: <94296CA9FE103B409C434A38FBF81DC3958EBB@mana.decomsys.com>
On Thu, Mar 02, 2006 at 03:06:41PM +0100, Franz Hollerer wrote:
> Hi,
>
> I have assigned a static IP address to my board by means of
> "fconfig -i"
> at the Redboot prompt.
>
> How can I get Redboot to configure the network based on the settings
> given with "fconfig" and let my application take over this settings?
>
> I found that Redboot itself calls flash_get_config() to get the
> settings, but I did not find a way to call this function from my
> application.
Your application needs to have a differnet IP address to
RedBoot. Otherwise your gdb connection, which is handled by redboot,
will not work since the application knows nothing about the gdb
socket.
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