Re: [U-Boot] Watchdog timer and booting in Linux kernel

2009-03-03 Thread Sachin Rane
/ value = mfspr(SPRN_TCR); value |= TCR_DIE; mtspr(SPRN_TCR, value); /*Sachin: added - end */ //mtspr(SPRN_TCR, TCR_DIE); } Thanks. Regards, Sachin Rane __

Re: [U-Boot] Watchdog timer and booting in Linux kernel

2009-01-28 Thread Sachin Rane
Hi, Thanks for the reply. >Why don't you use the existing code for example for 440EPx from our kernel tree? Are you pointing to the code which comes under 'CONFIG_BOOKE_WDT' in 'arch/powerpc/kernel/traps.c'? If not, can you give me the location of the 'example' code in kerenl code? Regards, S

[U-Boot] Watchdog timer and booting in Linux kernel

2009-01-27 Thread Sachin Rane
Hi, I am using u-boot and linux kernel on our custom PPC440gx board. The board was booting without any issue. The board started rebooting while booting in linux kernel after enabled the watchdog timer in u-boot by defining 'CONFIG_WATCHDOG'. I have observed that the board gets reset while booti

Re: [U-Boot] Watchdog and u-boot command prompt

2009-01-23 Thread Sachin Rane
mpt for long time. As the relevant code is already there I don't think we have to add the patch. Thanks everyone for helping me to solve this riddle. Regards, Sachin -Original Message- From: Sachin Rane Sent: Thursday, January 15, 2009 6:45 PM To: 'Wolfgang Denk' Cc: u-b

Re: [U-Boot] Watchdog and u-boot command prompt

2009-01-15 Thread Sachin Rane
Hi, > I suggest you submit a patch? I am doing some kind of stress tetsing of the code to test the 'CONFIG_WATCHDOG' feature. Once I am done I will definitely give the patch for the 'missing' code. Thanks. Regards, Sachin ___ U-Boot mailing list U-B

Re: [U-Boot] Watchdog and u-boot command prompt

2009-01-13 Thread Sachin Rane
Hello Sir, >Please use a reasonable recent version instead. For following discussion I am referring to the latest version of u-boot source code i.e. 'u-boot-2008.10'. I am asking a question to improve my knowledge about the Watchdog implementation in U-Boot. In the file 'include/watchdog.h', it

Re: [U-Boot] Watchdog and u-boot command prompt

2009-01-12 Thread Sachin Rane
HDOG & CONFIG_WATCHDOG together. Am I missing out something? Regards, Sachin -Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Tuesday, January 13, 2009 12:44 AM To: Sachin Rane Cc: u-boot@lists.denx.de Subject: Re: [U-Boot] Watchdog and u-boot command prompt Dear

[U-Boot] Watchdog and u-boot command prompt

2009-01-12 Thread Sachin Rane
er doesn't enter any key. In 'serial_getc_dev()', I don't see any call to reset the watchdog . Can you help me to find out the how Watchdog is taken care (gets reset) whicle executing a infinite loop (if user doesn't press any key) ? ( Note: I am not using 'CONFIG_