From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 0E018EB64DC for ; Mon, 3 Jul 2023 23:47:21 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 2EB3883FEE; Tue, 4 Jul 2023 01:47:20 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de Authentication-Results: phobos.denx.de; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="Y/3ejeto"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 9F8378468A; Tue, 4 Jul 2023 01:47:19 +0200 (CEST) Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id 60A8A807C0 for ; Tue, 4 Jul 2023 01:47:17 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=seanga2@gmail.com Received: by mail-qt1-x82e.google.com with SMTP id d75a77b69052e-40355e76338so18029951cf.3 for ; Mon, 03 Jul 2023 16:47:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688428036; x=1691020036; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=APVKjTneNSxDtrnaqvvEcVCDPZ30ADgcOpD+//cj4eU=; b=Y/3ejetoVBsmIk5J2cnmDZfz8IKALlLKCdyPsXJFFNPvRhoX8SQKLGfFkv8+MHsfQN IXXgOKaCWS5gekIxGSlTSDGpINId16YEkgrDMMo0MVaiBq5Lg9Bptn5xtL9eXVFdJfv5 mBtygHdKL8p6rvz1NKD7ad5U59qPhU+Xmh6U0tH9wW7tcw+Knyw4aB1NpFCGld562aRZ MOl9xooiR8WT49W51TmgOCxLhdc5yfsM/Ey3EiNGabmP/YLHmveGW6zVKdvbQJ2cyR02 7d0x0aOeQKS3dxNrwDBzaMyh5T//Zw6v7Do+frRY0og2RxaEt/xnXcUrrDCAYfyVfjeE Rxug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688428036; x=1691020036; h=content-transfer-encoding:in-reply-to:from:references:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=APVKjTneNSxDtrnaqvvEcVCDPZ30ADgcOpD+//cj4eU=; b=Cm8wtywNWSqKJ+ugjwxTAwvQDE9YNnvT4HQuMfvhB0L65wDqeLEgopPn7NM64sEaNM qnoDaxd8y753qaKdfNhAa6Kk8YT4wsAgHCKGL62jpz2h5ehMplC5f7780THvwZshZ6lQ geNWraonpUyvv2B/0ClDxiw25qX17RJYAL+VuhzL3iMoze4OfRld+F40vMImYs0YXRod sBGE65KxB0Q5hVfXbGBJykwwXBEAyUI5FYAy0PM2zbTw5BuB0Yg55mT/Njp2O/vlhorw K0JfV4+JdMpLcQXSgszdZxuflZf6d7ZYh88SXZd75uTko/jWeWnw2dSSmo/5DHCEHHDb MB9A== X-Gm-Message-State: AC+VfDw+dLZzlep7+gNltAqvxKeIVZL/k5T5ZQLlVZzDpn6U7alj6s1j NEcsESIIoPaHrmTguGYu6HMSwTiEgjt4Fg== X-Google-Smtp-Source: ACHHUZ6rKeYW3OMpsKKhsRfgKEpmylD9yi0SMpf2GRB4TWUC7Uz13tz8CAxBpIX/taxEZ3/hkOUoPg== X-Received: by 2002:a05:622a:110c:b0:400:9d3c:d675 with SMTP id e12-20020a05622a110c00b004009d3cd675mr16322912qty.50.1688428035957; Mon, 03 Jul 2023 16:47:15 -0700 (PDT) Received: from [192.168.1.201] (pool-173-73-95-180.washdc.fios.verizon.net. [173.73.95.180]) by smtp.gmail.com with ESMTPSA id a26-20020ac8435a000000b003e69c51cf53sm5571580qtn.72.2023.07.03.16.47.15 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Jul 2023 16:47:15 -0700 (PDT) Message-ID: <8a23cbb6-1826-3d3e-b2d3-c19a9ab2cc6b@gmail.com> Date: Mon, 3 Jul 2023 19:47:14 -0400 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: sipeed maix bit resets every 90 seconds with watchdog enabled Content-Language: en-US To: Jaap Aart , u-boot@lists.denx.de References: From: Sean Anderson In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: u-boot@lists.denx.de X-Mailman-Version: 2.1.39 Precedence: list List-Id: U-Boot discussion List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: u-boot-bounces@lists.denx.de Sender: "U-Boot" X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean 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