public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Fano Ramparany <Fano.Ramparany@rd.francetelecom.fr>
To: eCos Disuss <ecos-discuss@sources.redhat.com>
Cc: Jonathan Larmour <jlarmour@redhat.com>,
	Daniel Andersson <Daniel.Andersson@combitechsystems.com>
Subject: Re: [ECOS] App works in RAM but not in flash memory
Date: Mon, 20 Aug 2001 07:30:00 -0000	[thread overview]
Message-ID: <3B811EBC.86857F2A@rd.francetelecom.fr> (raw)
In-Reply-To: <3B7D6268.65222C3C@redhat.com>

(with the attachments this time... sorry)

Jonathan Larmour wrote:

> Fano Ramparany wrote:
>
> > My application uses the TCP/IP stack, and used to work (even under ROM
> > startup, but
> > with apparently some time out problems (see. a previous thread in the
> > mailing list
> > under subject "TCP/IP and rom startup mode")), until a major
> > reconfiguration of our intranet.
> > (incl. a change in our IP address). Now even the ping_test doesn't work
> > in ROM  startup mode, although
> > it works ok in RAM startup mode (using gdb).
> >

> My guess is it's something to do with the eth driver initialization.
> Perhaps the MAC address was set in the redboot config before.
>

Yes I used fconfig to set it (I've attached the current parameters below).
Curiously, it seems that init_all_network_interfaces doesn't take into
account the setup of the "ethernet station address" done with
ecos configuration tool (see hw_addr value in the second attachment)
either under RAM or ROM startup modes.

If the MAC address should not be set for the ip stack to work properly,
do you know how I can unset it?

>
> You could see if it also fails for RAM startup if you enabled the
> "CLAIM_COMMS" virtual vector option in the HAL config.

I've just done the test  with CYGSEM_HAL_VIRTUAL_VECTOR_CLAIM_COMMS
macro enabled under RAM startup mode, and ping_test runs just fine.

Fano



  parent reply	other threads:[~2001-08-20  7:30 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-17  2:56 Fano Ramparany
2001-08-17 11:29 ` Jonathan Larmour
2001-08-20  5:39   ` Fano Ramparany
2001-08-21  3:14     ` Prasad Kamath Nala
2001-08-21  7:02       ` Jonathan Larmour
2001-08-20  7:30   ` Fano Ramparany [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-08-16  9:42 Daniel.Andersson
2001-08-16 10:30 ` Jonathan Larmour
2001-08-16  6:47 Daniel.Andersson
2001-08-16  7:25 ` Jonathan Larmour

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B811EBC.86857F2A@rd.francetelecom.fr \
    --to=fano.ramparany@rd.francetelecom.fr \
    --cc=Daniel.Andersson@combitechsystems.com \
    --cc=ecos-discuss@sources.redhat.com \
    --cc=jlarmour@redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).