lkml.org 
[lkml]   [2022]   [Jun]   [6]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Date
SubjectRe: Non-working serial console
On Mon, Jun 6, 2022 at 5:44 AM Paul Menzel <pmenzel@molgen.mpg.de> wrote:
> Am 04.06.22 um 11:04 schrieb Greg KH:

...

> I am still confused, that `earlyprintk=ttyS0,115200,keep` works though
> despite `CONFIG_SERIAL_8250=m`. Doesn’t that mean, that Linux
> nevertheless contains some code to initialize the serial console, and
> send data to it?

If you keep x86 in mind, then yes, three different console code
handling (decompressing stage, boot stage, driver stage) + earlyprintk
(on top of the same code for decompressing / booting stages) +
earlycon (this is actually a driver:ish stage).

--
With Best Regards,
Andy Shevchenko

\
 
 \ /
  Last update: 2022-06-06 16:36    [W:0.037 / U:0.040 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site