Subject: Re: Console handover: tty0 instead of ttyCPM0?

From: Scott Wood <[email-masked]>
Date: Thu, 04 Oct 2007 13:50:07 -0500

Alan Bennett wrote:
> Do you know what would cause this?
> 
> I've configured a board to console off of SMC1 (ttyCPM0) and on 1
> board it works fine, however a new revision of the board I get the
> following result and lose the console.  Both boards have "exact"
> versions of the kernel and u-boot.
> 
>    BAD: console handover: boot [udbg0] -> real [tty0]
>    GOOD: console handover: boot [udbg0] -> real [ttyCPM0]
[snip]
> Linux/PowerPC load: root=/dev/nfs ip=192.168.10.45:::255.255.255.0::eth0 nfsroow

You really should turn on line wrap in your serial program...

> console handover: boot [udbg0] -> real [tty0]
[snip]

> Kernel command line: console=ttyCPM0,38400n8 root=/dev/nfs ip=192.168.10.49:::2

This one has console=ttyCPM0.  The other one doesn't (unless it was 
eaten by the lack of line wrap).

-Scott