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 F257EC25B0E for ; Fri, 19 Aug 2022 08:20:57 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 4B793841EF; Fri, 19 Aug 2022 10:20:55 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org 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=kernel.org header.i=@kernel.org header.b="dsF3BdY9"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 5F59A840C3; Fri, 19 Aug 2022 10:20:53 +0200 (CEST) Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id EFDD78423C for ; Fri, 19 Aug 2022 10:20:50 +0200 (CEST) Authentication-Results: phobos.denx.de; dmarc=pass (p=none dis=none) header.from=kernel.org Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=pali@kernel.org Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id 846CAB8265F; Fri, 19 Aug 2022 08:20:50 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 28597C433C1; Fri, 19 Aug 2022 08:20:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1660897249; bh=EmMrv14oiYtpUKVxhd3z/YJBRLTp8ST1CmAsUCZ4t9A=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=dsF3BdY95b813Kxa/3Lg4d4vY3Bn6xddF5oovOOHS6q+LamT7OzddjHoDxkORRnxi IWEnYDEK/zwwuvnatif5cgJq+84MbzKUapD5BgsMsPzBCJcaZNQgL6FiZVApHvnNcp OzWy8cjN5TtiXVt/u5rfVT6Zv43Q3RLTZcLhCMDOxk8HAzEpF96Xjb8ngoNMoixwQ1 1KoC814M85L+dKoSQ4VZgfpLyJwFQIUdJSCZvo9M8M+w9t8eAEpwA8SSqyfNR9pRB+ CUomdWqv92oTThqmd6BCWPltxLRw8bo8PEBuo3l2bvhWYOKpVGAQ3EQzp9MTnpwJXl pbxzS0FGmWuXA== Received: by pali.im (Postfix) id 8A454761; Fri, 19 Aug 2022 10:20:46 +0200 (CEST) Date: Fri, 19 Aug 2022 10:20:46 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Stefan Roese Cc: u-boot@lists.denx.de Subject: Re: [PATCH] tools: kwboot: Change KWBOOT_MSG_RSP_TIMEO_AXP to 10ms Message-ID: <20220819082046.6cz3sgodddqflg2i@pali> References: <20220819074359.3939035-1-sr@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20220819074359.3939035-1-sr@denx.de> User-Agent: NeoMutt/20180716 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.6 at phobos.denx.de X-Virus-Status: Clean On Friday 19 August 2022 09:43:59 Stefan Roese wrote: > Testing on the theadorable Armada XP platform has shown, thaz using the > current value of 1000ms as response timeout does not result in reliable > booting via kwboot. Using 10ms seems to be much better. So let's change > this value to this 10ms instead. > > Signed-off-by: Stefan Roese Acked-by: Pali Rohár > --- > tools/kwboot.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/tools/kwboot.c b/tools/kwboot.c > index 16bcd4d9a778..da4fe32da226 100644 > --- a/tools/kwboot.c > +++ b/tools/kwboot.c > @@ -84,7 +84,7 @@ static unsigned char kwboot_msg_debug[] = { > #define KWBOOT_MSG_RSP_TIMEO 50 /* ms */ > > /* Defines known to work on Armada XP */ > -#define KWBOOT_MSG_RSP_TIMEO_AXP 1000 /* ms */ > +#define KWBOOT_MSG_RSP_TIMEO_AXP 10 /* ms */ > > /* > * Xmodem Transfers > -- > 2.37.2 >