I have enabled the h/w watchdog in U-Boot by setting the defines,
#define CONFIG_HW_WATCHDOG_TIMEOUT_START 10000
In U-Boot the watchdog is working and resets the processor when it hangs. I also checked that the watchdog is activated with the md.w ffc00200 command.
bfin> md.w ffc00200 1
ffc00200: 0000 ..
In linux the watchdog is also configurated and gets enabled when a main app opens /dev/watchdog. If the main app stops triggering /dev/watchdog I get a reboot just as I expected.
Here is the part that confuses me, when I don't start the main app in linux I still would expect a timeout on the watchdog because it is enabled in U-Boot. But the system never reboots and keeps running.
Therefore my question: Is the watchdog disabled again during the linux boot? Is this normal or am I missing a configure option?
- U-Boot 2010.06-00000-gc88c633-dirty (ADI-2010R1)
- Linux version 22.214.171.124-ADI-2010R2-vanbreda (ADI-2010R1-RC4)