Other Parts Discussed in Thread: AM62A7
Tool/software:
Hi Nick Saulnier,
I have a custom board with an AM62A7 SoC. We use the kernel/u-boot from SDK 10.1.0 (with modifications from phytec and ourself).
My problem is as follows:
- systemd is servicing /dev/watchdog0. It's used mostly for checking a reboot actually works, and I would like to keep that functionality.
If I stop servicing /dev/watchdog0 (by for instance calling gdb -p 1), the board reboots correctly. - I would like to use /dev/watchdog1 to /dev/watchdog3 (main_rti1 to main_rti3) to force a watchdog reset in some circumstances.
When I try this, the watchdog counts down, but does not trigger a reset in the ESMroot@4kcam-protoa:~# wdctl /dev/watchdog1 ; sleep 61 ; wdctl /dev/watchdog1 [ 106.551789] watchdog: watchdog1: nowayout prevents watchdog being stopped! [ 106.558816] watchdog: watchdog1: watchdog did not stop! Device: /dev/watchdog1 Identity: K3 RTI Watchdog [version 0] Timeout: 60 seconds Timeleft: 33 seconds Pre-timeout: 0 seconds FLAG DESCRIPTION STATUS BOOT-STATUS KEEPALIVEPING Keep alive ping reply 1 0 [ 167.582200] watchdog: watchdog1: nowayout prevents watchdog being stopped! [ 167.589160] watchdog: watchdog1: watchdog did not stop! Device: /dev/watchdog1 Identity: K3 RTI Watchdog [version 0] Timeout: 60 seconds Timeleft: 0 seconds Pre-timeout: 0 seconds FLAG DESCRIPTION STATUS BOOT-STATUS KEEPALIVEPING Keep alive ping reply 1 0
My questions:
- Are the watchdog devices /dev/watchdog1 to /dev/watchdog4 supposed to work?
- How can I make /dev/watchdog1 to /dev/watchdog4 reset my board?
Thanks,
Bas Vermeulen