raspberry pi BCM2708 hardware watchdog

Jia-Shiun Li jiashiun at gmail.com
Wed Nov 6 16:05:05 UTC 2013


On Fri, Nov 1, 2013 at 3:11 AM, Jia-Shiun Li <jiashiun at gmail.com> wrote:
> I tried playing the watchdog for a while,  but it does not seem to be
> set correct timeout.
>
> I tried to set timeout to 120 seconds to test with the following
> command, but get immediate reset after around 1~2 seconds:
>

Just found out that
- watchdog(4) uses 2^N ns format for timeout value, and
- watchdog timeout value on BCM2835 is restricted to < 16 secs due to
register constraint
so for watchdog(d) users the only meaningful -t value on RPi is 1, 2,
4, and 8 seconds.

In case others may have the same question.

-Jia-Shiun.


More information about the freebsd-arm mailing list