On 14-05-23 02:41 AM, Kevin Hao wrote:
The default watchdog behaviour is to stop the timer if the process
managing it closes the file /dev/watchdog. The system would not reboot
if watchdog daemon crashes due to a bug in it or get killed by other
malicious code. So we prefer to enable nowayout option for the
watchdong. With this enabled, there is no way of disabling the watchdog
once it has been started. This option is also enabled in the predecessor
of this BSP (beagleboard).

Thanks Kevin, I've merged the patch.

Bruce


Signed-off-by: Kevin Hao <[email protected]>
---
Hi Bruce,

This is the fix for the bug: 
https://bugzilla.yoctoproject.org/show_bug.cgi?id=3937

  meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg | 1 +
  1 file changed, 1 insertion(+)

diff --git a/meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg 
b/meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg
index 6b256362845b..81f97d607d62 100644
--- a/meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg
+++ b/meta/cfg/kernel-cache/bsp/beaglebone/beaglebone.cfg
@@ -195,6 +195,7 @@ CONFIG_POWER_SUPPLY=y
  #
  # Watchdog Device Drivers
  #
+CONFIG_WATCHDOG_NOWAYOUT=y
  CONFIG_OMAP_WATCHDOG=y
  CONFIG_TWL4030_WATCHDOG=y



--
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto

Reply via email to