All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andre Przywara <andre.przywara@arm.com>
To: Mark Rutland <mark.rutland@arm.com>
Cc: linux-arm-kernel@lists.infradead.org, Jaxson Han <Jaxson.Han@arm.com>
Subject: [aarch64 boot-wrapper PATCH 3/6] configure: Use earlycon instead of earlyprintk
Date: Mon, 10 May 2021 13:07:23 +0100	[thread overview]
Message-ID: <20210510120726.5242-4-andre.przywara@arm.com> (raw)
In-Reply-To: <20210510120726.5242-1-andre.przywara@arm.com>

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.

[1] https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=8ef0ed95ee04

Signed-off-by: Andre Przywara <andre.przywara@arm.com>
---
 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

  parent reply	other threads:[~2021-05-10 12:12 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-05-10 12:07 [aarch64 boot-wrapper PATCH 0/6] Various (build system) fixes Andre Przywara
2021-05-10 12:07 ` [aarch64 boot-wrapper PATCH 1/6] configure: Make PSCI the default boot method Andre Przywara
2021-05-10 12:07 ` [aarch64 boot-wrapper PATCH 2/6] configure: Fix default DTB Andre Przywara
2021-05-10 12:07 ` Andre Przywara [this message]
2021-05-10 12:07 ` [aarch64 boot-wrapper PATCH 4/6] Fix arch counter frequency Andre Przywara
2021-05-10 12:07 ` [aarch64 boot-wrapper PATCH 5/6] pointer auth: Document CPU feature bit mask Andre Przywara
2021-05-10 12:07 ` [aarch64 boot-wrapper PATCH 6/6] configure: Autodetect GICv3 Andre Przywara
2021-07-30 17:40 ` [aarch64 boot-wrapper PATCH 0/6] Various (build system) fixes Andre Przywara
2021-08-02 14:30   ` Mark Rutland

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20210510120726.5242-4-andre.przywara@arm.com \
    --to=andre.przywara@arm.com \
    --cc=Jaxson.Han@arm.com \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=mark.rutland@arm.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.