watchdog0: watchdog@f8005000 { clocks = <&clkc45>; compatible = "cdns,wdt-r1p2"; interrupt-parent = <&&intc>; interrupts = <0 9 1>; reg = <0xf8005000 0x1000>; timeout-sec = <10>; }; |
&watchdog0 { status = "okay"; }; |
&watchdog0 { status = "okay"; reset-on-timeout; }; |
# timeout-sec value is set to 10s in 2018.2 and below release and 60s in 2018.3 and above release. watchdog0: watchdog@fd4d0000 { compatible = "cdns,wdt-r1p2"; status = disabled; interrupt-parent = <&gic>; interrupts = <0 113 1>; reg = <0x0 0xfd4d0000 0x1000>; timeout-sec = <60>; }; |
&watchdog0 { status = "okay"; }; |
&watchdog0 { status = "okay"; reset-on-timeout; timeout-sec = <10>; }; |
$ vim <plnx-proj-root>/project-spec/meta-user/recipes-bsp/pmu/pmu-firmware_%.bbappend #For v2018.1 or later PetaLinux releases only $ vim <plnx-proj-root>/project-spec/meta-user/recipes-bsp/pmu-firmware/pmu-firmware_%.bbappend |
YAML_COMPILER_FLAGS_append = " -DENABLE_EM -DENABLE_SCHEDULER" |
echo s > /dev/watchdog0 |
PetaLinux 2018.2 xilinx-zcu102-2018_2 /dev/ttyPS0 xilinx-zcu102-2018_2 login: root Password: root@xilinx-zcu102-2018_2:~# root@xilinx-zcu102-2018_2:~# dmesg | grep wdt [ 1.669543] cdns-wdt fd4d0000.watchdog: Xilinx Watchdog Timer at ffffff800913d000 with timeout 10s root@xilinx-zcu102-2018_2:~# root@xilinx-zcu102-2018_2:~# echo s > /dev/watchdog0 [ 66.480417] watchdog: watchdog0: watchdog did not stop! root@xilinx-zcu102-2018_2:~# Xilinx Zynq MP First Stage Boot Loader Release 2018.2 Oct 31 2018 - 15:24:39 NOTICE: ATF running on XCZU9EG/silicon v4/RTL5.1 at 0xfffea000 NOTICE: BL31: Secure code at 0x0 NOTICE: BL31: Non secure code at 0x10080000 NOTICE: BL31: v1.4(release):xilinx-v2018.1-4-g93a69a5a NOTICE: BL31: Built : 21:21:00, Oct 31 2018 PMUFW: v1.0 |
cdns-wdt fd4d0000.watchdog: Watchdog timed out. |