Messages in this thread | | | From | Andy Shevchenko <> | Date | Mon, 6 Jun 2022 16:31:44 +0200 | Subject | Re: 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
| |