From: Jon K. <jk...@65...> - 2006-11-08 09:40:40
|
# cat /proc/gpio/GPIO42 42 AF1 in set # cat /proc/gpio/GPIO43 43 AF2 out set I'm using the exact same buildroot image that I used before the file system crash. I've also setup a loopback cable which isn't working. -Jon Dave Hylands wrote: > Hi Jon, > > On 11/7/06, Jon Keller <jk...@65...> wrote: > >> # cat /proc/gpio/GPIO43 >> 43 AF2 out set >> # cat /proc/gpio/GPIO44 >> 44 AF1 in set >> > > I just realized it should have been 42 and 43 not 43 and 44. > > >> # cat '/proc/tty/driver/PXA serial' >> serinfo:1.0 driver revision: >> 0: uart:FFUART mmio:0x40100000 irq:15 tx:814 rx:0 RTS|CTS|DTR|DSR|CD|RI >> 1: uart:BTUART mmio:0x40200000 irq:14 tx:0 rx:708 brk:685 >> 2: uart:STUART mmio:0x40700000 irq:13 tx:0 rx:0 >> 3: uart:HWUART mmio:0x41600000 irq:0 tx:0 rx:0 >> > > Hmm. So it looks like you're getting brk (breaks), which perhaps > indicates a baud rate mismatch. > > I just tried my gpsstix and with RxD looped back to TxD, everything > worked as expected on rev 1144. > > On rev 1161 (the image Craig posted to SourceForge), the GPIO lines > were configured like this: > > cat /proc/gpio/GPIO4[23] > 42 AF3 in set > 43 AF3 out set > > Once I reconfigured them, then /dev/ttyS1 worked properly. > > |