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 414A8C6FD1F for ; Thu, 16 Mar 2023 09:03:01 +0000 (UTC) Received: from h2850616.stratoserver.net (localhost [IPv6:::1]) by phobos.denx.de (Postfix) with ESMTP id 7729685D13; Thu, 16 Mar 2023 10:02:59 +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=1678957379; bh=zXiSABvbUbUg+wbU0VGapA6uabmX3/pm6SqMt5C2zxc=; h=Date:Subject:To:Cc:References:From:In-Reply-To:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From; b=wSr2NU70wynYLVr25LP+0JxKq5Bsc3PVpw4xxilvmd32xnRYtBR6tBzpwVjO10UMw vnAoo+MFezjMF8RWgQNGLVBRp6vuH+kVdazMfSHdqyPs9F+p5AIe7wyD23jJPwBG6v QGn0ExEdKMANLiuVZjBcWQ4PRXIEFrPlz8MLSFxnpUETncwHlFLdU6Ur8+Tu+m5j5Q kAemtQ3xIwFEOno+JXDZDYqrYqkh4GuVwEmnwCZq5ooZQsRHHtjZJbjO6tRKm/2+VU hPWF+e6f2mUv2dwuOPBUVZZlTq3tzcNFCy9LW7xKv/lRelASu6171K7wWuPfTl8sil PDXE2Iln+3GRw== Received: by phobos.denx.de (Postfix, from userid 109) id C6EC385D13; Thu, 16 Mar 2023 10:02:56 +0100 (CET) Received: from mout-u-107.mailbox.org (mout-u-107.mailbox.org [80.241.59.207]) (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 55E5E85E17 for ; Thu, 16 Mar 2023 10:02:52 +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 smtp1.mailbox.org (smtp1.mailbox.org [10.196.197.1]) (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 4Pch9j6yZRz9sQL; Thu, 16 Mar 2023 10:02:49 +0100 (CET) Message-ID: <447e1606-8885-ed7d-3780-00d2dbbcb3b2@denx.de> Date: Thu, 16 Mar 2023 10:02:49 +0100 MIME-Version: 1.0 Subject: Re: [PATCH] arm: kirkwood: Enable Debug UART for Zyxel NSA310S Content-Language: en-US To: Tony Dinh , =?UTF-8?B?UGFsaSBSb2jvv71y?= , U-Boot Mailing List Cc: Tom Rini , Luka Perkov References: <20230313033552.31721-1-mibodhi@gmail.com> From: Stefan Roese In-Reply-To: <20230313033552.31721-1-mibodhi@gmail.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit 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 On 3/13/23 04:35, Tony Dinh wrote: > It's useful to enable Debug UART for future DM Serial regression tests > for Kirkwood boards. > > Also, see background discussion in this thread: > https://lists.denx.de/pipermail/u-boot/2023-March/512010.html > > Signed-off-by: Tony Dinh Reviewed-by: Stefan Roese Thanks, Stefan > --- > > configs/nsa310s_defconfig | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/configs/nsa310s_defconfig b/configs/nsa310s_defconfig > index 76839e62dd..b936ae1b25 100644 > --- a/configs/nsa310s_defconfig > +++ b/configs/nsa310s_defconfig > @@ -15,8 +15,11 @@ CONFIG_ENV_SIZE=0x20000 > CONFIG_ENV_OFFSET=0xE0000 > CONFIG_DEFAULT_DEVICE_TREE="kirkwood-nsa310s" > CONFIG_SYS_PROMPT="NSA310s> " > +CONFIG_DEBUG_UART_BASE=0xf1012000 > +CONFIG_DEBUG_UART_CLOCK=166666667 > CONFIG_IDENT_STRING="\nZyXEL NSA310S/320S 1/2-Bay Power Media Server" > CONFIG_SYS_LOAD_ADDR=0x800000 > +CONFIG_DEBUG_UART=y > CONFIG_DISTRO_DEFAULTS=y > CONFIG_BOOTDELAY=3 > CONFIG_USE_PREBOOT=y > @@ -50,6 +53,7 @@ CONFIG_MTD_RAW_NAND=y > CONFIG_PHY_MARVELL=y > CONFIG_MVGBE=y > CONFIG_MII=y > +CONFIG_DEBUG_UART_SHIFT=2 > CONFIG_USB=y > CONFIG_USB_EHCI_HCD=y > CONFIG_UBIFS_SILENCE_MSG=y Viele Grüße, Stefan Roese -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-51 Fax: (+49)-8142-66989-80 Email: sr@denx.de