[Avila] GW2201 8 port Serial board linux drivers?
Mark Kelly
mark.kelly at cadre5.com
Fri Nov 16 14:38:33 EST 2007
I figured it out, what turned out to be my problem is that I've been
flashing an old image file to the router. My binaries automatically
went to my tftp server directory, and as it turns out the file names for
the images got changed in the OpenWrt trunk, and I've been reflashing
one that's a couple of days old over and over. Not sure who to thank
for that one :)
but these are the options I ended up enabling:
KCONFIG:= \
CONFIG_SERIAL_8250_PCI=y\
CONFIG_SERIAL_8250_NR_UARTS=10\
CONFIG_SERIAL_8250_RUNTIME_UARTS=10\
CONFIG_SERIAL_8250_EXTENDED=y\
CONFIG_SERIAL_8250_SHARE_IRQ=y\
CONFIG_SERIAL_8250_DETECT_IRQ=y\
CONFIG_SERIAL_8250_MANY_PORTS=y\
CONFIG_SERIAL_8250_FOURPORT=y\
CONFIG_SERIAL_8250_RSA=n
Not sure I need all of those now, as I kept selecting more since it
never seemed to work...
I see this on boot now:
Serial: 8250/16550 driver $Revision: 1.90 $ 10 ports, IRQ sharing
enabled
serial8250.0: ttyS0 at MMIO 0xc8000000 (irq = 15) is a XScale
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 0x48020000 (irq = 28) is a 16550A
0000:00:01.0: ttyS3 at MMIO 0x48020200 (irq = 28) is a 16550A
0000:00:01.0: ttyS4 at MMIO 0x48020400 (irq = 28) is a 16550A
0000:00:01.0: ttyS5 at MMIO 0x48020600 (irq = 28) is a 16550A
0000:00:01.0: ttyS6 at MMIO 0x48020800 (irq = 28) is a 16550A
0000:00:01.0: ttyS7 at MMIO 0x48020a00 (irq = 28) is a 16550A
0000:00:01.0: ttyS8 at MMIO 0x48020c00 (irq = 28) is a 16550A
0000:00:01.0: ttyS9 at MMIO 0x48020e00 (irq = 28) is a 16550A
On Fri, 2007-11-16 at 08:50 -0800, Chris Lang wrote:
> Mark,
> What does "dmesg" say? The dev entries are usually static entries and
> are not updated with a new device. Check "dmesg", if they are detected
> here, you can add dev entries for each device accordingly.
>
> Thanks,
More information about the Avila
mailing list