Re: [PATCH 0/3] Earlycon command line option support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Andrey,

Am Dienstag, den 12.03.2019, 00:45 -0700 schrieb Andrey Smirnov:
> Everyone:
> 
> This small series is something I came up with to avoid having to look
> up the syntax and manually specify earlycon kernel command line option
> every time I needed it. The series is purely optional in case I am not
> the only one who thinks this is useful.
> 
> Feedback is welcome!
> 
> Thanks,
> Andrey Smirnov
> 
> Andrey Smirnov (3):
>   console: Add plumbing to expose earlycon/bootconsole parameter
>   serial: i.MX: Add code to export "earlycon" setting
>   serial: lpuart: Add code to export "earlycon" setting
> 
>  Documentation/user/variables.rst |  1 +
>  common/console.c                 | 25 +++++++++++++++++++++++++
>  drivers/serial/serial_imx.c      |  3 +++
>  drivers/serial/serial_lpuart.c   |  1 +
>  include/console.h                |  1 +
>  5 files changed, 31 insertions(+)

I don't think any of this is necessary. For DT based platforms earlycon
will use the console specified via the "stdout-path" property, so it's
entirely sufficient to add "earlycon" to the kernel command line and
the kernel will do the right thing. No need for any more elaborate
kernel commandline options.

Regards,
Lucas

_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox




[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux