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 80B01EB64D9 for ; Tue, 4 Jul 2023 12:35:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id EDDFD85FD2; Tue, 4 Jul 2023 14:34:35 +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="FoOakZsa"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 91CA886624; Mon, 3 Jul 2023 19:53:39 +0200 (CEST) Received: from mail-qt1-x82c.google.com (mail-qt1-x82c.google.com [IPv6:2607:f8b0:4864:20::82c]) (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 60CA386613 for ; Mon, 3 Jul 2023 19:53:37 +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=jaap.aarts1@gmail.com Received: by mail-qt1-x82c.google.com with SMTP id d75a77b69052e-401e23045beso38506321cf.0 for ; Mon, 03 Jul 2023 10:53:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1688406816; x=1690998816; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:from:to:cc:subject:date :message-id:reply-to; bh=XpaQeO0X0uMTTYm23ixURos1cte5jt0/xJ65ce1U4bE=; b=FoOakZsaP14p9DvL8z69MbipGBTGdwqSxKpWD55sA5x6ApGeFcLG1fUgjNm5c5bTzH 9TTBxARrkM0cfhRZf3cLD2gfcbnp6mgFgQCpMPKfMwwnY2ReVWAM+8zZPAipFDuHsssR Z630a0brU1pUS9sT9qzHguRrXdyjVRB0g6cX3FWiEzNd9QV6OBv9QUZkBS938fteK1ve mtKt+XCJmaZMyhNjj0LDlm3YDICLPou27dZ5z8ny2XVlD1Q2EJhvx9YaTLhc6YF2ujHv xrAFx/ZChsmt+13Dfma/trziu+bMF9na3q91UY0uYcvzdPCC/GX02yvNeGhOc9+5+Cdp DcMw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1688406816; x=1690998816; h=content-transfer-encoding:subject:from:to:content-language :user-agent:mime-version:date:message-id:x-gm-message-state:from:to :cc:subject:date:message-id:reply-to; bh=XpaQeO0X0uMTTYm23ixURos1cte5jt0/xJ65ce1U4bE=; b=Ug+1BZwLqowSB+FJG2vt0d1FBETzypYGQ9avhs3zSB8+QphfIE5Dm3EpzJsAqT5+KR H21LR3y29vaMRy5G0p39YBmM3QGv838W5HD/JGrGkL/KZw1H9Fb2QhOlKwFHP378YX2f KUck7n6QFqtqPxEPUzp0aaEZZWoP5SFuLhYUsdc6W/gex/8FYYPdjThcaWkvdJvU1b8Z hXza5kkYocf4g6+kRx8MmPsfQXwaA2qM4S3LL6DUDdXo+HBKC11vA7QiQzunyo7T6h64 Aj2k1ynC4xDY/uKDNaFeY5iw4OThcHPVmRLaAjRJRdsumt0Qm5S24eARlCGHgEcdD8Dy iidA== X-Gm-Message-State: AC+VfDz7v+inh1Id0RLkzb/6UEvMA00stMFz4PQYwkblezmU/xusw/EJ dp6XNdW/ADine50HOJbrpck= X-Google-Smtp-Source: APBJJlHOqyFW25DENVuWgnYUgRs6TcJrx7fRy5pI4KP2S8PwtFYvc/MFXu0w/vn57CUQg1fYmfBsFA== X-Received: by 2002:a05:622a:608:b0:3ff:31cd:2ad1 with SMTP id z8-20020a05622a060800b003ff31cd2ad1mr14773872qta.1.1688406816061; Mon, 03 Jul 2023 10:53:36 -0700 (PDT) Received: from [192.168.1.13] (ip-213-124-165-244.ip.prioritytelecom.net. [213.124.165.244]) by smtp.gmail.com with ESMTPSA id y16-20020ac87050000000b004033c3948f9sm4745331qtm.42.2023.07.03.10.53.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 03 Jul 2023 10:53:35 -0700 (PDT) Message-ID: Date: Mon, 3 Jul 2023 19:53:29 +0200 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.12.0 Content-Language: en-US To: seanga2@gmail.com, u-boot@lists.denx.de From: Jaap Aart Subject: sipeed maix bit resets every 90 seconds with watchdog enabled Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Mailman-Approved-At: Tue, 04 Jul 2023 14:34:28 +0200 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 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