Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-22 Thread Rayagonda Kokatanur
On Mon, Jun 22, 2020 at 3:08 PM Stefan Roese wrote: > > On 22.06.20 11:33, Rayagonda Kokatanur wrote: > > > > >> Sure it takes time to update images. But all this should be possible > >> with an actively serviced watchdog while still running in U-Boot. > >> This is why we have all

Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-22 Thread Stefan Roese
On 22.06.20 11:33, Rayagonda Kokatanur wrote: Sure it takes time to update images. But all this should be possible with an actively serviced watchdog while still running in U-Boot. This is why we have all these WATCHDOG_RESET() calls sprinkled all over the system. If some code paths are

Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-22 Thread Rayagonda Kokatanur
Hi Stefan, On Mon, Jun 22, 2020 at 1:06 PM Stefan Roese wrote: > > Hi Rayagonda, > > On 21.06.20 12:19, Rayagonda Kokatanur wrote: > > Hi Stefan, > > > > On Wed, Jun 17, 2020 at 6:40 PM Stefan Roese wrote: > >> > >> Hi Rayagonda, > >> > >> On 17.06.20 09:44, Rayagonda Kokatanur wrote: > >>> Hi

Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-22 Thread Stefan Roese
Hi Rayagonda, On 21.06.20 12:19, Rayagonda Kokatanur wrote: Hi Stefan, On Wed, Jun 17, 2020 at 6:40 PM Stefan Roese wrote: Hi Rayagonda, On 17.06.20 09:44, Rayagonda Kokatanur wrote: Hi Stefan, On Thu, Jun 11, 2020 at 4:19 PM Stefan Roese wrote: Hi Rayagonda, On 10.06.20 18:35,

Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-21 Thread Rayagonda Kokatanur
Hi Stefan, On Wed, Jun 17, 2020 at 6:40 PM Stefan Roese wrote: > > Hi Rayagonda, > > On 17.06.20 09:44, Rayagonda Kokatanur wrote: > > Hi Stefan, > > > > On Thu, Jun 11, 2020 at 4:19 PM Stefan Roese wrote: > >> > >> Hi Rayagonda, > >> > >> On 10.06.20 18:35, Rayagonda Kokatanur wrote: > >>> Hi

Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-17 Thread Stefan Roese
Hi Rayagonda, On 17.06.20 09:44, Rayagonda Kokatanur wrote: Hi Stefan, On Thu, Jun 11, 2020 at 4:19 PM Stefan Roese wrote: Hi Rayagonda, On 10.06.20 18:35, Rayagonda Kokatanur wrote: Hi Stefan, On Wed, Jun 10, 2020 at 4:33 PM Stefan Roese wrote: On 10.06.20 12:52, Rayagonda Kokatanur

Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-17 Thread Rayagonda Kokatanur
Hi Stefan, On Thu, Jun 11, 2020 at 4:19 PM Stefan Roese wrote: > > Hi Rayagonda, > > On 10.06.20 18:35, Rayagonda Kokatanur wrote: > > Hi Stefan, > > > > On Wed, Jun 10, 2020 at 4:33 PM Stefan Roese wrote: > >> > >> On 10.06.20 12:52, Rayagonda Kokatanur wrote: > >>> Start sp805 watchdog

Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-11 Thread Stefan Roese
Hi Rayagonda, On 10.06.20 18:35, Rayagonda Kokatanur wrote: Hi Stefan, On Wed, Jun 10, 2020 at 4:33 PM Stefan Roese wrote: On 10.06.20 12:52, Rayagonda Kokatanur wrote: Start sp805 watchdog service. Parse wdt timeout from env and dts, give precedence to env timeout if defined. Set default

Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-10 Thread Rayagonda Kokatanur
Hi Stefan, On Wed, Jun 10, 2020 at 4:33 PM Stefan Roese wrote: > > On 10.06.20 12:52, Rayagonda Kokatanur wrote: > > Start sp805 watchdog service. > > > > Parse wdt timeout from env and dts, give precedence to env > > timeout if defined. Set default timeout to 60s if both env > > and dts doesn't

Re: [PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-10 Thread Stefan Roese
On 10.06.20 12:52, Rayagonda Kokatanur wrote: Start sp805 watchdog service. Parse wdt timeout from env and dts, give precedence to env timeout if defined. Set default timeout to 60s if both env and dts doesn't specifiy timeout. Stop the WDT in board late init and start the WDT service before

[PATCH v2 8/8] board: ns3: start sp805 watchdog service

2020-06-10 Thread Rayagonda Kokatanur
Start sp805 watchdog service. Parse wdt timeout from env and dts, give precedence to env timeout if defined. Set default timeout to 60s if both env and dts doesn't specifiy timeout. Stop the WDT in board late init and start the WDT service before giving control to Linux. Signed-off-by: