[U-Boot-Users] Watchdog timer reset

Daniel Ann ktdann at gmail.com
Mon May 9 13:05:06 CEST 2005


Hey folks,

Just wondering, does u-boot support periodical reset of watchdog timer
? If not, I suppose I have to disable the watchdog when I enter uboot
in interactive mode, and probably enable it when I exit u-boot.

How does people normally do this ?

Just out of curiosity, (assuming u-boot does not do something like
above), can we do something similar to below code?

-=-=-=-=-=-=-=-=-=-=-=-=-=-=
signal(SIGALRM, runme);

function runme(void) {
  printf("hi\n");
  alarm(10);
}
-=-=-=-=-=-=-=-=-=-=-=-=-=-=

Cheers,


-- 
Daniel




More information about the U-Boot mailing list