From: Matthew Lear <matt@bubblegen.co.uk>
To: u-boot@lists.denx.de
Subject: [U-Boot] mcf5445x watchdog support in U-Boot
Date: Thu, 18 Jun 2009 14:40:14 +0100 [thread overview]
Message-ID: <a646eb1edd6dc97da36aa184cb8d67a4.squirrel@webmail.plus.net> (raw)
In-Reply-To: <4791E710007FEB4BBF83775D787F462F08A83E55@az33exm22.fsl.freescale.net>
Hi TsiChung,
I can supply you my patch for a watchdog driver implementation for 5445x
to test with if you like? I've not fed it back to Freescale yet. Will do
though. It's based on 2.6.29.
Is there a mechanism to allow U-Boot to indicate to Linux that it has
enabled the watchdog (eg as part of the bd_info struct maybe)? Just a
thought... It could then be kicked at kernel arch init and then repeatedly
by Linux user space via /dev/watchdog if required by the application. The
reason I suggested kicking the watchdog in arch init is to give Linux a
chance to boot (kernel and user) before the watchdog times out. Obviously
several things could prevent this (eg tasks that take time before user
space starts for example fsck etc).
I'm sure other U-Boot developers/maintainers have thought about this..?
Thoughts?
In any case, I need to enable the watchdog in U-Boot for a mcf54451 based
platform because need it in our system (we're using an mcf54455 evb as
reference hw). I'm happy to help in the development / testing etc. Please
just let me know.
Best regards,
-- Matt
> Matt,
>
> Yes. I am planning to enable watchdog in mcf5445x in u-boot. Need to
> investigate more in booting linux and the transition to starting the
> linux kernel of watchdog behavior to make sure it is not causing problem
> to the linux kernel.
>
> Best Regards,
> TsiChung
>
>
> -----Original Message-----
> From: Matthew Lear [mailto:matt at bubblegen.co.uk]
> Sent: Monday, June 15, 2009 7:59 AM
> To: Liew Tsi Chung-R5AAHP; u-boot at lists.denx.de
> Subject: mcf5445x watchdog support in U-Boot
>
> Hi TsiChung et al,
>
> I was wondering if there are plans to support and utilise the watchdog
> in the mcf5445x devices within U-Boot?
>
> I've ported a kernel driver from the bitshrine gpp
> (http://www.bitshrine.org/gpp/linux-2.6.25-mcfv4e-watchdog.patch) so
> that it hooks into my 54455 hw (Freescale EVB), however I'd like to
> configure and enable the watchdog in U-Boot with the intention that once
> Linux starts, the responsibility of kicking the watchdog resides with a
> user space app -> driver.
>
> Thoughts?
>
> Much appreciated.
> -- Matt
> _______________________________________________
> U-Boot mailing list
> U-Boot at lists.denx.de
> http://lists.denx.de/mailman/listinfo/u-boot
>
>
next prev parent reply other threads:[~2009-06-18 13:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-15 12:58 [U-Boot] mcf5445x watchdog support in U-Boot Matthew Lear
2009-06-18 12:50 ` Liew Tsi Chung-R5AAHP
2009-06-18 13:40 ` Matthew Lear [this message]
2009-06-24 12:32 ` Matthew Lear
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=a646eb1edd6dc97da36aa184cb8d67a4.squirrel@webmail.plus.net \
--to=matt@bubblegen.co.uk \
--cc=u-boot@lists.denx.de \
/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