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-14 Thread Mike Frysinger
On Wednesday 14 January 2009 17:40:34 Wolfgang Denk wrote: > In message <200901141137.37144.vap...@gentoo.org> you wrote: > > too bad watchdog documentation is non-existent to useless. ive asked on > > the list in the past for more info on how it works with no response. > > CONFIG_HW_WATCHDOG is d

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

2009-01-14 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200901141137.37144.vap...@gentoo.org> you wrote: > > too bad watchdog documentation is non-existent to useless. ive asked on the > list in the past for more info on how it works with no response. > CONFIG_HW_WATCHDOG is documented nowhere and doesnt jive with

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

2009-01-14 Thread Mike Frysinger
On Wednesday 14 January 2009 11:01:43 Wolfgang Denk wrote: > In message <200901140639.44315.vap...@gentoo.org> you wrote: > > > It means I can't enable flags CONFIG_HW_WATCHDOG & CONFIG_WATCHDOG > > > together. > > > > CONFIG_WATCHDOG -> software watchdog > > CONFIG_HW_WATCHDOG -> hardware watchdog

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

2009-01-14 Thread Wolfgang Denk
Dear Mike Frysinger, In message <200901140639.44315.vap...@gentoo.org> you wrote: > > > It means I can't enable flags CONFIG_HW_WATCHDOG & CONFIG_WATCHDOG > > together. > > CONFIG_WATCHDOG -> software watchdog > CONFIG_HW_WATCHDOG -> hardware watchdog Wrong. There is no such thing as a "software

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

2009-01-14 Thread Wolfgang Denk
Dear Sachin, In message <73fa539107892c4c8c7a5aca10c161c85be...@mx2.alphioncorp.local> you wrote: > > In the file 'include/watchdog.h', it has been mentioned that: > 8<-- > #if defined(CONFIG_HW_WATCHDOG) && defined(CONFIG_WATCHDOG) > #erro

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

2009-01-14 Thread Mike Frysinger
On Wednesday 14 January 2009 01:40:29 Sachin Rane wrote: > In the file 'include/watchdog.h', it has been mentioned that: > 8<-- > #if defined(CONFIG_HW_WATCHDOG) && defined(CONFIG_WATCHDOG) > #error "Configuration error: CONFIG_HW_WATCHDOG and

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-13 Thread Wolfgang Denk
Dear "Sachin Rane", In message <73fa539107892c4c8c7a5aca10c161c85be...@mx2.alphioncorp.local> you wrote: > > >> 'cpu/ppc4xx/serial.c'. > > >There is no such file in U-Boot. > > The version of the u-boot being used is 1.1.4. ... > It means I can't enable flags CONFIG_HW_WATCHDOG & CONFIG_WATCHD

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

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

2009-01-12 Thread Wolfgang Denk
Dear Sachin, In message <73fa539107892c4c8c7a5aca10c161c85be...@mx2.alphioncorp.local> you wrote: > > I have enabled 'watchdog' in u-boot using flag 'CONFIG_WATCHDOG'. > I wonder how the 'watchdog' gets reset when the cursor is waiting for > user input. > > As per my understanding the 'WATCHDO

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

2009-01-12 Thread Sachin Rane
Hi, I have enabled 'watchdog' in u-boot using flag 'CONFIG_WATCHDOG'. I wonder how the 'watchdog' gets reset when the cursor is waiting for user input. As per my understanding the 'WATCHDOG_RESET()' gets called in 'readline()' prior calling 'getc()'. In our case, the 'getc()' has been mapped to