UPGRADE YOUR BROWSER

We have detected your current browser version is not the latest one. Xilinx.com uses the latest web technologies to bring you the best online experience possible. Please upgrade to a Xilinx.com supported browser:Chrome, Firefox, Internet Explorer 11, Safari. Thank you!

cancel
Showing results for 
Search instead for 
Did you mean: 
Visitor dcorreia2
Visitor
1,845 Views
Registered: ‎05-05-2017

Zynq702 uboot watchdog enable

Hi, 

 

I am looking for an example on how to enable the watchdog timer in uboot. I am building a custom project using Yocto I am using the u-boot-xlnx repository for uboot. 

I know I have to enable the variable CONFIG_HW_WATCHDOG but where do I define the code to setup the watchdog.

 

Thanks 

0 Kudos
4 Replies
Scholar austin
Scholar
1,833 Views
Registered: ‎02-27-2008

Re: Zynq702 uboot watchdog enable

http://www.wiki.xilinx.com/Axi+Watchdog

Austin Lesea
Principal Engineer
Xilinx San Jose
0 Kudos
Visitor dcorreia2
Visitor
1,828 Views
Registered: ‎05-05-2017

Re: Zynq702 uboot watchdog enable

I need to know how to enable it in uboot. I already have it running in Linux.
0 Kudos
Highlighted
Observer pritya
Observer
1,136 Views
Registered: ‎10-13-2017

Re: Zynq702 uboot watchdog enable

Hello all,

 

Did anybody got any workaround/solution on how to enable WDT in u-boot ? 

 

There is no menu w.r.t WDT in u-boot menuconfig & Kconfig file of watchdog drivers is empty.

https://github.com/Xilinx/u-boot-xlnx/blob/master/drivers/watchdog/Kconfig

 

Suppose if I want to test Xilinx WDT driver in U-boot how do I do this?

https://github.com/Xilinx/u-boot-xlnx/blob/master/drivers/watchdog/xilinx_tb_wdt.c

 

Any help will be appreciated.

0 Kudos
Newbie imshedi
Newbie
947 Views
Registered: ‎01-29-2018

Re: Zynq702 uboot watchdog enable

I got something working from my side. Please try it and share your experience. I tried it on Petalinx-2016.4 & U-boot 2016.7 (Which comes by default with plnx-2016.4)

Have made some tweaks to try WDT functionalities. Please go through the attached patch file & use only the things you need.

Good luck.

0 Kudos