# Re: SCC3 console problem on MPC860

- From: Wolfgang Denk \<hidden\>
- Date: 2001-03-30 07:53:54 
- List: linuxppc-dev
- Page: https://ratatoskr.run/linuxppc-dev/2001/03/9376126
- Thread: https://ratatoskr.run/linuxppc-dev/2001/03/9376126/t.md

```text

In message [ref] you wrote:
>
> 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.

What's the kernel output for the serial ports? Please send me your kernel boot messages!

> 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.

Please define what you mean by COM1 and COM2.

How did you test this?

> 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

If in your configuration SCC3 is the second entry in rs_table[], then
this should work.


Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
God made machine language; all the rest is the work of man.

** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
```
