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 269D9C433F5 for ; Wed, 1 Jun 2022 10:54:39 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id C74C083E81; Wed, 1 Jun 2022 12:54:37 +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="GT0W7yJU"; dkim-atps=neutral Received: by phobos.denx.de (Postfix, from userid 109) id 0A40484166; Wed, 1 Jun 2022 12:54:36 +0200 (CEST) Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::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 3938883E81 for ; Wed, 1 Jun 2022 12:54:33 +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 dfw.source.kernel.org (Postfix) with ESMTPS id 0A16F611D7; Wed, 1 Jun 2022 10:54:32 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 468ACC385A5; Wed, 1 Jun 2022 10:54:31 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654080871; bh=bpZGxr3WcIZVSPKo7LKJiNdSYGBEpeZQ6pbox3U+r2Y=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=GT0W7yJUMvgbWIQUM9/7+N0tOB+As7mIq7bFp14O+p3UFeWX/9Xcr9c1cTDOtW0Bk 8//ASQE4y6x6KQhqzqSVOXt/U3saZf9EFXJoZevoU+876k3kQgLazQvy9YZ4JZfe0k iPXpnpfKbo7KKl4/kG1rZs6yDN++jNXJ/qKDcWY/nX1D1NF0GOfKB+R/+/RjZttd5g OYDLIdc3oScCi2ylxdHA/2CfB+zimRIT8b70PVS27gyHs/o0+M6Dez8MOElSs3nQKU sq5tCO+bSd4AY8HySTPAVgaN/I1qGL6/kZSrFUd5WHvoqifh5xRvxGAY93xCW0NynQ E9O+Y9e5JfFLA== Received: by pali.im (Postfix) id 3FFD8891; Wed, 1 Jun 2022 12:54:28 +0200 (CEST) Date: Wed, 1 Jun 2022 12:54:28 +0200 From: Pali =?utf-8?B?Um9ow6Fy?= To: Stefan Roese Cc: Marek Behun , u-boot@lists.denx.de Subject: Re: [PATCH 2/5] arm: mvebu: Move internal registers in arch_very_early_init() function Message-ID: <20220601105428.mgsfflrrrxofo4fk@pali> References: <20220506090517.5935-1-pali@kernel.org> <20220506090517.5935-3-pali@kernel.org> <20220506120937.c6ywndaa5pcbddsv@pali> <391324c8-c2e3-8aba-af13-cdba4921a2f4@denx.de> <20220506124448.lpl7gcsy2juorhjd@pali> <20220601102733.qt46tliiiehetfle@pali> <1df9c209-de86-8a71-0208-69a88293db44@denx.de> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <1df9c209-de86-8a71-0208-69a88293db44@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.5 at phobos.denx.de X-Virus-Status: Clean On Wednesday 01 June 2022 12:44:01 Stefan Roese wrote: > Hi Pali, > > On 01.06.22 12:27, Pali Rohár wrote: > > On Friday 06 May 2022 14:44:48 Pali Rohár wrote: > > > On Friday 06 May 2022 14:35:55 Stefan Roese wrote: > > > > While doing this I noticed though, that kwboot UART booting only worked > > > > in roughly 1 out of 2 cases. With no progress after this line: > > > > > > > > Sending boot message. Please reboot the target...\ > > > > > > > > IIRC, this worked more reliable a few weeks ago. Any idea, what might > > > > have caused this regression - if I am correct here? > > > > > > There were changes in handling of bootrom boot message. There is option > > > -s which can change default timeout option. And plus there is option -a > > > which sets this timeout option to AXP value. > > > > > > Default value is 50 and for AXP default value is 1000. > > > > > > Maybe it is needed to tune AXP value... Try to call with -s option > > > between 50 and 1000... > > > > Hello Stefan! Have you tried to tune kwboot's -s or -a option for AXP board? > > Thanks for getting back on this. I totally forgot about it. > > '-a' makes it actually worse. Zero success with 5 tries. '-s 10' worked > 5 out of 5 times. So I'll stick with this version I think. > > Thanks, > Stefan Ok! So I think that you could change KWBOOT_MSG_RSP_TIMEO_AXP value in tools/kwboot.c to 10 if it works fine for your AXP board. So '-a' option would work better.