All of lore.kernel.org
 help / color / mirror / Atom feed
From: Andy Shevchenko <andy.shevchenko@gmail.com>
To: Paul Menzel <pmenzel@molgen.mpg.de>
Cc: Greg KH <gregkh@linuxfoundation.org>,
	"open list:SERIAL DRIVERS" <linux-serial@vger.kernel.org>,
	LKML <linux-kernel@vger.kernel.org>
Subject: Re: Non-working serial console
Date: Mon, 6 Jun 2022 16:31:44 +0200	[thread overview]
Message-ID: <CAHp75Vc01Ei5wEKG6kqELD=O3CSz8xs3jd8KJpxnfYJ=+f_nXA@mail.gmail.com> (raw)
In-Reply-To: <477007d7-e573-56dd-90de-877eeebd5c4c@molgen.mpg.de>

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

      reply	other threads:[~2022-06-06 14:32 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-02 16:50 Non-working serial console Paul Menzel
2022-06-02 21:09 ` Paul Menzel
2022-06-04  9:04   ` Greg KH
2022-06-04  9:21     ` Paul Menzel
2022-06-06 14:31       ` Andy Shevchenko [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAHp75Vc01Ei5wEKG6kqELD=O3CSz8xs3jd8KJpxnfYJ=+f_nXA@mail.gmail.com' \
    --to=andy.shevchenko@gmail.com \
    --cc=gregkh@linuxfoundation.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-serial@vger.kernel.org \
    --cc=pmenzel@molgen.mpg.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.