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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 611DBC433F5 for ; Fri, 7 Jan 2022 14:16:13 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=aoWmjmm1b6ViiCZrJ1vJNFMpmqFON5CK1rwDf3TQ5Bs=; b=CGSUSfBt4R+imh r3niGQtVaxl8FRmssOdVlkwNNBSODBzuhC7vY+azrB5brBTH96QsnJsIwZ+M47jtHlNSq100n2D9e NSa0Rcu4odRN5Y6/WtLd0toXMrf5kZhtXymsff0patkyQjBIPbSf3S9ceUxvacCk1bXBwZ9L4kJ5+ thmcx++I4zkxMoMiklrp0yXOCO4OI/pYf8nUlBQR8xEB39l4P7sBrpt+cKpLIZoBptdZizSYDLgzb j6E+uBvL44fVi8YZ0/o+4fKslo5CAC4QYMKLAeCF78dFiG+xNiYfvwx0SCGrHTtUmTGDPOoRuYJwc +VzWMlluuUVOg0ftEwjw==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5q1J-00485B-FM; Fri, 07 Jan 2022 14:15:05 +0000 Received: from foss.arm.com ([217.140.110.172]) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5q1F-00483j-Qk for linux-arm-kernel@lists.infradead.org; Fri, 07 Jan 2022 14:15:03 +0000 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id C210113A1; Fri, 7 Jan 2022 06:15:00 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.7.134]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 187B23F774; Fri, 7 Jan 2022 06:14:59 -0800 (PST) Date: Fri, 7 Jan 2022 14:14:57 +0000 From: Mark Rutland To: Andre Przywara Cc: linux-arm-kernel@lists.infradead.org, Jaxson Han Subject: Re: [boot-wrapper PATCH v2 6/9] configure: Use earlycon instead of earlyprintk Message-ID: References: <20211222181607.1203191-1-andre.przywara@arm.com> <20211222181607.1203191-7-andre.przywara@arm.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220107_061501_957621_F47FFA45 X-CRM114-Status: GOOD ( 23.41 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , 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 On Fri, Jan 07, 2022 at 02:01:37PM +0000, Mark Rutland wrote: > On Wed, Dec 22, 2021 at 06:16:04PM +0000, Andre Przywara wrote: > > The arm64 Linux kernel dropped support for the "earlyprintk" command line > > parameter a long time ago[1], instead it uses the earlycon parameter > > now. > > > > Replace earlyprintk with earlycon on the default command line, to see > > early kernel output. > > > > Ideally we would just say "earlycon" (without specifying an MMIO > > address), but this relies on the stdout-path property in the /chosen > > node, which the model DTs do not carry. > > Can we send a Linux patch to add that? > > Mark. For clarity, I'm going to apply this patch regardless; the above just seems like a nice-to-have. Mark. > > > [1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8ef0ed95ee04 > > > > Signed-off-by: Andre Przywara > > --- > > configure.ac | 2 +- > > 1 file changed, 1 insertion(+), 1 deletion(-) > > > > diff --git a/configure.ac b/configure.ac > > index 2b295de..9e3b722 100644 > > --- a/configure.ac > > +++ b/configure.ac > > @@ -99,7 +99,7 @@ AC_SUBST([FILESYSTEM], [$USE_INITRD]) > > AM_CONDITIONAL([INITRD], [test "x$USE_INITRD" != "x"]) > > > > AS_IF([test "x$X_IMAGE" = "x"],[C_CONSOLE="ttyAMA0"],[C_CONSOLE="hvc0"]) > > -C_CMDLINE="console=$C_CONSOLE earlyprintk=pl011,0x1c090000" > > +C_CMDLINE="console=$C_CONSOLE earlycon=pl011,0x1c090000" > > AC_ARG_WITH([cmdline], > > AS_HELP_STRING([--with-cmdline], [set a command line for the kernel]), > > [C_CMDLINE=$withval]) > > -- > > 2.25.1 > > > > _______________________________________________ > linux-arm-kernel mailing list > linux-arm-kernel@lists.infradead.org > http://lists.infradead.org/mailman/listinfo/linux-arm-kernel _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel