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 5A8B8C433EF for ; Fri, 7 Jan 2022 14:03:08 +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=e6uZMkfadZfbxJG3/t4HB+14p2OWTqnIDB/Fnv9uunk=; b=hZkz+8KiaLTlXt G3oVjCeZCX6Y5c1kFvMzAqOE7BRTKoMBtixSA4rzwZnXdYUapIh3RNBCk5c0RiOv1yN4vztvlUf2A CROlXgHY6bWvZN6rW6IIgsrR6ElEHPIwml1sQ1i/ltwBshl6jfWnRVSuwRgxnxJf+CEQ7vNJNKn5U CzycVAlMc7OAErfehKA6qO0w6+nmjwMMi5G1Eh3OjbPFHhZKHUHqAzAgj4oDTSCo6UFwYvV8ZHTgK 8L3CVRxjWVOrpfskpr8/e2yWAw/17m/RdorHSi5zniq4bmkZcANGoYzYxcU08GWNRqD42lqBiupSj pZxtH2sJXZeUHCpzOoLA==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1n5poQ-0045uM-SG; Fri, 07 Jan 2022 14:01:46 +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 1n5poM-0045tj-Hj for linux-arm-kernel@lists.infradead.org; Fri, 07 Jan 2022 14:01:45 +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 366E513A1; Fri, 7 Jan 2022 06:01:41 -0800 (PST) Received: from FVFF77S0Q05N (unknown [10.57.7.134]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 7494A3F774; Fri, 7 Jan 2022 06:01:40 -0800 (PST) Date: Fri, 7 Jan 2022 14:01:37 +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: <20211222181607.1203191-7-andre.przywara@arm.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20220107_060142_662978_A1AAB6FB X-CRM114-Status: GOOD ( 17.32 ) 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 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. > [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