08-21-2020 05:10 AM
09-02-2020 05:22 AM
Hello,
I had enabled watchdog in u boot by adding
#DEFINE CONFIG_WD
#DEFINE CONFIG_WDT_CDNS
In platform-top.h file in petalinux,
Hope this solves your problem
09-02-2020 06:42 AM
I added CONFIG_WD and CONFIG_WDT_CDNS
through project-spec/meta-user/recipes-bsp/u-boot/files/user_XXX.cfg and rebuild u-boot. I have tested watchdog timer in u-boot : it does not work. What have I missed ? How can I tune watchdog parameters ?
09-02-2020 06:46 AM - edited 09-02-2020 06:47 AM
Did you set pmu flag to enable hardware watchdog?
Is it working in linux?
Which petalinux version ru using?
09-02-2020 06:48 AM
09-02-2020 06:55 AM
Sorry not for zynq 7000, pmu flags are only for zynq ultra scale, I have similar issue with uboot after upgrading to petalinux 2020.1, I will update once I solve it, but in 2019.2 it worked for me by adding that lines in platform-top.h file.
09-02-2020 08:32 AM
Hi
I found the solution Please also enable this flags in .cfg
CONFIG_SYSRESET_WATCHDOG=y
CONFIG_SPL_WATCHDOG_SUPPORT=y
CONFIG_SPL_WDT=y
CONFIG_WDT_CDNS=y
CONFIG_WDT=y