Skip to content

Commit 3f68e29

Browse files
committed
configs,rpi4: quirk, override /etc/watchdogd.conf
Apparently the BCM2835 watchdog driver does not hook into /dev/watchdog but creates its own /dev/watchdog0, and is very picky about interval and timeout as well it seems. Signed-off-by: Joachim Wiberg <[email protected]>
1 parent 0158fe1 commit 3f68e29

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Broadcom BCM2835 Watchdog timer
2+
device /dev/watchdog0 {
3+
timeout = 60
4+
interval = 5
5+
safe-exit = true
6+
}

configs/rpi4_defconfig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ BR2_SYSTEM_DEFAULT_PATH="/bin:/sbin:/usr/bin:/usr/sbin"
2323
BR2_ENABLE_LOCALE_WHITELIST="C en_US en_CA C.UTF-8"
2424
BR2_GENERATE_LOCALE="en_US en_CA C.UTF-8"
2525
BR2_TARGET_TZ_INFO=y
26-
BR2_ROOTFS_OVERLAY="${BR2_EXTERNAL_INFIX_PATH}/board/common/rootfs ${BR2_EXTERNAL_INFIX_PATH}/board/aarch64/rootfs"
26+
BR2_ROOTFS_OVERLAY="${BR2_EXTERNAL_INFIX_PATH}/board/common/rootfs ${BR2_EXTERNAL_INFIX_PATH}/board/aarch64/rootfs ${BR2_EXTERNAL_INFIX_PATH}/board/aarch64/rpi/rootfs"
2727
BR2_ROOTFS_POST_BUILD_SCRIPT="board/raspberrypi4-64/post-build.sh ${BR2_EXTERNAL_INFIX_PATH}/board/common/post-build.sh"
2828
BR2_ROOTFS_POST_IMAGE_SCRIPT="board/raspberrypi4-64/post-image.sh"
2929
BR2_LINUX_KERNEL=y

0 commit comments

Comments
 (0)