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 C86D7C4332F for ; Mon, 19 Dec 2022 06:18:06 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 363D884B26; Mon, 19 Dec 2022 07:18:04 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=pass smtp.mailfrom=u-boot-bounces@lists.denx.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1671430684; bh=7ZIkh4v5Lo7IQ5zs1e1opixaF4cXOiD2Zxj98OS+bdU=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=o7fIu7ihVg+MwAeZCbUVMWFmkIh5h7OzMI+lqSstf2jjAgmvejfoQFj+cYwjRVFAI Hlm5Lgi27P7sX+RufLGATcI57MUW/qIm0C2x802nJiD0CVwUxq1FLlKkuoXG1B90Q3 yUYoYyHvyBIkVQZSIwTrdPMVbuo4LLJDxsyavzch15nCRqg/lstme83tiVi8mo17Ye 4QyD1daHUw9uw2j7R81AScDzoJHOGAeh6MI1CQlt0scE7OcC+O6YUSMAiSSYODL06l jTERTkRT3st0PfOPbDNIDdNBGKbfY+ioeb5ObS/RhRq+hP6xxqnAwPNhExo46TOK2D tuhyMirIYh0pQ== Received: by phobos.denx.de (Postfix, from userid 109) id DDE4A84D70; Mon, 19 Dec 2022 07:18:01 +0100 (CET) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [IPv6:2001:67c:2050:101:465::107]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by phobos.denx.de (Postfix) with ESMTPS id D54B684480 for ; Mon, 19 Dec 2022 07:17:59 +0100 (CET) Authentication-Results: phobos.denx.de; dmarc=none (p=none dis=none) header.from=denx.de Authentication-Results: phobos.denx.de; spf=fail smtp.mailfrom=sr@denx.de Received: from smtp2.mailbox.org (smtp2.mailbox.org [IPv6:2001:67c:2050:b231:465::2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by mout-u-107.mailbox.org (Postfix) with ESMTPS id 4Nb8dd53rXz9sV3; Mon, 19 Dec 2022 07:17:57 +0100 (CET) Message-ID: <9a008549-1df0-69cb-b980-8bed84c4ae7a@denx.de> Date: Mon, 19 Dec 2022 07:17:56 +0100 MIME-Version: 1.0 Subject: Re: Converting to DM SERIAL for Kirkwood boards Content-Language: en-US To: Tony Dinh , =?UTF-8?Q?Pali_Roh=c3=a1r?= Cc: Michael Walle , sjg@chromium.org, u-boot@lists.denx.de References: <20221212090325.94737-1-michael@walle.cc> <20221216075648.okampph2agvtqmaa@pali> From: Stefan Roese In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4Nb8dd53rXz9sV3 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 Hi Tony, On 12/19/22 01:17, Tony Dinh wrote: > Hi Stefan, > > On Fri, Dec 16, 2022 at 1:49 PM Tony Dinh wrote: >> >> Hi Stefan, >> Yes, I also think we need Kconfig changes for Kirwood. I will try that >> and send in patches. >> >> Hi Pali, >> I hope debugging this will be a bit quicker now that I can tell that >> it got stuck (hung or infinite loop) in nand_init() in >> ./common/board_r.c. >> >> U-Boot 2023.01-rc3-00048-gc917865c7f-dirty (Dec 15 2022 - 21:20:41 -0800) >> Pogoplug V4 >> SoC: Kirkwood 88F6281_A1 >> Model: Cloud Engines PogoPlug Series 4 >> DRAM: 128 MiB >> Core: 19 devices, 15 uclasses, devicetree: separate >> NAND: >> > > As Pali suggested, I did a git bisect to track down the Pogo V4 > problem. And the result is that perhaps we missed testing commit > 37bb396669 in rc1. If I go back one commit from this one, it is > working fine. So I think the orion_timer itself is working very well > with no problem. > > git checkout 37bb396669b27aa62fe8bc5eeb6bfde92e09c2d3 > Previous HEAD position was 3b44b3fdf2 arm: mvebu: Add support for > programming LD0 and LD1 eFuse > HEAD is now at 37bb396669 timer: orion-timer: Only init timer once > > This is where the Pogo V4 was frozen during boot. Among the Kirkwood > boards that I have and used for testing, it is the only one that has > CONFIG_BOOTSTAGE=y. Thanks for testing and git bi-secting. > Should I create a new post for would like to continue this topic here > in this thread? Let me check, if I can find the root cause and this problem quickly. If not, then we should probably disable CONFIG_BOOTSTAGE on the Pogo v4 for a short while until we've fixed this issue. Thanks, Stefan