public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: Jonathan Larmour <jlarmour@redhat.com>
To: amassa@san.rr.com
Cc: Hugo Tyson <hmt@redhat.com>, eCos <ecos-discuss@sourceware.cygnus.com>
Subject: [ECOS] Re: RedBoot
Date: Fri, 27 Apr 2001 11:32:00 -0000	[thread overview]
Message-ID: <3AE9BB3A.55F2172C@redhat.com> (raw)
In-Reply-To: <NBBBJIKCMKBJFEAHMGMAOEOGDHAA.amassa@san.rr.com>

Anthony Massa wrote:
> 
> I tried to run the tests by first selecting Build->Tests.  Then Tools->Run
> Tests, which brought up an error dialog to add the mbx platform, which I
> did.  Then I selected the tests to run, connected to my target via TCP
> (using my static address in RedBoot).
> 
> However, each time I tried I got this message - no matter what test I ran:
> 
> *** 21:00:17 Run started
> [ 13 Th 21:00:18] Couldn't get process information!
> Failed to run "" - The system cannot find the file specified.
> 
> *** 21:00:22 Run complete

Perhaps the cygwin tools aren't in the path. Have you installed the .reg
file mentioned in "Updated configuration tools for Windows" at
http://sources.redhat.com/ecos/anoncvs.html ?

> Not being able to run the tests, I tried to get more insight as to where my
> application was failing.  I find that it is failing in the function
> quicc_eth_init in if_quicc.c.  This is called from cyg_net_init, in the for
> loop after the thread (cyg_netint) is created and started.  I have had some
> troubles with GDB crashing while stepping through various parts of the
> quicc_eth_init routine - once it crashed when stepping over HAL_DCACHE_SYNC.
> It seems to have problems with the cyg_drv_interrupt_unmask function call.

Looking at it, the problem may be that the interrupts are set up so near
the start. This means that any interrupts received before the init function
finishes could lead to problems because the rest of the driver hasn't been
initialised. And if RedBoot had been using the eth device, interrupts
_would_ already be enabled.

Try setting up the interrupt handling much closer to the end, or perhaps
just try turning off interrupts throughout that function just to see if
that helps.

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

  reply	other threads:[~2001-04-27 11:32 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-04-26 21:44 Anthony Massa
2001-04-27 11:32 ` Jonathan Larmour [this message]
  -- strict thread matches above, loose matches on Subject: below --
2001-04-30 10:04 Anthony Massa
2001-04-27 15:06 Anthony Massa
2001-04-27 15:25 ` Jonathan Larmour
2001-04-25 21:59 [ECOS] RedBoot Anthony Massa
2001-04-26  4:15 ` Hugo Tyson
2001-04-23 12:35 [ECOS] RedBoot Anthony Massa
2001-04-23 12:47 ` Jonathan Larmour
2001-04-23 12:09 [ECOS] RedBoot Jonathan Larmour
2001-04-24  8:02 ` [ECOS] Anthony Massa
2001-04-24  8:11   ` [ECOS] Re: RedBoot Jonathan Larmour
2001-04-24  8:13     ` [ECOS] RedBoot Anthony Massa
2001-04-24  8:30       ` Hugo 'NOx' Tyson

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=3AE9BB3A.55F2172C@redhat.com \
    --to=jlarmour@redhat.com \
    --cc=amassa@san.rr.com \
    --cc=ecos-discuss@sourceware.cygnus.com \
    --cc=hmt@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).