Re: Non-working serial console
From: Andy Shevchenko
Date: Mon Jun 06 2022 - 10:32:32 EST
On Mon, Jun 6, 2022 at 5:44 AM Paul Menzel <pmenzel@xxxxxxxxxxxxx> 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