All of lore.kernel.org
 help / color / mirror / Atom feed
* 8541E and vector table.
@ 2007-02-20 14:20 Steve Iribarne (GMail)
  2007-02-20 14:39 ` Ami Levi Waves
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Iribarne (GMail) @ 2007-02-20 14:20 UTC (permalink / raw)
  To: linuxppc-embedded

Hi.

I must admit, this stuff always baffles me a bit, so I need someone
who knows this to explain it to me.

I am using an 8541E and my system randomly crashes.  By randomly, I
mean at different times.  I have a BDI hooked up and it always jumps
to offset 0x0000_0700

I believe this to be a vector table offset, but I need to figure out
which interrupt it is.  I believe this is a hardware issued, because
if I look at that value, it looks to be default values.  In other
words, I don't believe I have it setup.

So the question I have is how do I figure out what that interrupt vector is?

Thanks so much.

-stv

-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */

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

* RE: 8541E and vector table.
  2007-02-20 14:20 8541E and vector table Steve Iribarne (GMail)
@ 2007-02-20 14:39 ` Ami Levi Waves
  2007-02-20 15:29   ` Steve Iribarne (GMail)
  0 siblings, 1 reply; 5+ messages in thread
From: Ami Levi Waves @ 2007-02-20 14:39 UTC (permalink / raw)
  To: 'Steve Iribarne (GMail)', 'linuxppc-embedded'

Download the MPC8541 reference manual from Freescale web site.
Look in the chapter that says Exceptions (could be chapter 6)
You'll fine the different vectors addresses + explanations about each
vector.

Ami

> -----Original Message-----
> From: linuxppc-embedded-bounces+ami=3Dwaves.com@ozlabs.org =
[mailto:linuxppc-
> embedded-bounces+ami=3Dwaves.com@ozlabs.org] On Behalf Of Steve =
Iribarne
> (GMail)
> Sent: Tuesday, February 20, 2007 3:21 PM
> To: linuxppc-embedded
> Subject: 8541E and vector table.
>=20
> Hi.
>=20
> I must admit, this stuff always baffles me a bit, so I need someone
> who knows this to explain it to me.
>=20
> I am using an 8541E and my system randomly crashes.  By randomly, I
> mean at different times.  I have a BDI hooked up and it always jumps
> to offset 0x0000_0700
>=20
> I believe this to be a vector table offset, but I need to figure out
> which interrupt it is.  I believe this is a hardware issued, because
> if I look at that value, it looks to be default values.  In other
> words, I don't believe I have it setup.
>=20
> So the question I have is how do I figure out what that interrupt =
vector
> is?
>=20
> Thanks so much.
>=20
> -stv
>=20
> --
> /*
>  * Steve Iribarne
>  * Software Engineer
>  * (aka Grunt)
>  */
> _______________________________________________
> Linuxppc-embedded mailing list
> Linuxppc-embedded@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-embedded

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

* Re: 8541E and vector table.
  2007-02-20 14:39 ` Ami Levi Waves
@ 2007-02-20 15:29   ` Steve Iribarne (GMail)
  2007-02-20 15:55     ` Kumar Gala
  0 siblings, 1 reply; 5+ messages in thread
From: Steve Iribarne (GMail) @ 2007-02-20 15:29 UTC (permalink / raw)
  To: ami; +Cc: linuxppc-embedded

Hi Ami,

Thanks for the reply.  Yes I have the manual.  I guess I need to be a
little more specific.  I usually don't get down to this level of the
hardware.  It usually just works for me.

I have all the explinations etc.. of each vector, but in my memory, I
can't figure out how to map 0x0000_0700 to one of the SPR's.  I think
that's what I want to know. :)

-stv

On 2/20/07, Ami Levi Waves <ami@waves.com> wrote:
> Download the MPC8541 reference manual from Freescale web site.
> Look in the chapter that says Exceptions (could be chapter 6)
> You'll fine the different vectors addresses + explanations about each
> vector.
>
> Ami
>
> > -----Original Message-----
> > From: linuxppc-embedded-bounces+ami=waves.com@ozlabs.org [mailto:linuxppc-
> > embedded-bounces+ami=waves.com@ozlabs.org] On Behalf Of Steve Iribarne
> > (GMail)
> > Sent: Tuesday, February 20, 2007 3:21 PM
> > To: linuxppc-embedded
> > Subject: 8541E and vector table.
> >
> > Hi.
> >
> > I must admit, this stuff always baffles me a bit, so I need someone
> > who knows this to explain it to me.
> >
> > I am using an 8541E and my system randomly crashes.  By randomly, I
> > mean at different times.  I have a BDI hooked up and it always jumps
> > to offset 0x0000_0700
> >
> > I believe this to be a vector table offset, but I need to figure out
> > which interrupt it is.  I believe this is a hardware issued, because
> > if I look at that value, it looks to be default values.  In other
> > words, I don't believe I have it setup.
> >
> > So the question I have is how do I figure out what that interrupt vector
> > is?
> >
> > Thanks so much.
> >
> > -stv
> >
> > --
> > /*
> >  * Steve Iribarne
> >  * Software Engineer
> >  * (aka Grunt)
> >  */
> > _______________________________________________
> > Linuxppc-embedded mailing list
> > Linuxppc-embedded@ozlabs.org
> > https://ozlabs.org/mailman/listinfo/linuxppc-embedded
>
>


-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */

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

* Re: 8541E and vector table.
  2007-02-20 15:29   ` Steve Iribarne (GMail)
@ 2007-02-20 15:55     ` Kumar Gala
  2007-02-20 16:06       ` Steve Iribarne (GMail)
  0 siblings, 1 reply; 5+ messages in thread
From: Kumar Gala @ 2007-02-20 15:55 UTC (permalink / raw)
  To: Steve Iribarne; +Cc: linuxppc-embedded


On Feb 20, 2007, at 9:29 AM, Steve Iribarne (GMail) wrote:

> Hi Ami,
>
> Thanks for the reply.  Yes I have the manual.  I guess I need to be a
> little more specific.  I usually don't get down to this level of the
> hardware.  It usually just works for me.
>
> I have all the explinations etc.. of each vector, but in my memory, I
> can't figure out how to map 0x0000_0700 to one of the SPR's.  I think
> that's what I want to know. :)
>
> -stv

0x700 is most likely Program Check Exception, there isn't a great way  
to do the reverse mapping (addr -> exception) other than looking at  
the code.  You can dump all the IVORs and see which matches if you want.

- k

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

* Re: 8541E and vector table.
  2007-02-20 15:55     ` Kumar Gala
@ 2007-02-20 16:06       ` Steve Iribarne (GMail)
  0 siblings, 0 replies; 5+ messages in thread
From: Steve Iribarne (GMail) @ 2007-02-20 16:06 UTC (permalink / raw)
  To: Kumar Gala; +Cc: linuxppc-embedded

On 2/20/07, Kumar Gala <galak@kernel.crashing.org> wrote:
>
> On Feb 20, 2007, at 9:29 AM, Steve Iribarne (GMail) wrote:
>
> > Hi Ami,
> >
> > Thanks for the reply.  Yes I have the manual.  I guess I need to be a
> > little more specific.  I usually don't get down to this level of the
> > hardware.  It usually just works for me.
> >
> > I have all the explinations etc.. of each vector, but in my memory, I
> > can't figure out how to map 0x0000_0700 to one of the SPR's.  I think
> > that's what I want to know. :)
> >
> > -stv
>
> 0x700 is most likely Program Check Exception, there isn't a great way
> to do the reverse mapping (addr -> exception) other than looking at
> the code.  You can dump all the IVORs and see which matches if you want.
>

AHH!  That worked.  Thanks soo much.  And you were correct.  It was
the Program Check..

>


-- 
/*
 * Steve Iribarne
 * Software Engineer
 * (aka Grunt)
 */

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

end of thread, other threads:[~2007-02-20 16:06 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-02-20 14:20 8541E and vector table Steve Iribarne (GMail)
2007-02-20 14:39 ` Ami Levi Waves
2007-02-20 15:29   ` Steve Iribarne (GMail)
2007-02-20 15:55     ` Kumar Gala
2007-02-20 16:06       ` Steve Iribarne (GMail)

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.