Why does the WATCHDOG_RESET function fail to reset HPS watchdog in U-Boot? - Why does the WATCHDOG_RESET function fail to reset HPS watchdog in U-Boot?
Description Due to a bug in U-Boot 2022.10 and earlier versions, the WATCHDOG_RESET function will fail to reset the watchdog once U-Boot runs for more than 533days 18h 14m, because WATCHDOG_RESET gets the value from a 64bits system counter register as the timestamp to calculate the interval time period, but it doesn't check if the register overflows. Resolution There are two ways to avoid such failure: Don't use the WATCHDOG_RESET function of the watchdog Driver Model(DM) in U-Boot 2022.10 and earlier versions; use the watchdog device driver interface instead. Upgrade to U-Boot 2023.01 or a later version. Additional Information It's U-Boot bug and from U-Boot 2023.01 it has been fixed, please refer to below link: https://source.denx.de/u-boot/u-boot/-/commit/c2fd0ca1a8226903e6e00f970c58f23742d6a418#8ac293b34eaa88bdaabfec556270e7e4a5a6cbab
Custom Fields values:
['novalue']
Troubleshooting
14020013786
False
['novalue']
['novalue']
novalue
novalue
['Agilex™ 7 FPGAs and SoCs']
['novalue']
['novalue']
['novalue'] - 2024-02-22
external_document