Re: CPM UART on MPC8270

2010-06-22 Thread Scott Wood
On Thu, Jun 10, 2010 at 10:04:28AM +0800, hellohello wrote: > Although I haven't used scc port as uart, I think your smc1 part in your > dts file maybe is wrong. > > ser...@11a82 { ... > reg = <0x11a80 0x20 0x87fc 2>; > should be: > reg = <0x11a80 0x20 XXX 40>; > XXX is the value which is se

Re: CPM UART on MPC8270

2010-06-09 Thread hellohello
Although I haven't used scc port as uart, I think your smc1 part in your dts file maybe is wrong. ser...@11a82 { ... reg = <0x11a80 0x20 0x87fc 2>; should be: reg = <0x11a80 0x20 XXX 40>; XXX is the value which is set at 0x87fc in your bootloader. I just got this mistake a few days ago.

Re: CPM UART on MPC8270

2010-06-09 Thread James Black
I couldn't get the echo > /dev/xxx to work. I had to write a small app that opened the device and write and read characters for testing. Start there and you may find it is actually working. JB On Wed, Jun 9, 2010 at 8:37 AM, Martyn Welch wrote: > Hi All, > > I'm attempting to get an SCC port on