From: Dave H. <dhy...@gm...> - 2005-08-13 08:09:41
|
Hi Frank, On 8/12/05, Frank <fra...@ya...> wrote: > No, It has one chip like the second jpeg photo. So I guess it's > the STUART board. I bought the EtherStix pack. But why does the > HWUART show up in the interrupt table instead of the STUART? Is > the second tty ttyS2 or ttyS3 and is there something else I > should be doing to the gpio lines to get the second tty to work? The mapping is printed on the console at boot time. You should see: ttyS0 at MMIO 0x40100000 (irq =3D 15) is a FFUART ttyS1 at MMIO 0x40200000 (irq =3D 14) is a BTUART ttyS2 at MMIO 0x40700000 (irq =3D 13) is a STUART ttyS3 at MMIO 0x41600000 (irq =3D 0) is a HWUART My guess is that /proc/interrupts is only showing you allocated interrupts. The serial drivers allocate and free irq's as they're opened and closed. I pulled these from the mailing list archives: modprobe proc_gpio echo "AF2 in" >/proc/gpio/GPIO46 echo "AF1 out" >/proc/gpio/GPIO47 stty -F /dev/ttyS2 -ixon speed 115200 echo "AF1 out" >/proc/gpio/GPIO48 echo "AF1 in" >/proc/gpio/GPIO49 stty -F /dev/ttyS3 -ixon speed 115200 --=20 Dave Hylands Vancouver, BC, Canada http://www.DaveHylands.com/ |