kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: coolsandyforyou@gmail.com (sandeep kumar)
To: kernelnewbies@lists.kernelnewbies.org
Subject: How logs will come to UART serial console?
Date: Tue, 17 May 2011 13:22:09 +0530	[thread overview]
Message-ID: <BANLkTinW5TEsr03Y1Dmw-mXnxP6ji3zmSg@mail.gmail.com> (raw)

Hi ,
Here is my question.
when we put 'printk's in kernel code the logs will go to the log_buffer.(i
observed that from implementation)
But when UART is enabled(in the bootloader), the same printk logs are going
to the serial console.
 As per my study printk doesnot implementing anything that writes to the
UART console.

Now here are my questions,
how this is being achieved? Where this is implemented?(which file)

Where wil be the parsing of the cmdline string sent from the bootloader is
done?


Thanking you,
sandeep kumar.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20110517/35ee4dfd/attachment.html 

             reply	other threads:[~2011-05-17  7:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-17  7:52 sandeep kumar [this message]
2011-05-17 15:09 ` How logs will come to UART serial console? Haojian Zhuang
2011-05-17 16:09 ` Dave Hylands
  -- strict thread matches above, loose matches on Subject: below --
2011-05-18 18:49 Haphazard H

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=BANLkTinW5TEsr03Y1Dmw-mXnxP6ji3zmSg@mail.gmail.com \
    --to=coolsandyforyou@gmail.com \
    --cc=kernelnewbies@lists.kernelnewbies.org \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).