Re: [RESEND PATCH] arm64: dts: specify console via command line
From: Arnd Bergmann
Date: Wed Mar 11 2020 - 10:31:44 EST
On Wed, Mar 11, 2020 at 12:21 PM Chunyan Zhang <zhang.lyra@xxxxxxxxx> wrote:
>
> diff --git a/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts b/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts
> index 2047f7a74265..510f65f4d8b8 100644
> --- a/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts
> +++ b/arch/arm64/boot/dts/sprd/sp9863a-1h10.dts
> @@ -28,7 +28,7 @@
>
> chosen {
> stdout-path = "serial1:115200n8";
> - bootargs = "earlycon";
> + bootargs = "earlycon console=ttyS1";
> };
> };
Hi Chunyan,
I would expect that you need to either specify the stdout-path, or the console=
kernel parameter, but not both.
If earlycon was used, shouldn't the driver know which port is the console?
Arnd