linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
From: "JohnsonCheng" <johnsoncheng@qnap.com.tw>
To: <linuxppc-embedded@ozlabs.org>
Subject: A PPC kernel issue with UART ??
Date: Tue, 2 Aug 2005 19:41:41 +0800	[thread overview]
Message-ID: <20050802114145.36B2667D77@ozlabs.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 790 bytes --]

Dear All,

 

I meet a wired UART problem on linux-2.6 with MPC8241 chip.

 

My Environment is as following: 

CPU: MPC8241

Linux: 2.6.12.3

COM1 offset: 0x4500, COM2 offset: 0x4600

 

When I booting my rootfs, it hangs at following message:

RAMDISK: Compressed image found at block 0

VFS: Mounted root (ext2 filesystem) readonly.

Freeing unused kernel memory: 104k init

EXT2-fs warning: checktime reached, running e2fsck is recommended

 

I had add printk in tty_write() of drivers/char/tty_io.c, the message from
rootfs have printed.

The conclusion is that message can be printed by printk() in linux kernel,
but can't be printed by printf() in user mode. I think it must be something
wrong for my UART configurations, does anybody know it??

 

 

Best Regards,

Johnson Cheng


[-- Attachment #2: Type: text/html, Size: 5274 bytes --]

             reply	other threads:[~2005-08-02 11:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-08-02 11:41 JohnsonCheng [this message]
2005-08-03  0:21 ` A PPC kernel issue with UART ?? Daniel Ann
2005-08-03  3:11   ` JohnsonCheng
     [not found]   ` <42f035f0.13006336.4667.1893SMTPIN_ADDED@mx.gmail.com>
2005-08-03  5:15     ` Daniel Ann

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=20050802114145.36B2667D77@ozlabs.org \
    --to=johnsoncheng@qnap.com.tw \
    --cc=linuxppc-embedded@ozlabs.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).