sipeed maix bit resets every 90 seconds with watchdog enabled

Sean Anderson seanga2 at gmail.com
Tue Jul 4 01:47:14 CEST 2023


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



More information about the U-Boot mailing list