Skip to contentSkip to conversation

sipeed maix bit resets every 90 seconds with watchdog enabled

DISCUSSION Jaap Aart 2 participants 2 messages Jul 3, 2023 – Jul 4, 2023

lore
Share & tools
lore

Jaap Aart

author
#0 lore raw

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

#1 lore raw

Hi Jaap,

Quoted 10 lines · Jaap Aart

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.

Quoted 7 lines

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