Linux MIPS Architecture development
 help / color / mirror / Atom feed
From: Marc Karasek <marc_karasek@ivivity.com>
To: Barry Wu <wqb123@yahoo.com>
Cc: linux-mips@oss.sgi.com
Subject: Re: about serial console problem
Date: 23 Jul 2001 10:29:20 -0400	[thread overview]
Message-ID: <995898583.1139.2.camel@localhost.localdomain> (raw)
In-Reply-To: <20010723065125.26642.qmail@web13905.mail.yahoo.com>

This sounds like a problem I ran into on another processor/platform.
What are you using for a ramdisk?  Is it busybox?  There was a bug in
0.51 busybox that would not let it accept input from a console on a
serial port.  It had to do with the init for the serial port.  You can
check the patch file below to see the problem that was in busybox...

--- init.c.orig Sat Apr 21 17:46:57 2001
+++ init.c      Sat Apr 21 17:46:31 2001
@@ -276,7 +276,7 @@

        /* Make it be sane */
        tty.c_cflag &= CBAUD|CBAUDEX|CSIZE|CSTOPB|PARENB|PARODD;
-       tty.c_cflag |= HUPCL|CLOCAL;
+       tty.c_cflag |= CREAD|HUPCL|CLOCAL;

        /* input modes */
        tty.c_iflag = ICRNL | IXON | IXOFF;

On 22 Jul 2001 23:51:25 -0700, Barry Wu wrote:
> 
> Hi, all,
> 
> I am porting linux 2.4.3 to our mipsel evaluation
> board. Now I meet a problem. Because I use edown
> to download the linux kernel to evaluation board.
> I update the serial baud rate to 115200.
> I use serial 0 as our console, and I can use
> printk to print debug messages on serial port.
> But after kernel call /sbin/init, I can not
> see "INIT ...  ..." messages on serial port.
> I suppose perhaps I make some mistakes. But when
> I use 2.2.12 kernel, it ok.
> If someone knows, please help me. Thanks!
> 
> Barry
> 
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
--
/*************************
Marc Karasek
Sr. Firmware Engineer
iVivity Inc.
marc_karasek@ivivity.com
(770) 986-8925
(770) 986-8926 Fax
*************************/

  parent reply	other threads:[~2001-07-23 14:30 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-23  6:51 about serial console problem Barry Wu
2001-07-23  7:11 ` Keith Owens
2001-07-23 14:29 ` Marc Karasek [this message]
2001-07-23 19:56   ` Dave Airlie
2001-07-23 19:56     ` Dave Airlie

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=995898583.1139.2.camel@localhost.localdomain \
    --to=marc_karasek@ivivity.com \
    --cc=linux-mips@oss.sgi.com \
    --cc=wqb123@yahoo.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox