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 6A351C433EF for ; Mon, 16 May 2022 06:39:02 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id ED73C84010; Mon, 16 May 2022 08:38:59 +0200 (CEST) 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=1652683140; bh=VYLYCCZ+QnKONXKa7lXd3akAH8mVmWtYpGjIIT89wAo=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=S6QrWdMSJa0cRheefI6tRNRkzkyaskgbHgCdSfWbZ3goCZJKmnu/OQreMhWg5nxkk AyzEzYjSNv1tdn5RTQ+VOjrD9JCc4GlObz0qQuoN+AuzPC7ohitLW23zM86Y4yQ7Qi CeG4Tr5FGqC8d4i+Kmt1zoaQnZ8kgly7UQi8SI1K0dZxjC6EEdw50bQvY2XPeiGlhb fDAp7wdNVmxkwSJoIkaXE4vMwMW4ia5IRpsnPTdoTbT+saDaWVMPOuiohYqTaBOR+j /9pKgnR/+3PvPxMfbENRPGbfu6mkuNFfhLULSYwbd7PeVts7jW85jW9kJshwJkShVN 8kHn7Q7pHSwDA== Received: by phobos.denx.de (Postfix, from userid 109) id 1B2978404F; Mon, 16 May 2022 08:38:58 +0200 (CEST) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [91.198.250.252]) (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 D37CE8395F for ; Mon, 16 May 2022 08:38:55 +0200 (CEST) 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 smtp202.mailbox.org (smtp202.mailbox.org [IPv6:2001:67c:2050:b231:465::202]) (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 4L1qMx5xnkz9t1y; Mon, 16 May 2022 08:38:53 +0200 (CEST) Message-ID: Date: Mon, 16 May 2022 08:38:53 +0200 MIME-Version: 1.0 Subject: Re: [PATCH 5/5] arm: mvebu: turris_omnia: Fix DEBUG_UART_BASE Content-Language: en-US To: =?UTF-8?Q?Pali_Roh=c3=a1r?= , Marek Behun Cc: u-boot@lists.denx.de References: <20220506090517.5935-1-pali@kernel.org> <20220506090517.5935-6-pali@kernel.org> From: Stefan Roese In-Reply-To: <20220506090517.5935-6-pali@kernel.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 4L1qMx5xnkz9t1y 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 06.05.22 11:05, Pali Rohár wrote: > Internal registers in SPL are at address 0xd0000000 and in proper U-Boot at > address 0xf1000000. UART base address is located in internal registers. > > Fix DEBUG_UART_BASE option to correct value for both SPL and proper U-Boot. > > This change fixes hangup of proper U-Boot when it is trying to print > something via debug UART. > > Signed-off-by: Pali Rohár Reviewed-by: Stefan Roese Thanks, Stefan > --- > configs/turris_omnia_defconfig | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/configs/turris_omnia_defconfig b/configs/turris_omnia_defconfig > index 217e2603fdfb..62c9be29c86b 100644 > --- a/configs/turris_omnia_defconfig > +++ b/configs/turris_omnia_defconfig > @@ -18,7 +18,7 @@ CONFIG_DEFAULT_DEVICE_TREE="armada-385-turris-omnia" > CONFIG_SPL_TEXT_BASE=0x40000030 > CONFIG_SPL_SERIAL=y > CONFIG_SPL=y > -CONFIG_DEBUG_UART_BASE=0xd0012000 > +CONFIG_DEBUG_UART_BASE=0xf1012000 > CONFIG_DEBUG_UART_CLOCK=250000000 > CONFIG_SYS_LOAD_ADDR=0x800000 > CONFIG_DEBUG_UART=y > @@ -93,6 +93,7 @@ CONFIG_PCI_MVEBU=y > CONFIG_DM_RTC=y > CONFIG_RTC_ARMADA38X=y > CONFIG_SCSI=y > +CONFIG_SPL_DEBUG_UART_BASE=0xd0012000 > CONFIG_DEBUG_UART_SHIFT=2 > CONFIG_SYS_NS16550=y > CONFIG_KIRKWOOD_SPI=y Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Wolfgang Denk HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de