Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

From: Paul Walmsley
Date: Mon Sep 16 2019 - 08:19:04 EST


On Mon, 16 Sep 2019, Andreas Schwab wrote:

> On Sep 16 2019, Paul Walmsley <paul.walmsley@xxxxxxxxxx> wrote:
>
> > On Tue, 10 Sep 2019, Andreas Schwab wrote:
> >
> >> On Sep 10 2019, Christoph Hellwig <hch@xxxxxx> wrote:
> >>
> >> > On Tue, Sep 10, 2019 at 08:57:37AM +0200, Andreas Schwab wrote:
> >> >> On Sep 10 2019, Christoph Hellwig <hch@xxxxxx> wrote:
> >> >>
> >> >> > The sifive serial driver implements earlycon support,
> >> >>
> >> >> It should probably be documented in admin-guide/kernel-parameters.txt.
> >> >
> >> > How so? WÑth OF and a stdout path you just set earlycon on the
> >> > command line without any arguments and it will be found.
> >>
> >> Doesn't work for me.
> >>
> >> [ 0.000000] Malformed early option 'earlycon'
> >
> > Try:
> >
> > earlycon=sifive,0x10010000
>
> That's not what Christoph wants.

I support Christoph's plan to add generic implicit earlycon support.

In the meantime, once v5.4-rc1 is released, I'll send a patch to add a
sifive driver section to the earlycon documentation in
admin-guide/kernel-parameters.txt. Thanks for the (earlier) suggestion.


- Paul