* [U-Boot] Interrupt handler in U-Boot for MIPS based platform
@ 2011-05-26 17:44 Pandurang Kale
2011-05-27 10:04 ` Detlev Zundel
2011-05-28 3:31 ` Shinya Kuribayashi
0 siblings, 2 replies; 3+ messages in thread
From: Pandurang Kale @ 2011-05-26 17:44 UTC (permalink / raw)
To: u-boot
Hi all,
I was working on enabling the watchdog timer in the U-Boot for MIPS
based platform. I set up the timer and watchdog. when the timer expires, I
need to kick the watchdog until the user timeout period expires.
I see that for ARM we have do_irq function which gets called when there is
interrupt but I don't see any such mechanism for the MIPS.
Has any one implemented it for MIPS based platform? If not, any hint to
get it working.
Thanks,
Pandu
^ permalink raw reply [flat|nested] 3+ messages in thread* [U-Boot] Interrupt handler in U-Boot for MIPS based platform
2011-05-26 17:44 [U-Boot] Interrupt handler in U-Boot for MIPS based platform Pandurang Kale
@ 2011-05-27 10:04 ` Detlev Zundel
2011-05-28 3:31 ` Shinya Kuribayashi
1 sibling, 0 replies; 3+ messages in thread
From: Detlev Zundel @ 2011-05-27 10:04 UTC (permalink / raw)
To: u-boot
Hi Pandu,
> Hi all,
>
> I was working on enabling the watchdog timer in the U-Boot for MIPS
> based platform. I set up the timer and watchdog. when the timer expires, I
> need to kick the watchdog until the user timeout period expires.
> I see that for ARM we have do_irq function which gets called when there is
> interrupt but I don't see any such mechanism for the MIPS.
>
> Has any one implemented it for MIPS based platform? If not, any hint to
> get it working.
Generally we kick the watchdog from various places in the code with
WATCHDOG_RESET(). This way we do not need any interrupts and you should
be seeing watchdog triggers immediately without adding anything more.
Just grep for occurrences of this macro.
Cheers
Detlev
--
Emacs is the way to purify your soul using garbage collection.
--
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-40 Fax: (+49)-8142-66989-80 Email: dzu at denx.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* [U-Boot] Interrupt handler in U-Boot for MIPS based platform
2011-05-26 17:44 [U-Boot] Interrupt handler in U-Boot for MIPS based platform Pandurang Kale
2011-05-27 10:04 ` Detlev Zundel
@ 2011-05-28 3:31 ` Shinya Kuribayashi
1 sibling, 0 replies; 3+ messages in thread
From: Shinya Kuribayashi @ 2011-05-28 3:31 UTC (permalink / raw)
To: u-boot
On 5/27/11 2:44 AM, Pandurang Kale wrote:
> Has any one implemented it for MIPS based platform? If not, any hint to
> get it working.
https://www.ibm.com/developerworks/mydeveloperworks/blogs/ddou/entry/implementing_mips_interrupts_for_u_boot28?lang=en
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-05-28 3:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-26 17:44 [U-Boot] Interrupt handler in U-Boot for MIPS based platform Pandurang Kale
2011-05-27 10:04 ` Detlev Zundel
2011-05-28 3:31 ` Shinya Kuribayashi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox