linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* console on SCC1 on 8260
@ 2002-04-25 12:01 Wojciech Kromer
  2002-04-25 12:21 ` diekema_jon
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Wojciech Kromer @ 2002-04-25 12:01 UTC (permalink / raw)
  To: linuxppc-embedded


Huh, I've just discovered that arch/ppc/8260_io/uart.c does not support
 console on SCC1!
Anyone has such version of this driver?

--
* * * * * * * * * * * *
* per pedes ad astra! *
* * * * * * * * * * * *    mailto:krom@dgt-lab.com.pl


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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: console on SCC1 on 8260
  2002-04-25 12:01 console on SCC1 on 8260 Wojciech Kromer
@ 2002-04-25 12:21 ` diekema_jon
  2002-04-25 13:15 ` Wolfgang Denk
  2002-04-29 14:10 ` Marius Groeger
  2 siblings, 0 replies; 4+ messages in thread
From: diekema_jon @ 2002-04-25 12:21 UTC (permalink / raw)
  To: linuxppc-embedded


> Huh, I've just discovered that arch/ppc/8260_io/uart.c does not
> support console on SCC1!  Anyone has such version of this driver?

See:

ftp://ftp.denx.de/pub/LinuxPPC/usr/src/linux-2.4.4-2002-03-21.tar.bz2

------------------\\----------------------\\----------------------------
Jon Diekema        |                       | Smiths Industries
(616) 241-8310     |                       | 3290 Patterson Avenue, SE
diekema_jon@si.com \\                      \\  Grand Rapids, MI 49512-1991

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: console on SCC1 on 8260
  2002-04-25 12:01 console on SCC1 on 8260 Wojciech Kromer
  2002-04-25 12:21 ` diekema_jon
@ 2002-04-25 13:15 ` Wolfgang Denk
  2002-04-29 14:10 ` Marius Groeger
  2 siblings, 0 replies; 4+ messages in thread
From: Wolfgang Denk @ 2002-04-25 13:15 UTC (permalink / raw)
  To: Wojciech Kromer; +Cc: linuxppc-embedded


In message <3CC7F018.2040604@dgt-lab.com.pl> you wrote:
>
> Huh, I've just discovered that arch/ppc/8260_io/uart.c does not support
>  console on SCC1!
> Anyone has such version of this driver?

In all such situation just try the version on our FTP server :-)

For instance, the CPU86 configuration uses SCC1 for console.

Wolfgang Denk

--
Software Engineering:  Embedded and Realtime Systems,  Embedded Linux
Phone: (+49)-8142-4596-87  Fax: (+49)-8142-4596-88  Email: wd@denx.de
One essential to success is that you desire be an all-obsessing  one,
your thoughts and aims be co-ordinated, and your energy be concentra-
ted and applied without letup.

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: console on SCC1 on 8260
  2002-04-25 12:01 console on SCC1 on 8260 Wojciech Kromer
  2002-04-25 12:21 ` diekema_jon
  2002-04-25 13:15 ` Wolfgang Denk
@ 2002-04-29 14:10 ` Marius Groeger
  2 siblings, 0 replies; 4+ messages in thread
From: Marius Groeger @ 2002-04-29 14:10 UTC (permalink / raw)
  To: linuxppc-embedded


In linux.ppc.embedded, you wrote:
>
> Huh, I've just discovered that arch/ppc/8260_io/uart.c does not support
>  console on SCC1!
> Anyone has such version of this driver?

Sure does work for us here. We had to apply the following patch though:

--- linux-2.4.16.org/arch/ppc/8260_io/uart.c    Fri Dec 21 15:57:14 2001
+++ linux-2.4.16-elinos/arch/ppc/8260_io/uart.c Fri Dec 21 15:57:17 2001
@@ -162,6 +162,7 @@
 #else /* SCC_CONSOLE */
 #define SCC_NUM_BASE   0       /* SCC base tty "number" */
 #define SCC_IDX_BASE   0       /* table index */
+#define PORT_NUM(P)    (((P) < (SCC_NUM_BASE)) ? (P) : (P)-(SCC_NUM_BASE))
 static struct serial_state rs_table[] = {
        /* UART CLK   PORT          IRQ      FLAGS  NUM   */

Regards,
Marius.

--
Marius Groeger        SYSGO Real-Time Solutions GmbH    www.sysgo.de
Software Engineering  Embedded and Real-Time Software   www.osek.de
mgroeger @ sysgo de   Germany                           www.elinos.com

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2002-04-29 14:10 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-04-25 12:01 console on SCC1 on 8260 Wojciech Kromer
2002-04-25 12:21 ` diekema_jon
2002-04-25 13:15 ` Wolfgang Denk
2002-04-29 14:10 ` Marius Groeger

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