[Avila] gw2201 serial board issues

Mark Kelly mark.kelly at cadre5.com
Mon Jan 7 10:49:07 EST 2008


Is anyone using this serial board?  It's giving me major headaches.
I've configure and recompiled the kernel with these options enabled.

CONFIG_SERIAL_8250_PCI=y
    CONFIG_SERIAL_8250_NR_UARTS=10 
    CONFIG_SERIAL_8250_RUNTIME_UARTS=10

On boot, I see the board initialized and everything appears to be setup
correctly as can be seen in this boot log snip:

ixp425_gpio: IXP425 GPIO driver loaded
Serial: 8250/16550 driver $Revision: 1.90 $ 10 ports, IRQ sharing
disabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
console [ttyS0] enabled
serial8250.0: ttyS1 at MMIO 0xc8001000 (irq = 13) is a XScale
PCI: enabling device 0000:00:01.0 (0140 -> 0142)
0000:00:01.0: ttyS2 at MMIO 0x48010000 (irq = 28) is a 16550A
0000:00:01.0: ttyS3 at MMIO 0x48010200 (irq = 28) is a 16550A
0000:00:01.0: ttyS4 at MMIO 0x48010400 (irq = 28) is a 16550A
0000:00:01.0: ttyS5 at MMIO 0x48010600 (irq = 28) is a 16550A
0000:00:01.0: ttyS6 at MMIO 0x48010800 (irq = 28) is a 16550A
0000:00:01.0: ttyS7 at MMIO 0x48010a00 (irq = 28) is a 16550A
0000:00:01.0: ttyS8 at MMIO 0x48010c00 (irq = 28) is a 16550A
0000:00:01.0: ttyS9 at MMIO 0x48010e00 (irq = 28) is a 16550A

I've installed setserial to set configure the ports, and I've connected
a 4800baud NMEA gps puck to ttyS6.

at boot setserial shows this for ttyS6

# setserial -G /dev/ttyS6
/dev/ttyS6 uart 16550A port 0x0000 irq 28 baud_base 921600 spd_normal
skip_test

if I use picocom to connect to the port:

#picocom -b4800 /dev/ttyS6

it connects, but just sits there and does not stream the NMEA sentences.
If I hold the space down, it spits out fragments of the sentences, which
seems to indicate a IRQ problem to me. 

if I do:

#setserial /devttyS6 port 0x48010800 irq 28

I end up with the same results 

doing:

#setserial /dev/ttyS6 irq 0

and the box starts to stream pieces of the data, but not complete
sentences.  I'm assuming because IRQ0 is being set off at the wrong
times.  

Anyone got any clues on this board?






serial8250: too much work for irq28
serial8250: too much work for irq28
serial8250: too much work for irq28
serial8250: too much work for irq28
serial8250: too much work for irq28
serial8250: too much work for irq28




More information about the Avila mailing list