Hello,
> I have 8 ports RS232 PC104 extention board from Advantech model PCM-3643
>
> my config of PCM-3643
> address 3f8,2f8,3e8,2e8,240,248,250,258
> IRQ = 5 (or linux irq =22 share all ports )
>
>
> I am connect PCM-3643 with my TS-7200. when boot /dev/tts/0-3 up by
> kernel.
>
> I'm add other port (4-7) by script below
>
> #!/bin/bash
> PATH=$PATH:/usr/local/bin
>
> cd /dev
>
> for i in 4 5 6 7 ; do
> let minor=$i+64
> mknod -m 666 /dev/tts/$i c 4 $minor
> done
>
> # Bottom Card (bottom in my case. Stack them however you want.)
> setserial -v /dev/tts/4 port 0x89c00240 uart 16550A irq 22 ^fourport
> setserial -v /dev/tts/5 port 0x89c00248 uart 16550A irq 22 ^fourport
> setserial -v /dev/tts/6 port 0x89c00250 uart 16550A irq 22 ^fourport
> setserial -v /dev/tts/7 port 0x89c00258 uart 16550A irq 22 ^fourport
>
>
> when finished i have output
>
> :tts# /etc/init.d/serial.sh
> /dev/tts/4, UART: 16550A, Port: 0x89c00240, IRQ: 22
> /dev/tts/5, UART: 16550A, Port: 0x89c00248, IRQ: 22
> /dev/tts/6: No such device
> /dev/tts/7: No such device
> :tts#
>
> port 0 - 5 is working but port 6 - 7 isn't work.
>
> Could someone please tell me why?
In linux24/include/asm/arch/serial.h only the first six serial ports are
setup. I believe you'll need to modify this file to use more serial ports.
e.g.
/* UART CLK PORT IRQ FLAGS */
#define STD_SERIAL_PORT_DEFNS \
{ 0, BASE_BAUD, TS7XXX_TTYS0, _SER_IRQ1, STD_COM_FLAGS },
/* ttyS0 */ \
{ 0, BASE_BAUD, TS7XXX_TTYS1, _SER_IRQ0, STD_COM_FLAGS },
/* ttyS1 */ \
{ 0, BASE_BAUD, TS7XXX_TTYS2, _SER_IRQ1, STD_COM_FLAGS },
/* ttyS2 */ \
{ 0, BASE_BAUD, TS7XXX_TTYS3, _SER_IRQ0, STD_COM_FLAGS },
/* ttyS3 */ \
{ 0, BASE_BAUD, TS7XXX_TTYS4, _SER_IRQ1, STD_COM_FLAGS },
/* ttyS4 */ \
{ 0, BASE_BAUD, TS7XXX_TTYS5, _SER_IRQ0, STD_COM_FLAGS },
/* ttyS5 */ \
--
Best Regards,
________________________________________________________________
Eddie Dawydiuk, Technologic Systems | voice: (480) 837-5200
16610 East Laser Drive Suite 10 | fax: (480) 837-5300
Fountain Hills, AZ 85268 | web: www.embeddedARM.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|