Re: [PATCH] My GT-64260 enhancements

2 messages, 2 authors, 2002-03-17 · open the first message on its own page

Re: [PATCH] My GT-64260 enhancements

From: Michael Sokolov <hidden>
Date: 2002-03-17 18:16:02

Dan Malek [off-list ref] wrote:
I didn't know there was a "default" baud rate for Linux.  I think the lowest
I have ever seen is 9600, but I certainly wouldn't call it a default.  It
seems every one of the boards I have uses something different,

The debug console serial port rates are either provided by passing some
bootloader information to the kernel or by a kernel command line option.
Either one is locally configurable.
But if you don't specify the baud rate in any way, it'll default to 9600 except
on the EV-64260-BP.

Also I don't like calling the standard serial console "debug". A standard
computer running UNIX or a UNIX-like system must have a standard serial port as
the console for root to do sysadmin work, not a PeeCee video/keyboard. Just
like every standard VAX.
It shouldn't be a hard-coded value.  It should at least be the standard Linux
command line option.
That option works of course. I'm simply asking to remove the line from
arch/ppc/config.in that makes the EV-64260-BP port have a different default
from the rest of Linux, which I claim is inappropriate.
Bootloaders should simply use the port as it was
configured by the boot rom.
I'm not talking about any bootloader, I'm talking about the kernel (vmlinux).
My bootloader (ppc-linux-boot) doesn't know anything about UARTs at all, it
makes console user services calls to the firmware ROM to talk to the abstract
console device.

MS

** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/

Re: [PATCH] My GT-64260 enhancements

From: Dan Malek <hidden>
Date: 2002-03-17 18:42:48

Michael Sokolov wrote:
But if you don't specify the baud rate in any way, it'll default to 9600 except
on the EV-64260-BP.
You haven't experienced enough of the universe :-).  Most boards default
to the setting provided by a boot rom.  Many of the boards I have use
115200 to speed up the embedded boot process but still allow debug output.

Maybe you guys working on these boards ought to discuss some common
solution instead of trying to use the "last patch changes the default
behavior" technique :-).
That option works of course.
So, I don't see the problem.  A default is specified and you can change it,
just like lots of other configurations.

	-- Dan


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help