All of lore.kernel.org
 help / color / mirror / Atom feed
* cpm_uart console problems?
@ 2005-04-13 11:01 Tsang, Chi Kit
  2005-04-13 11:29 ` Vitaly Bordug
  2005-04-13 11:52 ` Robert P. J. Day
  0 siblings, 2 replies; 3+ messages in thread
From: Tsang, Chi Kit @ 2005-04-13 11:01 UTC (permalink / raw)
  To: 'linuxppc-embedded@ozlabs.org'

Hi,

I am working on an 8260 based board and currently cannot get 
the serial (running on SMC 1) to work using the 2.6.11 kernel. 
The last message I see in my console is: "Now booting the 
kernel".

I currently use NFS root for mounting the root filesystem. 
Despite not seeing any output from the serial console, the 
board does actually boot up and I can telnet in okay. Here is 
what I see in:

/proc/interrupts:

CPU0
4: 0 CPM2 SIU Edge cpm_uart
32: 23184 CPM2 SIU Edge fenet
BAD: 793

/proc/devices:

Character devices:
1 mem
2 pty
3 ttyp
4 /dev/vc/0
4 tty
5 /dev/tty
5 /dev/console
5 /dev/ptmx
7 vcs
10 misc
13 input
128 ptm
136 pts
204 ttyCPM
254 devfs

Block devices:

There are no block devices installed.

In /dev, I see:

crw--w--w- 1 root root 204, 46 Jan 1 00:32 ttyCPM0

And when I do "dmesg", I see:

...
...
Serial: CPM driver $Revision: 0.01 $
ttyCPM0 at MMIO 0xf0011a80 (irq = 4) is a CPM UART
...
...

I currently do not specify the "console=ttyCPM" in my boot command 
line. Would this be an issue?

I have tried to add "console=ttyCPM" to my boot command line but in 
such cases, the kernel would fail to boot. Using some LEDs as debug, 
I tracked down the hang which seems to happen during cpm_uart_console_write.
This is as far as I got.

I am running with devfs enabled in the kernel. Does the cpm_uart 
driver work with devfs?

As an aside, I have ported the 2.6.5 kernel to my 8260 based board and
both ethernet (FCC 1) and serial (SMC 1) worked okay using this particular
kernel.

Any suggestions/ideas would be much appreciated.

Thanks,
Chi

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cpm_uart console problems?
  2005-04-13 11:01 cpm_uart console problems? Tsang, Chi Kit
@ 2005-04-13 11:29 ` Vitaly Bordug
  2005-04-13 11:52 ` Robert P. J. Day
  1 sibling, 0 replies; 3+ messages in thread
From: Vitaly Bordug @ 2005-04-13 11:29 UTC (permalink / raw)
  To: linuxppc-embedded

Tsang, Chi Kit wrote:

>Hi,
>
>I am working on an 8260 based board and currently cannot get 
>the serial (running on SMC 1) to work using the 2.6.11 kernel. 
>The last message I see in my console is: "Now booting the 
>kernel".
>
>
>
>I currently do not specify the "console=ttyCPM" in my boot command 
>line. Would this be an issue?
>
>  
>
Well, I think so. I don't have 8260 but with similar cpm2 board with
"console=ttyCPM0,115200 " parameter serial console works fine.

>I have tried to add "console=ttyCPM" to my boot command line but in 
>such cases, the kernel would fail to boot. Using some LEDs as debug, 
>I tracked down the hang which seems to happen during cpm_uart_console_write.
>This is as far as I got.
>
>  
>
Because there is no such console device...

>I am running with devfs enabled in the kernel. Does the cpm_uart 
>driver work with devfs?
>
>  
>
Yes, but not very good actually, as far as devfs seems to be
deprecated.  At least on my 8272ADS.

>As an aside, I have ported the 2.6.5 kernel to my 8260 based board and
>both ethernet (FCC 1) and serial (SMC 1) worked okay using this particular
>kernel.
>
>Any suggestions/ideas would be much appreciated.
>
>Thanks,
>Chi
>
>  
>


-- 
Sincerely,
Vitaly

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: cpm_uart console problems?
  2005-04-13 11:01 cpm_uart console problems? Tsang, Chi Kit
  2005-04-13 11:29 ` Vitaly Bordug
@ 2005-04-13 11:52 ` Robert P. J. Day
  1 sibling, 0 replies; 3+ messages in thread
From: Robert P. J. Day @ 2005-04-13 11:52 UTC (permalink / raw)
  To: Tsang, Chi Kit; +Cc: 'linuxppc-embedded@ozlabs.org'

On Wed, 13 Apr 2005, Tsang, Chi Kit wrote:

> ttyCPM0 at MMIO 0xf0011a80 (irq = 4) is a CPM UART
> ...
> ...
>
> I currently do not specify the "console=ttyCPM" in my boot command
> line. Would this be an issue?

this may or may not help you but, with my 8xx board, i had to add
"console=ttyCPM0,9600" to my boot command line.

rday

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-04-13 11:54 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-13 11:01 cpm_uart console problems? Tsang, Chi Kit
2005-04-13 11:29 ` Vitaly Bordug
2005-04-13 11:52 ` Robert P. J. Day

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.