All of lore.kernel.org
 help / color / mirror / Atom feed
* sipeed maix bit resets every 90 seconds with watchdog enabled
@ 2023-07-03 17:53 Jaap Aart
  2023-07-03 23:47 ` Sean Anderson
  0 siblings, 1 reply; 2+ messages in thread
From: Jaap Aart @ 2023-07-03 17:53 UTC (permalink / raw)
  To: seanga2, u-boot

Dear sean, and others,

I encountered a small problem running linux on the sipeed maix bit from 
u-boot.
Every 90 seconds (exactly) after boot it resets, if booted into linux, 
unless I disable the watchdog.
This has occurred since this feature was enabled 
(e3282b1bbae4e8558c2b85bf27560d12358ed25f)

Although I do not completely understand the watchdog features, it notes 
it is set to 60 seconds,
and I am convinced that the point is not to reset every X seconds.
Especially because this is enabled by default.

I have not really found a good workaround besides disabling the WDT at 
runtime which is cumbersome.

Is this expected behavior? And if so, how do I disable this feature at 
compile time?

Kind regards,

Jaap Aarts



^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: sipeed maix bit resets every 90 seconds with watchdog enabled
  2023-07-03 17:53 sipeed maix bit resets every 90 seconds with watchdog enabled Jaap Aart
@ 2023-07-03 23:47 ` Sean Anderson
  0 siblings, 0 replies; 2+ messages in thread
From: Sean Anderson @ 2023-07-03 23:47 UTC (permalink / raw)
  To: Jaap Aart, u-boot

Hi Jaap,

On 7/3/23 13:53, Jaap Aart wrote:
> Dear sean, and others,
> 
> I encountered a small problem running linux on the sipeed maix bit from u-boot.
> Every 90 seconds (exactly) after boot it resets, if booted into linux, unless I disable the watchdog.
> This has occurred since this feature was enabled (e3282b1bbae4e8558c2b85bf27560d12358ed25f)
> 
> Although I do not completely understand the watchdog features, it notes it is set to 60 seconds,
> and I am convinced that the point is not to reset every X seconds.
> Especially because this is enabled by default.
> 
> I have not really found a good workaround besides disabling the WDT at runtime which is cumbersome.
> 
> Is this expected behavior? And if so, how do I disable this feature at compile time?
> 
> Kind regards,
> 
> Jaap Aarts


Do you have CONFIG_DW_WATCHDOG enabled in your kernel?

--Sean


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-07-04 12:35 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-07-03 17:53 sipeed maix bit resets every 90 seconds with watchdog enabled Jaap Aart
2023-07-03 23:47 ` Sean Anderson

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.