Console on SMC2 (was: Re: MPC823 Serial ports)

Dan Malek dan at
Mon Oct 25 03:07:01 EST 1999

Marcus Sundberg wrote:

> Speaking of SMCs and CVS, attached is a diff adding support for
> having the boot console on SMC2. Currently I just set
> CONFIG_SERIAL_CONSOLE_PORT in asm/board.h, but maybe it should be
> a configuration option?

Yes, I am working on that.  It will appear in my next CVS update.
I have tried many different versions, and it appears the one
that works the best is just a simple ask the questions version.
I tried to make it smart about processor versions, what you
are using for Ethernet, etc., and in the end the only one that
seems to work is asking the individual questions about how you
want ports configured.

I also have code for consoles on the SCC ports, and it needs a
little more testing.  I have a board showing up this week that
should allow me to test that properly.

> In uart.c I also fixed the major device of the console.

The console (as in /dev/console) is currently a symbolic
link to the appropriate /dev/ttySx.  Should we change that to
be dynamically allocated?

> TTYAUX_MAJOR corresponds to the /dev/cua* devices, which are obsolete.

Yes, but be careful we need to change the device nodes in the
file systems......

	-- Dan

** Sent via the linuxppc-embedded mail list. See

More information about the Linuxppc-embedded mailing list