[U-Boot] Watchdog support.

2008-09-13 Thread Luigi 'Comio' Mantellini
Hi ML, I'm working on a mips based SoC with an external watchdog. The watchdog should be touched every 5 seconds in order to avoid the system reboot. I tried to define macros like CONFIG_HW_WATCHDOG / CONFIG_WATCHDOG, but I'm not happy for the result. For example, the serial port driver (ns165

Re: [U-Boot] Watchdog support.

2008-09-14 Thread Wolfgang Denk
Dear "Luigi 'Comio' Mantellini", In message <[EMAIL PROTECTED]> you wrote: > > I'm working on a mips based SoC with an external watchdog. The watchdog > should be touched every 5 seconds in order to avoid the system reboot. That shgould be no problem. We have a couple of boards that have watchd

Re: [U-Boot] Watchdog support.

2008-09-14 Thread Luigi 'Comio' Mantellini
Hi Wolfgang, Thank you to share your experience. Anyway, I'm not sure that the common infrastructure covers all scenarios. For example in /common/main.c we have the code: ... int readline_into_buffer (const char *const prompt, char * buffer) { ... for (;;) { #ifdef CONFIG_BOOT_RETRY_TIM

Re: [U-Boot] Watchdog support.

2008-09-14 Thread Wolfgang Denk
Dear "Luigi 'Comio' Mantellini", In message <[EMAIL PROTECTED]> you wrote: > > Anyway, I'm not sure that the common infrastructure covers all scenarios. For > example in /common/main.c we have the code: As menrioned before, I'm not so sure about the MIPS implementation, but this is in proiducti

Re: [U-Boot] Watchdog support.

2008-09-15 Thread Luigi 'Comio' Mantellini
Hi Wolfgang, from this discussion, I have understood that the problem is that mips code lacks the support interrupts in iv mode. I will try to do something (support of IV modality... for example). Thanks again, luigi Il domenica 14 settembre 2008 17:59:46 Wolfgang Denk ha scritto: > Dear "Lu

Re: [U-Boot] Watchdog support.

2008-09-15 Thread Luigi 'Comio' Mantellini
Hi Wolfgang, from this discussion, I have understood that the problem is that mips code lacks the support interrupts in iv mode. I will try to do something (support of IV modality... for example). Thanks again, luigi Il domenica 14 settembre 2008 17:59:46 Wolfgang Denk ha scritto: > Dear "Lu

[U-Boot] Watchdog support for ppc4xx

2010-05-19 Thread Mark Maestas
Hi, I have a question about watchdog support for PPC_4xx. When I define CONFIG_WATCHDOG in canyonlands.h, I get an error when building cpu_init.c. The error code reads: {standard input}: Assembler messages: {standard input}:133: Error: unsupported relocation against tcr {standard input}

Re: [U-Boot] Watchdog support for ppc4xx

2010-05-20 Thread Stefan Roese
Hi Mark, On Thursday 20 May 2010 00:27:50 Mark Maestas wrote: > I have a question about watchdog support for PPC_4xx. When I define > CONFIG_WATCHDOG in canyonlands.h, I get an error when building > cpu_init.c. The error code reads: > > {standard input}: Assembler messages: > {standard input}:1

Re: [U-Boot] Watchdog support for ppc4xx

2010-05-20 Thread Mark Maestas
: Re: [U-Boot] Watchdog support for ppc4xx Hi Mark, On Thursday 20 May 2010 00:27:50 Mark Maestas wrote: > I have a question about watchdog support for PPC_4xx. When I define > CONFIG_WATCHDOG in canyonlands.h, I get an error when building > cpu_init.c. The error code reads: > >

Re: [U-Boot] Watchdog support for ppc4xx

2010-05-20 Thread Wolfgang Denk
Dear Stefan Roese, In message <201005201355.01964...@denx.de> you wrote: > > > Also I would like to determine in u-boot if a > > reset was caused by the watchdog timer using the TSR WRS field. If it > > was reset by the watchdog we will boot into a failsafe partition to > > protect against syste

Re: [U-Boot] Watchdog support for ppc4xx

2010-05-21 Thread Detlev Zundel
Hi Wolfgang, > Dear Stefan Roese, > > In message <201005201355.01964...@denx.de> you wrote: >> >> > Also I would like to determine in u-boot if a >> > reset was caused by the watchdog timer using the TSR WRS field. If it >> > was reset by the watchdog we will boot into a failsafe partition to >>

Re: [U-Boot] Watchdog support for ppc4xx

2010-06-04 Thread Mark Maestas
From: Detlev Zundel [mailto:d...@denx.de] Sent: Friday, May 21, 2010 2:06 AM To: Wolfgang Denk Cc: Stefan Roese; u-boot@lists.denx.de; Mark Maestas Subject: Re: [U-Boot] Watchdog support for ppc4xx Hi Wolfgang, > Dear Stefan Roese, > > In message <201005201355.01964...@denx.de> you wr

Re: [U-Boot] Watchdog support for ppc4xx

2010-06-04 Thread Wolfgang Denk
Dear "Mark Maestas", In message you wrote: > > I am not having luck with watchdog enabled on the ppc4xx target. The > board is doing a reset before Linux gets a chance to load. I have added Please define exactly what you mean by "before Linux gets a chance to load" - is it resetting in U-Boo

Re: [U-Boot] Watchdog support for ppc4xx

2010-06-04 Thread Mark Maestas
thing based on the PPC440 UG. Thanks for the help. Mark -Original Message- From: Wolfgang Denk [mailto:w...@denx.de] Sent: Friday, June 04, 2010 12:47 PM To: Mark Maestas Cc: Detlev Zundel; Stefan Roese; u-boot@lists.denx.de Subject: Re: [U-Boot] Watchdog support for ppc4xx Dear "

Re: [U-Boot] Watchdog support for ppc4xx

2010-07-07 Thread Chen Wen
the interrupt from > happening. It does seem to do the correct thing based on the PPC440 UG. > > Thanks for the help. > > Mark > > -Original Message- > From: Wolfgang Denk [mailto:w...@denx.de] > Sent: Friday, June 04, 2010 12:47 PM > To: Mark Maestas > Cc: Detlev

[PATCH 2/7] imx: ventana: add U-Boot watchdog support

2021-09-29 Thread Tim Harvey
Add watchdog support for U-Boot Signed-off-by: Tim Harvey --- configs/gwventana_emmc_defconfig | 6 +- configs/gwventana_gw5904_defconfig | 6 +- configs/gwventana_nand_defconfig | 6 +- 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/configs/gwventana_emmc_defcon

[PATCH 2/7] imx: ventana: add U-Boot watchdog support

2021-10-07 Thread sbabic
> Add watchdog support for U-Boot > Signed-off-by: Tim Harvey Applied to u-boot-imx, master, thanks ! Best regards, Stefano Babic -- = DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Off