MX28: Enable watchdog before reaching userspace

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

The thing is that I'm using a Freescale mx28 based board with 3.11
mainline kernel and now I want to enable watchdog before reaching
userspace so it will reset my board if no rootfs is found for some
reason.

I have compiled the kernel with stmp3xxx-rtc and stmp3xxx_rtc_wdt and
the watchdog is working fine in userspace when I echo something to
/dev/watchdog0.  I can't however get watchdog to reset my board in the
early boot process. RTC and RTC_WDT is loaded on boot and I got the
following output:

[    1.990863] stmp3xxx-rtc 80056000.rtc: rtc core: registered
80056000.rtc as rtc0
[    1.999625] i2c /dev entries driver
[    2.012643] stmp3xxx_rtc_wdt stmp3xxx_rtc_wdt: initialized watchdog
with heartbeat 19s

but  watchdog won't reset my board if I trigger a kernel panic by
removing rootfs.
--
To unsubscribe from this list: send the line "unsubscribe linux-watchdog" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [eCos]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux