Skip to contentSkip to conversation

HHL setserial and MPC8xx SCC/SMC

DISCUSSION Steven Scholz 2 participants 2 messages Mar 8, 2002

lore
Share & tools
lore
#0 lore raw

Hi there,

i tried to use setserial (version 2.17, 27-Jan-2000) that comes with HHL 2.0 on my custom board (MPC855T).

The Linux kernel is Wolfgangs's linux-2.4.4-2002-02-14 from ftp.denx.de. During boot up it tells me
...
CPM UART driver version 0.03
ttyS0 on SMC1 at 0x0280, BRG1
ttyS1 on SCC1 at 0x0000, BRG2
pty: 256 Unix98 ptys configured
...

When I call setserial I get

root@idif3:~# setserial -abv /dev/ttyS0
Cannot get serial info: Invalid argument
root@idif3:~# setserial -abv /dev/ttyS1
Cannot get serial info: Invalid argument
root@idif3:~#

Does anyone know which argument is considered invalid? Is there no support for setserial and SCC/SMC in that kernel?

Thanks,

Steven

PS: Actually I was just looking for an easy way to test my serial ports...

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

#1 lore raw
Quoted 3 lines · In message <[email protected]> you wrote:

i tried to use setserial (version 2.17, 27-Jan-2000) that comes with HHL 2.0 on my custom board (MPC855T).

I think setserial is pretty much specific to "PC" type hardware. It has not even a minimal understanding of MPC8xx systems.

Quoted 2 lines

PS: Actually I was just looking for an easy way to test my serial ports...

Run some data through them ;-)

Wolfgang Denk

--
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: [email protected]
Concept, n.: Any "idea" for which an outside consultant billed you
more than $25,000.

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