cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
dcorreia2
Visitor
Visitor
2,258 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
Reply
4 Replies
austin
Scholar
Scholar
2,246 Views
Registered: ‎02-27-2008

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

Austin Lesea
Principal Engineer
Xilinx San Jose
0 Kudos
Reply
dcorreia2
Visitor
Visitor
2,241 Views
Registered: ‎05-05-2017

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

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
Reply
imshedi
Newbie
Newbie
1,360 Views
Registered: ‎01-29-2018

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
Reply