public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] NPE support for ADI Coyote GRG
@ 2004-06-30 11:25 Thomas Binder
  2004-06-30 13:45 ` [ECOS] GDB frame David Lewin
  0 siblings, 1 reply; 5+ messages in thread
From: Thomas Binder @ 2004-06-30 11:25 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Christoph CSEBITS

Hi!

Has anybody got interrupt driven NPE drivers working for the ARM ADI Coyote GRG 
board?

The web-page (http://ecos.sourceware.org/ecos/boards/grg.html) mentions that 
ethernet is supported, however, it does not say whether NPE or the PCI ethernet 
adapter is actually meant.

All I found so far is NPE support for RedBoot (polling).


Thanks,
Tom
-- 

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* [ECOS] GDB frame
  2004-06-30 11:25 [ECOS] NPE support for ADI Coyote GRG Thomas Binder
@ 2004-06-30 13:45 ` David Lewin
  2004-06-30 13:51   ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: David Lewin @ 2004-06-30 13:45 UTC (permalink / raw)
  To: ecos-discuss

Does someone knows how to retrieve a human
readable string instead a gdb like one, on error
I always have an answer like this from redboot :

$T0a0f:00000801;0d:f8050060;#4b

Thanx

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] GDB frame
  2004-06-30 13:45 ` [ECOS] GDB frame David Lewin
@ 2004-06-30 13:51   ` Gary Thomas
  2004-06-30 14:19     ` David Lewin
  0 siblings, 1 reply; 5+ messages in thread
From: Gary Thomas @ 2004-06-30 13:51 UTC (permalink / raw)
  To: David Lewin; +Cc: ecos-discuss

On Wed, 2004-06-30 at 07:48, David Lewin wrote:
> Does someone knows how to retrieve a human
> readable string instead a gdb like one, on error
> I always have an answer like this from redboot :
> 
> $T0a0f:00000801;0d:f8050060;#4b

Sadly, this is architecture specific.

My guess is that you're running on ARM.  IIRC, this says that
register 15 (PC?) is at 0x01080000 and 13 (SP?) is 0x600005F8.
(I might have those swapped).

Anyway, the best way to attack this is to disconnect minicom (or
whatever you use) and then attach via GDB.  For example:
  (gdb) tar rem /dev/ttyS0
  (gdb) info reg
  (gdb) bt

-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] GDB frame
  2004-06-30 13:51   ` Gary Thomas
@ 2004-06-30 14:19     ` David Lewin
  2004-06-30 14:22       ` Gary Thomas
  0 siblings, 1 reply; 5+ messages in thread
From: David Lewin @ 2004-06-30 14:19 UTC (permalink / raw)
  To: ecos-discuss; +Cc: Gary Thomas

Yes you are right, as Andrew Lunn said in a previous post :

 "Its the gdb stub trying to talk to gdb. Redboot has crashed and its
trying to tell gdb where its crashed. Use gdb with the redboot elf
image and it will tell you more about the crash."

And your are right again Redboot run on a specific Arm 
Chip.
But as I'm connected with a terminal to send
commands to redboot, if I connect to a JTAG to 
talk with GDB, Redboot is frozen and do not respond
any more. 

But on top of this, this could be because I changed the
flash driver and made a fis init.

Thanks for the gdb decoding ... it helps

----- Original Message ----- 
From: "Gary Thomas" <gary@mlbassoc.com>
To: "David Lewin" <david.lewin@europe-technologies.com>
Cc: <ecos-discuss@sources.redhat.com>
Sent: Wednesday, June 30, 2004 3:51 PM
Subject: Re: [ECOS] GDB frame


> On Wed, 2004-06-30 at 07:48, David Lewin wrote:
> > Does someone knows how to retrieve a human
> > readable string instead a gdb like one, on error
> > I always have an answer like this from redboot :
> > 
> > $T0a0f:00000801;0d:f8050060;#4b
> 
> Sadly, this is architecture specific.
> 
> My guess is that you're running on ARM.  IIRC, this says that
> register 15 (PC?) is at 0x01080000 and 13 (SP?) is 0x600005F8.
> (I might have those swapped).
> 
> Anyway, the best way to attack this is to disconnect minicom (or
> whatever you use) and then attach via GDB.  For example:
>   (gdb) tar rem /dev/ttyS0
>   (gdb) info reg
>   (gdb) bt
> 
> -- 
> Gary Thomas <gary@mlbassoc.com>
> MLB Associates

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] GDB frame
  2004-06-30 14:19     ` David Lewin
@ 2004-06-30 14:22       ` Gary Thomas
  0 siblings, 0 replies; 5+ messages in thread
From: Gary Thomas @ 2004-06-30 14:22 UTC (permalink / raw)
  To: David Lewin; +Cc: ecos-discuss

On Wed, 2004-06-30 at 08:22, David Lewin wrote:
> Yes you are right, as Andrew Lunn said in a previous post :
> 
>  "Its the gdb stub trying to talk to gdb. Redboot has crashed and its
> trying to tell gdb where its crashed. Use gdb with the redboot elf
> image and it will tell you more about the crash."
> 
> And your are right again Redboot run on a specific Arm 
> Chip.
> But as I'm connected with a terminal to send
> commands to redboot, if I connect to a JTAG to 
> talk with GDB, Redboot is frozen and do not respond
> any more. 

Use the serial connection to GDB.  At least you should be able
to connect and poke around to see why/how you got where you are.
JTAG debugging is not necessary.

> 
> But on top of this, this could be because I changed the
> flash driver and made a fis init.
> 
> Thanks for the gdb decoding ... it helps
> 
> ----- Original Message ----- 
> From: "Gary Thomas" <gary@mlbassoc.com>
> To: "David Lewin" <david.lewin@europe-technologies.com>
> Cc: <ecos-discuss@sources.redhat.com>
> Sent: Wednesday, June 30, 2004 3:51 PM
> Subject: Re: [ECOS] GDB frame
> 
> 
> > On Wed, 2004-06-30 at 07:48, David Lewin wrote:
> > > Does someone knows how to retrieve a human
> > > readable string instead a gdb like one, on error
> > > I always have an answer like this from redboot :
> > > 
> > > $T0a0f:00000801;0d:f8050060;#4b
> > 
> > Sadly, this is architecture specific.
> > 
> > My guess is that you're running on ARM.  IIRC, this says that
> > register 15 (PC?) is at 0x01080000 and 13 (SP?) is 0x600005F8.
> > (I might have those swapped).
> > 
> > Anyway, the best way to attack this is to disconnect minicom (or
> > whatever you use) and then attach via GDB.  For example:
> >   (gdb) tar rem /dev/ttyS0
> >   (gdb) info reg
> >   (gdb) bt
> > 
> > -- 
> > Gary Thomas <gary@mlbassoc.com>
> > MLB Associates
-- 
Gary Thomas <gary@mlbassoc.com>
MLB Associates


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2004-06-30 14:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-30 11:25 [ECOS] NPE support for ADI Coyote GRG Thomas Binder
2004-06-30 13:45 ` [ECOS] GDB frame David Lewin
2004-06-30 13:51   ` Gary Thomas
2004-06-30 14:19     ` David Lewin
2004-06-30 14:22       ` Gary Thomas

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).