[U-Boot-Users] 405Gpr timer interrupt

Jerry Walden jwalden at digitalatlantic.com
Thu Apr 10 22:24:49 CEST 2003


I'm probably just missing it, but I cannot see where the
Interrupt Vector Table is being copied over in U-Boot
(for the PPC405gp) - could someone give me a sanity
check please?

Thanks
Jerry Walden

-----Original Message-----
From: Jerry Walden [mailto:jwalden at digitalatlantic.com]
Sent: Thursday, April 10, 2003 2:48 PM
To: Wolfgang Denk
Cc: u-boot-users at lists.sourceforge.net
Subject: RE: [U-Boot-Users] 405Gpr timer interrup


>Does the "sleep" command work, with correct timing,
>i. e. will "sleep 5" sleep for approx. 5 seconds?
Yes - however that is using udelay which does not seem
connected to the timestamp which is incremented in the PIT
handler.

Anyway... I figured one reason why the PIT was not causing
the timestamp to interate - I had interrupts turned off.
I had interrupts_enable commented out from my very first days
of working on u-boot.

Now - when I turn the interrupts on and then - and only when -
I enable the PIT - u-boot gets a ProgramCheck.

So - Just to check, I looked to see if there was an address for
a handler in the Interrupt Vector Table for the PIT - and I did
not find a valid address.

However to cross-check myself, I looked in the IVT for the ProgramCheck
vector (I used the BDI to dump 0x700) there was not a valid address there
and no code.

So the question now is what should the IVT look like, and at what addresses
should there be either vectors or code?

Thanks

Jerry Walden
-----Original Message-----
From: u-boot-users-admin at lists.sourceforge.net
[mailto:u-boot-users-admin at lists.sourceforge.net]On Behalf Of Wolfgang
Denk
Sent: Wednesday, April 09, 2003 5:18 PM
To: jwalden at digitalatlantic.com
Cc: erik.teose at exgate.tek.com; u-boot-users at lists.sourceforge.net
Subject: Re: [U-Boot-Users] 405Gpr timer interrup


In message <EGEGIJHKDKJGAJMGIDPNEEIPCKAA.jwalden at digitalatlantic.com> you
wrote:
> my enet port status shows - "100 MBit/sec, full duplex"
> so I think that is a-okay -
>
> Still can't figure out why I'm not getting a timer interrupt

Does the "sleep" command work, with correct timing,
i. e. will "sleep 5" sleep for approx. 5 seconds?


Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd at denx.de
If I have seen further it is by standing on the shoulders of  giants.
              - Isaac Newton, Letter to Robert Hooke, 5 February 1676


-------------------------------------------------------
This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger
for complex code. Debugging C/C++ programs can leave you feeling lost and
disoriented. TotalView can help you find your way. Available on major UNIX
and Linux platforms. Try it free. www.etnus.com
_______________________________________________
U-Boot-Users mailing list
U-Boot-Users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/u-boot-users





More information about the U-Boot mailing list