public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] peculiar RedBoot network problem
@ 2001-07-20  8:30 Trenton D. Adams
  2001-07-20  9:22 ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Trenton D. Adams @ 2001-07-20  8:30 UTC (permalink / raw)
  To: 'eCos Discussion'

I run my programs over the network using RedBoot.  RedBoot is set to use
the ip 172.16.1.240.  My eCos application is set to get an IP using
DHCP.  It gets an ip of 172.16.1.11.  Now, I ran my eCos program from
RedBoot, and now a reset of the board does not reset the IP to
172.16.1.240.  It's almost as if the eCos application has taken over
some how.  Of course RedBoot doesn't listen on 172.16.1.11 so I can't do
a GDB connection to there.  Also, running fconfig through a serial port
shows that 172.16.1.240 is in fact the IP RedBoot is setup for.

Any ideas why this might happen?  I've been running eCos programs with
network support enabled for the past day using the network GDB of
RedBoot and this hasn't occurred until now.
 
Trenton D. Adams
Embedded Developer
Windows Developer
Extreme Engineering Ltd.
Calgary Alberta.



^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] peculiar RedBoot network problem
  2001-07-20  8:30 [ECOS] peculiar RedBoot network problem Trenton D. Adams
@ 2001-07-20  9:22 ` Jonathan Larmour
  2001-07-20  9:28   ` Trenton D. Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Larmour @ 2001-07-20  9:22 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: 'eCos Discussion'

"Trenton D. Adams" wrote:
> 
> I run my programs over the network using RedBoot.  RedBoot is set to use
> the ip 172.16.1.240.  My eCos application is set to get an IP using
> DHCP.  It gets an ip of 172.16.1.11.  Now, I ran my eCos program from
> RedBoot, and now a reset of the board does not reset the IP to
> 172.16.1.240.  It's almost as if the eCos application has taken over
> some how.  Of course RedBoot doesn't listen on 172.16.1.11 so I can't do
> a GDB connection to there.  Also, running fconfig through a serial port
> shows that 172.16.1.240 is in fact the IP RedBoot is setup for.
> 
> Any ideas why this might happen?  I've been running eCos programs with
> network support enabled for the past day using the network GDB of
> RedBoot and this hasn't occurred until now.

Have you set a static IP address in your CDL configuration? Or in your
flash configuration?

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] peculiar RedBoot network problem
  2001-07-20  9:22 ` Jonathan Larmour
@ 2001-07-20  9:28   ` Trenton D. Adams
  2001-07-20  9:41     ` Jonathan Larmour
  0 siblings, 1 reply; 5+ messages in thread
From: Trenton D. Adams @ 2001-07-20  9:28 UTC (permalink / raw)
  To: 'Jonathan Larmour'; +Cc: 'eCos Discussion'

  > 
  > "Trenton D. Adams" wrote:
  > >
  > > I run my programs over the network using RedBoot.  RedBoot is set
to
  > use
  > > the ip 172.16.1.240.  My eCos application is set to get an IP
using
  > > DHCP.  It gets an ip of 172.16.1.11.  Now, I ran my eCos program
from
  > > RedBoot, and now a reset of the board does not reset the IP to
  > > 172.16.1.240.  It's almost as if the eCos application has taken
over
  > > some how.  Of course RedBoot doesn't listen on 172.16.1.11 so I
can't
  > do
  > > a GDB connection to there.  Also, running fconfig through a serial
  > port
  > > shows that 172.16.1.240 is in fact the IP RedBoot is setup for.
  > >
  > > Any ideas why this might happen?  I've been running eCos programs
with
  > > network support enabled for the past day using the network GDB of
  > > RedBoot and this hasn't occurred until now.
  > 
  > Have you set a static IP address in your CDL configuration? Or in
your
  > flash configuration?
  > 

My flash configuration for RedBoot is a static IP.  My configuration for
eCos is DHCP.

^ permalink raw reply	[flat|nested] 5+ messages in thread

* Re: [ECOS] peculiar RedBoot network problem
  2001-07-20  9:28   ` Trenton D. Adams
@ 2001-07-20  9:41     ` Jonathan Larmour
  2001-07-20  9:52       ` Trenton D. Adams
  0 siblings, 1 reply; 5+ messages in thread
From: Jonathan Larmour @ 2001-07-20  9:41 UTC (permalink / raw)
  To: Trenton D. Adams; +Cc: 'eCos Discussion'

"Trenton D. Adams" wrote:
> 
>   > Have you set a static IP address in your CDL configuration? Or in
> your
>   > flash configuration?
>   >
> 
> My flash configuration for RedBoot is a static IP.  My configuration for
> eCos is DHCP.

Do an fconfig -l and recheck that it's not using BOOTP.

It's been suggested it may be something to do with the ARP cache on your
local machine. Try looking at that.

Jifl
-- 
Red Hat, Rustat House, Clifton Road, Cambridge, UK. Tel: +44 (1223) 271062
Maybe this world is another planet's Hell -Aldous Huxley || Opinions==mine
Come to the Red Hat TechWorld open source conference in Brussels!
Keynotes, techie talks and exhibitions    http://www.redhat-techworld.com/

^ permalink raw reply	[flat|nested] 5+ messages in thread

* RE: [ECOS] peculiar RedBoot network problem
  2001-07-20  9:41     ` Jonathan Larmour
@ 2001-07-20  9:52       ` Trenton D. Adams
  0 siblings, 0 replies; 5+ messages in thread
From: Trenton D. Adams @ 2001-07-20  9:52 UTC (permalink / raw)
  To: 'Jonathan Larmour'; +Cc: 'eCos Discussion'

  > 
  > "Trenton D. Adams" wrote:
  > >
  > >   > Have you set a static IP address in your CDL configuration? Or
in
  > > your
  > >   > flash configuration?
  > >   >
  > >
  > > My flash configuration for RedBoot is a static IP.  My
configuration
  > for
  > > eCos is DHCP.
  > 
  > Do an fconfig -l and recheck that it's not using BOOTP.
  > 
  > It's been suggested it may be something to do with the ARP cache on
your
  > local machine. Try looking at that.
  > 

That was the first thing I did, but the BOOTP option is set to false.

It's fixed now because I downloaded RedBoot to the board again.  I
didn't change the flash configuration because it stayed the same.  So,
it's not an emergency.  If you happen to think of another reason why it
might happen, let me know.

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2001-07-20  9:52 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-07-20  8:30 [ECOS] peculiar RedBoot network problem Trenton D. Adams
2001-07-20  9:22 ` Jonathan Larmour
2001-07-20  9:28   ` Trenton D. Adams
2001-07-20  9:41     ` Jonathan Larmour
2001-07-20  9:52       ` Trenton D. Adams

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).