* MPC860(T) uart SCCs
@ 2001-09-18 11:02 Gerhard TAEUBL
2001-09-20 7:23 ` Wolfgang Denk
0 siblings, 1 reply; 3+ messages in thread
From: Gerhard TAEUBL @ 2001-09-18 11:02 UTC (permalink / raw)
To: linuxppc-embedded
Hallo!
Iwork with an custom board MPC860T kernel 2.4.5. I will use all 4 SCC as uart RS485/RS232. The problem is, that SCC1 and SCC2 works fine and SCC3 and SCC4 not:
I mapped SCC1 to BRG1 (ttyS0) SCC2 to BRG2 (ttyS1)....
SCC3 and SCC4 doesn't generate any interrupt. If I write in a loop something to Port ttyS2 for example the driver fills the buffer set the Ready bit in the bd, and nothing else happens, no output. When the wrap happens the Ready bit is still set, and the program hangs up. It looks like the SCC won't send any data.
sicr is set to 0x1b120900 so I think there is no fault.
anyone any ideas?
Thanks for help
Gerhard
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MPC860(T) uart SCCs
2001-09-18 11:02 Gerhard TAEUBL
@ 2001-09-20 7:23 ` Wolfgang Denk
0 siblings, 0 replies; 3+ messages in thread
From: Wolfgang Denk @ 2001-09-20 7:23 UTC (permalink / raw)
To: Gerhard TAEUBL; +Cc: linuxppc-embedded
Hi,
> Iwork with an custom board MPC860T kernel 2.4.5. I will use all 4 SCC as uart RS485/RS232. The problem is, that SCC1 and SCC2 works fine and SCC3 and SCC4 not:
See our kernel version on ftp://ftp.denx.de/pub/LinuxPPC/usr/src .
The uart driver included works on all 6 possible serial ports (2 x SMC,
4 x SCC) simultaneous, with support for hardware flow controll on all
4 SCC ports.
I've sent a patch for current kernel versions (2.4.10-pre?) to Tom Rini
several days ago. Don't know when it will make it into the official
source tree, if ever.
Wolfgang Denk
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: MPC860(T) uart SCCs
@ 2001-09-20 9:35 Gerhard TAEUBL
0 siblings, 0 replies; 3+ messages in thread
From: Gerhard TAEUBL @ 2001-09-20 9:35 UTC (permalink / raw)
To: wd, linuxppc-embedded
Thanks for info. Well in a quick and dirty manner the uart device driver now runs, but now nothing will work no SCC. I adapt the code that I set the ports manualy, also disable serial console and hardware flow. But perhaps I can find in that way my bug.
best regards
Gerhard
>>> Wolfgang Denk <wd@denx.de> 09/20/01 09:28 AM >>>
Hi,
> Iwork with an custom board MPC860T kernel 2.4.5. I will use all 4 SCC as uart RS485/RS232. The problem is, that SCC1 and SCC2 works fine and SCC3 and SCC4 not:
See our kernel version on ftp://ftp.denx.de/pub/LinuxPPC/usr/src .
The uart driver included works on all 6 possible serial ports (2 x SMC,
4 x SCC) simultaneous, with support for hardware flow controll on all
4 SCC ports.
I've sent a patch for current kernel versions (2.4.10-pre?) to Tom Rini
several days ago. Don't know when it will make it into the official
source tree, if ever.
Wolfgang Denk
** Sent via the linuxppc-embedded mail list. See http://lists.linuxppc.org/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-09-20 9:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-09-20 9:35 MPC860(T) uart SCCs Gerhard TAEUBL
-- strict thread matches above, loose matches on Subject: below --
2001-09-18 11:02 Gerhard TAEUBL
2001-09-20 7:23 ` Wolfgang Denk
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).