Skip to contentSkip to conversation

SCCx _and_ external UART on MPC8xx???

DISCUSSION Bob Piatek 1 participant 1 message Jun 5, 2002 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

Bob Piatek

author
#1 lore raw
Quoted 2 lines

I can send you the SC26x198 Octal UART driver sources if you want.

I too am interested in this. Can you point me to a link where to get the sources?

Bob Piatek

fishcamp engineering
105 W. Clark Ave
Orcutt, CA 93455
TEL: 805-937-6365
FAX: 805-937-6252

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Wolfgang Denk
Sent: Wednesday, June 05, 2002 9:20 AM
To: Steven Scholz
Cc: LinuxPPC
Subject: Re: SCCx _and_ external UART on MPC8xx???

Dear Steven,

Quoted 2 lines · in message <[email protected]> you wrote:
Quoted 2 lines

Yes, we do. We have one board with 2 x external octal UARTS,

and

Quoted 2 lines
Quoted 1 line

ethernet on SCC1.

Would you mind telling me where I can found a sample

configuration/code?

The configuration is the VL100 board, see
http://www.denx.de/embedded-ppc-en.html

It uses 2 Philips SC26x198 Octal UARTs and a slightly modified stallion multiport serial driver.

I can send you the SC26x198 Octal UART driver sources if you want.

Quoted 6 lines
Quoted 1 line

What exactly is your problem?

It seems that that standard linux driver for 16550 UARTs relies very much on i86 PC architeture.
During my first tries I couldn't tell him that my UART is NOT at 0x2f8 or whatever.
So that's the problem.

But it's being used on a couple of PowerPC boards, you just have to configure it correctly ;-)

Quoted 1 line

I just want to enable CONFIG_SERIAL _and_ CONFIG_SMC1_UART and expect

it

Quoted 3 lines

to work... :o)
Maybe I should have a look at the (just discovered) option CONFIG_SERIAL_NONSTANDARD!? What do you think?

Look at existing board configurations. Most use just CONFIG_SERIAL, CONFIG_SERIAL_CONSOLE, CONFIG_SERIAL_EXTENDED, CONFIG_SERIAL_SHARE_IRQ.

In our case there were no conflicts, because our SC26X198 _was_ a non-standard driver.

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected] I used to be indecisive, now I'm not sure.

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