From: Pete Popov <ppopov@pacbell.net>
To: "John D. Davis" <johnd@stanford.edu>
Cc: SGI MIPS list <linux-mips@oss.sgi.com>,
Debian MIPS list <debian-mips@lists.debian.org>
Subject: Re: printk
Date: Fri, 03 Aug 2001 14:22:20 -0700 [thread overview]
Message-ID: <3B6B160C.6000609@pacbell.net> (raw)
In-Reply-To: Pine.GSO.4.31.0108031412450.675-100000@myth1.Stanford.EDU
John D. Davis wrote:
> Does anyone know off hand, the earlies point that I can use printk?
Well, you can use them from the very beginning, but you won't see the
output until after serial console init (if you're using a serial console).
> I added some printk statements to driver/char/console.c and the resulting
> kernel hangs with only the logo showing and no text. Is prom_printf
> something that I should use instead. I put some printk statements in
> tty_io.c and kernel/printk.c and those compiled kernels work.
I like using simple puts and put32 routines that print a string and a 32
bit number. These routines bang directly on the uart so you see the
prints immediately, before printk works. Take a look at
arch/mips/au1000/common/puts.c.
Pete
next prev parent reply other threads:[~2001-08-03 21:21 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-08-03 21:15 printk John D. Davis
2001-08-03 21:22 ` Pete Popov [this message]
2001-08-03 21:36 ` printk James Simmons
2001-08-03 21:41 ` printk Jun Sun
-- strict thread matches above, loose matches on Subject: below --
2020-05-31 15:34 printk Heinrich Schuchardt
2020-05-31 16:09 ` printk Simon Glass
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=3B6B160C.6000609@pacbell.net \
--to=ppopov@pacbell.net \
--cc=debian-mips@lists.debian.org \
--cc=johnd@stanford.edu \
--cc=linux-mips@oss.sgi.com \
/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.