Re: [PATCH] serial/sifive: select SERIAL_EARLYCON

From: Palmer Dabbelt
Date: Fri Sep 13 2019 - 16:40:30 EST


On Tue, 10 Sep 2019 07:36:30 PDT (-0700), Christoph Hellwig wrote:
On Tue, Sep 10, 2019 at 10:18:15AM +0200, Andreas Schwab wrote:
> 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'

That functionality is implemented by param_setup_earlycon and
early_init_dt_scan_chosen_stdout. Check why those aren't built into
your kernel.

OpenEmbedded passes "earlycon=sbi", which I can find in the doumentation. I can't find anything about just "earlycon". I've sent a patch adding sbi to the list of earlycon arguments.