serial line on mpc5200

Carl Ljungmark carl.ljungmark at sysgo.com
Mon Aug 29 20:52:55 EST 2005


Hi all!
I have 2.6.12 up and running on my mpc5200, but are experiencing a problem  
with the
serial line.
PSC1+3 are both registered as uarts during boot

Serial: MPC52xx PSC driver
ttyS0 at MMIO 0xf0002000 (irq = 39) is a MPC52xx PSC
ttyS2 at MMIO 0xf0002400 (irq = 41) is a MPC52xx PSC

, but I don't get the 2nd line to work.

# cat /proc/tty/driver/mpc52xx_psc_uart
shows
serinfo:1.0 driver revision:
0: uart:MPC52xx PSC mmio:0xF0002000 irq:39 tx:3546 rx:112  
RTS|CTS|DTR|DSR|CD
2: uart:MPC52xx PSC mmio:0xF0002400 irq:41 tx:0 rx:0 CTS|DSR|CD
#

(IRQ 41 isn't shown under /proc/interrupts - and no entry under  
/proc/irq/41, but
the irq 41 count IS increased when writing to the port - as shown under  
/proc/stat)

under 2.4.31 both serial lines work, so it's not hardware. In 2.4 the  
serial lines show up as /dev/tts/{0,1}, whereas in 2.6 they show up as  
/dev/tts/{0,2}.

Does anyone know what the problem might be?

thanks in advance..
/carl




More information about the Linuxppc-embedded mailing list