linuxppc-dev.lists.ozlabs.org archive mirror
 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

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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).