Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

From: Paul Walmsley
Date: Mon Sep 16 2019 - 07:57:20 EST


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

If it works, you should see this message on the kernel console very early
in the boot:

[ 0.000000] earlycon: sifive0 at MMIO 0x0000000010010000 (options '')


- Paul