aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndre Przywara <andre.przywara@arm.com>2021-12-22 18:16:04 +0000
committerMark Rutland <mark.rutland@arm.com>2022-01-07 14:10:13 +0000
commit1d2f934679b60b2f4095c3f132d3b0e7ef9d9717 (patch)
treeae8b1e7b89acf1a8f86c1b468811ac1dd821c3ce
parent4c2d1420230ad0e41b79b6b225450645732f885a (diff)
downloadboot-wrapper-aarch64-1d2f934679b60b2f4095c3f132d3b0e7ef9d9717.tar.gz
configure: Use earlycon instead of earlyprintk
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> Signed-off-by: Mark Rutland <mark.rutland@arm.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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])