commit | a82bdde16c47b52b8cee8b4ce9b746421b748d85 | [log] [tgz] |
---|---|---|
author | Miroslav Mareš <mmares@cesnet.cz> | Thu May 04 23:41:16 2017 +0200 |
committer | Miroslav Mareš <mmares@cesnet.cz> | Mon May 08 20:47:36 2017 +0200 |
tree | fe715ef8177de13ed3632e28425c1ea63bbe7793 | |
parent | 8347da82bb3d0d7c319e14e72c6e520d24d5ad15 [diff] |
OMAP watchdog enabled in Barebox and systemd Watchdog is now automatically started at the moment when kernel boot process begins and the device has 60 seconds to boot and start systemd, or the watchdog will trigger and force an immediate hard device restart. Change-Id: I3c5de4e1ced8095388e90af1fba08e5a6a12a606
diff --git a/board/czechlight/beaglebone/barebox.env/boot/sd b/board/czechlight/beaglebone/barebox.env/boot/sd index a25f2d8..2aa7912 100644 --- a/board/czechlight/beaglebone/barebox.env/boot/sd +++ b/board/czechlight/beaglebone/barebox.env/boot/sd
@@ -8,3 +8,4 @@ # global.bootm.initrd=<path to initrd> global.linux.bootargs.dyn.root="root=/dev/mmcblk0p2 rootfstype=ext4 rootwait" +global.linux.bootargs.base="omap_wdt.early_enable=1"
diff --git a/board/czechlight/beaglebone/barebox.env/config-board b/board/czechlight/beaglebone/barebox.env/config-board index cd7b26d..042ed45 100644 --- a/board/czechlight/beaglebone/barebox.env/config-board +++ b/board/czechlight/beaglebone/barebox.env/config-board
@@ -1,4 +1,4 @@ #!/bin/sh global.boot.default=sd - +global.boot.watchdog_timeout=60