From: Daris A Nevil <dnevil@snmc.com>
To: ?????? <engineersong@hanmail.net>
Cc: linuxppc-embedded@lists.linuxppc.org
Subject: Re: SCC3 console problem on MPC860
Date: Fri, 30 Mar 2001 08:57:07 -0600 [thread overview]
Message-ID: <3AC49EC3.978D9A4A@snmc.com> (raw)
In-Reply-To: 20010330095839.HM.30000000001Zxx8@www4.hanmail.net
Daum,
I had problems trying to get the uart.c driver to do what you wanted as
well. I don't think it was really meant to support both SCC and SMC at
the same time. I ended up splitting the driver into two different
drivers, making one work just for the SCC, and the other only for the
SMC. This works quite well.
The code is in the QSLinux release, which you can download from
ftp:://qslinux.org. When you untar the kernel you can find the two
drivers in the directory snmc/qslinux/kernel/drivers/char.
Regards,
Daris Nevil
?????? wrote:
>
> Hi, all
> I am not used to write in English.
>
> I would like to use SCC3 as second console, and use SMC1 as first console.
> I ported denx kernel 2.4.3-pre4 into my 860 board.
> when I compiling, checked SCC3 for UART option in MPC8xx CPM option.
> SMC1(ttyS0) is connected to my linux box COM2, SCC3(ttyS1) is connected to COM1.
>
> After booting, in COM2 echo 1111 > /dev/ttyS1 result is shown in SCC3(ttyS1).
> so far good.
> but, COM1 port don't any receive keyboard key.
>
> In /arch/ppc/uart.c
> I modified CONFIG_SERIAL_CONSOLE_PORT for SCC3 console
>
> #if 1
> #undef CONFIG_SERIAL_CONSOLE_PORT
> #define CONFIG_SERIAL_CONSOLE_PORT 1
> #endif
>
> Is it enough to to make SCC3 console?
>
> Thanks for any comments and replyings.
>
> ==================================================
> ¿ì¸® ÀÎÅͳÝ, Daum
> Æò»ý ¾²´Â ¹«·á E-mail ÁÖ¼Ò ÇѸÞÀϳÝ
> Áö±¸ÃÌ ÇÑ±Û °Ë»ö¼ºñ½º Daum FIREBALL
> http://www.daum.net
>
--
Daris A Nevil
Simple Network Magic Corporation
401 Kentucky Lane
McKinney, TX 75069
214-793-7757
dnevil@snmc.com
www.snmc.com
quickstack.com
qslinux.org
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
next prev parent reply other threads:[~2001-03-30 14:57 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-03-30 0:58 SCC3 console problem on MPC860 ??????
2001-03-30 7:53 ` Wolfgang Denk
2001-03-30 14:57 ` Daris A Nevil [this message]
2001-03-30 15:37 ` Wolfgang Denk
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=3AC49EC3.978D9A4A@snmc.com \
--to=dnevil@snmc.com \
--cc=engineersong@hanmail.net \
--cc=linuxppc-embedded@lists.linuxppc.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).