Skip to content

Commit f0e84fa

Browse files
Update rpi.md
1 parent b8c35f4 commit f0e84fa

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

docs/rpi.md

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,8 +115,31 @@ sudo dphys-swapfile swapon
115115

116116
- See [Proxmox][4].
117117

118+
## [Watchdog Timer][5]
119+
120+
```ini
121+
ls -al /dev/watchdog*
122+
crw------- 1 root root 10, 130 Nov 3 2016 /dev/watchdog
123+
crw------- 1 root root 252, 0 Nov 3 2016 /dev/watchdog0
124+
```
125+
126+
```ini
127+
#/etc/systemd/system.conf
128+
RuntimeWatchdogSec=10
129+
ShutdownWatchdogSec=10min
130+
```
131+
132+
```shell
133+
dmesg | grep -i watchdog
134+
[ 0.763148] bcm2835-wdt 3f100000.watchdog: Broadcom BCM2835 watchdog timer
135+
[ 1.997557] systemd[1]: Hardware watchdog 'Broadcom BCM2835 Watchdog timer', version 0
136+
[ 2.000728] systemd[1]: Set hardware watchdog to 10s.
137+
```
138+
118139
## References
119140

141+
[5]: <https://raspberrypi.stackexchange.com/questions/99584/rpi-freezes-every-now-and-then-how-to-fix-it-with-a-watchdog>
142+
120143
[1]: <https://www.makeuseof.com/how-to-boot-raspberry-pi-ssd-permanent-storage/>
121144
[2]: <https://www.raspberrypi.com/news/raspberry-pi-bullseye-update-april-2022/>
122145
[3]: <https://askubuntu.com/a/1408456>

0 commit comments

Comments
 (0)