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 X-Spam-Level: X-Spam-Status: No, score=-0.8 required=3.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE, SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 8D19AC433E0 for ; Sun, 5 Jul 2020 01:41:11 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5A8B920772 for ; Sun, 5 Jul 2020 01:41:11 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="VaqmlpMu"; dkim=fail reason="signature verification failed" (1024-bit key) header.d=samsung.com header.i=@samsung.com header.b="qEec4qRP" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5A8B920772 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=samsung.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:References:MIME-Version:Message-ID:Date:Subject: In-Reply-To:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=BzNmrWY2OyoN8kDZCqiJ6nX4S+NWFBcZKByDXo6ZNGg=; b=VaqmlpMubA9Oo5NOV088J6G4I VfppWZogu6Y+hK6SCSOWSX/sNCunU73dAw2bTRP2aJsTppOhdtlvLOGPzJ51H+S8SUqX85kV8Efdu AzyuC2KrYjRGWSVG/Tz1RDZM0Bcle4L1OsPOLgqIinp7VuOU1RY5C3y9L48ySzTq4IqHTXtTU3VBG HemUpZcJJDbcbW2mXCNKtssNnKRl0CNjD1/8sVHz4ugc9lIBFIyTHZJzQ5UWJb6Uw1mDR2Z75kXmL ckDQ+6uM6eI94grtBWZHLPNVtsmf0T4NjOyLtYD3TY0cvYhh/9XBG3wuwYOPkjOFwLeS4igJ3J+FM l8oVrBwmQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrtct-0002Mz-93; Sun, 05 Jul 2020 01:39:27 +0000 Received: from mailout3.samsung.com ([203.254.224.33]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1jrtcp-0002Mb-AG for linux-arm-kernel@lists.infradead.org; Sun, 05 Jul 2020 01:39:24 +0000 Received: from epcas5p4.samsung.com (unknown [182.195.41.42]) by mailout3.samsung.com (KnoxPortal) with ESMTP id 20200705013919epoutp0314334d8e51976a8a56229b75cc30bead~et5LI1n0B2575925759epoutp03z for ; Sun, 5 Jul 2020 01:39:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 mailout3.samsung.com 20200705013919epoutp0314334d8e51976a8a56229b75cc30bead~et5LI1n0B2575925759epoutp03z DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=samsung.com; s=mail20170921; t=1593913159; bh=inQT8vZIWZCDZwlqNDHC0tfMlJIey0coUpcXgSLWahg=; h=From:To:Cc:In-Reply-To:Subject:Date:References:From; b=qEec4qRPyKcF11O3B3FAMkLyizypaMjyJREhlcja0Lb74ob3Fry4sDlxcDmluYcth reedNRgWub4VBEl39ljtHWwV5ER+ltahFAmlLmRmYVHJ2MIw3LpIZlBgHKqpg7CP8L nOqTTWS7PoL49a7HUSyFXiUnbSPqvgz9nKm5W740= Received: from epsmges5p3new.samsung.com (unknown [182.195.42.75]) by epcas5p2.samsung.com (KnoxPortal) with ESMTP id 20200705013918epcas5p2ee189c21a7a55066eb0520e396381d6f~et5KiGyRw1758717587epcas5p20; Sun, 5 Jul 2020 01:39:18 +0000 (GMT) Received: from epcas5p1.samsung.com ( [182.195.41.39]) by epsmges5p3new.samsung.com (Symantec Messaging Gateway) with SMTP id 4C.AB.09475.64F210F5; Sun, 5 Jul 2020 10:39:18 +0900 (KST) Received: from epsmtrp1.samsung.com (unknown [182.195.40.13]) by epcas5p4.samsung.com (KnoxPortal) with ESMTPA id 20200705013917epcas5p452d47ac7c3d735a7e7b238947812f68c~et5J7sN_J0041600416epcas5p45; Sun, 5 Jul 2020 01:39:17 +0000 (GMT) Received: from epsmgms1p1new.samsung.com (unknown [182.195.42.41]) by epsmtrp1.samsung.com (KnoxPortal) with ESMTP id 20200705013917epsmtrp1a8904e1a46115cc66f81c5734fa31426~et5J7AtbX2579125791epsmtrp1l; Sun, 5 Jul 2020 01:39:17 +0000 (GMT) X-AuditID: b6c32a4b-39fff70000002503-f6-5f012f468071 Received: from epsmtip1.samsung.com ( [182.195.34.30]) by epsmgms1p1new.samsung.com (Symantec Messaging Gateway) with SMTP id 8A.F6.08382.54F210F5; Sun, 5 Jul 2020 10:39:17 +0900 (KST) Received: from alimakhtar02 (unknown [107.108.234.165]) by epsmtip1.samsung.com (KnoxPortal) with ESMTPA id 20200705013916epsmtip161efcf4a8c0f66770fccaa943e929215~et5IUQeom2759327593epsmtip1g; Sun, 5 Jul 2020 01:39:15 +0000 (GMT) From: "Alim Akhtar" To: "'Krzysztof Kozlowski'" In-Reply-To: <20200704102246.GA5975@kozik-lap> Subject: RE: [PATCH] arm64: dts: exynos: Add minimal bootargs Date: Sun, 5 Jul 2020 07:09:14 +0530 Message-ID: <004c01d6526d$18c365e0$4a4a31a0$@samsung.com> MIME-Version: 1.0 X-Mailer: Microsoft Outlook 16.0 Thread-Index: AQGPHXmhEFcAzbys4lSarlYwjg0bbAE59K/yA1z+kWMBMBDc06lX2v8w Content-Language: en-in X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFupjleLIzCtJLcpLzFFi42LZdlhTXddNnzHeYN5+OYv5R86xWpw/v4Hd YtPja6wWl3fNYbOYcX4fk0Xr3iPsDmwem1Z1snlsXlLv8XmTXABzFJdNSmpOZllqkb5dAlfG zI0pBUcEK3Y9eMnYwPiVt4uRk0NCwERiz7ynrF2MXBxCArsZJWb1HWaHcD4xSjxdPoUZwvnG KHFr92w2mJbzV78wQiT2MkpMbnwNVfWGUeLu5lusIFVsAroSOxa3gXWIANmbbywHm8sssBxo 1O8bLCAJTgE9if0NT9lBbGEBW4nvU7eCNbAIqEjsPtYMVsMrYClx8eQxNghbUOLkzCdgcWYB bYllC0E2g5ykIPHz6TJWiGVuEmd2rmSGqBGXOPqzB+w6CYGf7BK/t7xn6mLkAHJcJFYciYPo FZZ4dXwLO4QtJfGyv40doiRbomeXMUS4RmLpvGMsELa9xIErc1hASpgFNCXW79KH2MQn0fv7 CdRwXomONiGIalWJ5ndXoTqlJSZ2d7NC2B4Se+4+Yp/AqDgLyV+zkPw1C8n9sxCWLWBkWcUo mVpQnJueWmxaYJyXWq5XnJhbXJqXrpecn7uJEZxktLx3MD568EHvECMTB+MhRgkOZiUR3l5t xngh3pTEyqrUovz4otKc1OJDjNIcLErivEo/zsQJCaQnlqRmp6YWpBbBZJk4OKUamLa9nnGw NjzK7zeHnrbn2Y6pt9ofMssqb647lW++Yc/V1Q+MZ9yJZ2188PRc7VF2+8N7Lt9fW7v8+UHP Y/P/6Z99uo3Vx/Wp91WGXSyep/5kpqXydGf1rH7tmbWiaYs+Q4aldPsFV9bLS9u0pe4LBLrM mBig9cfl7x9bydWhV65nVUaIrH84KX//ve3Pfi4Nsv18wvt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8x9f1U99qbU4qeHlNtnT4iu6zu2QKJ539BB/yL4TDNtUk9cXL/7Jc5af69hPJZbijERD Leai4kQAxXKkdwgDAAA= X-CMS-MailID: 20200705013917epcas5p452d47ac7c3d735a7e7b238947812f68c X-Msg-Generator: CA CMS-TYPE: 105P X-CMS-RootMailID: 20200703184543epcas5p4adb3db7693094c72477b8469d9f205ba References: <20200703182536.9190-1-alim.akhtar@samsung.com> <000801d6516a$b6efcb40$24cf61c0$@samsung.com> <20200704102246.GA5975@kozik-lap> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20200704_213923_720694_637C104F X-CRM114-Status: GOOD ( 15.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: robh+dt@kernel.org, devicetree@vger.kernel.org, linux-samsung-soc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org Hi Krzysztof, > > > @@ -24,6 +24,7 @@ > > > > > > chosen { > > > stdout-path = &serial_2; > > > + bootargs = "earlycon=exynos4210,0x14c30000 > > > console=ttySAC0,115200n8"; > > Hi, > > The console is already chosen by stdout-path and earlycon would use it as well, > so no need for the address. It should be just "earlycon" if you want to enable it > unconditionally. > Indeed only "earlycon" will do here. Thanks for point this out. > Also, why did you use different serial for console? > Once UART driver gets probed then console changes to ttySAC0. In case I am using stdout-path only, after bootconsole is disabled, kernel logs re-start printing from beginning (which might be expected behaviour?) [ 0.012416] printk: console [tty0] enabled [ 0.016491] printk: bootconsole [exynos4210] disabled [ 0.000000] Booting Linux on physical CPU 0x0000000000 [0x410fd032] [ 0.000000] Linux version 5.8.0-rc3-next-20200703-00008-g4af626444f4a-dirty (alim@alim) (aarch64-linux-gnu-gcc (Linaro GCC 7.4-2019.02) 7.4.1 20181213 [l0 [ 0.000000] Machine model: Samsung Exynos7 Espresso board based on Exynos7 > However the question is, are you sure you want earlycon on every, including > successful boot? On most of the boards we do not enable by default. If > developer needs, he can choose it for example via U-Boot "setenv opts > earlycon". > Using U-Boot is not the case always, any bootload can be used to boot the Linux, currently I am Coreboot. And 'earlycon' is not setup by default. As Espresson board is development board, IMO it is ok to keep it enable all the time, this helps in quickly knowing what going on incase boot fails early. Let me know if it is ok to keep " console=ttySAC0,115200n8" or shell I just re-spin with only 'earlycon'? or any other suggestion? Thanks! > However it's a development kit so it could be enabled on default... > > Best regards, > Krzysztof > > > > }; > > > > > > memory@40000000 { > > > > > > base-commit: 9e50b94b3eb0d859a2586b5a40d7fd6e5afd9210 > > > -- > > > 2.17.1 > > > > _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel