My GT-64260 enhancements
Quoted 7 lines · Dan Malek
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.
Quoted 2 lines
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.
Quoted 2 lines
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/
Quoted 2 lines · Michael Sokolov
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 :-).
Quoted 1 line
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/
Quoted 2 lines · Dan Malek
So, I don't see the problem. A default is specified and you can change it, just like lots of other configurations.
The problem is that there is a
define_int CONFIG_SERIAL_CONSOLE_BAUD 115200
line in arch/ppc/config.in for "$CONFIG_EV64260" = "y" but not for any other almost-non-embedded-standard-computer 6xx/7xx/74xx board, which is discriminatory and undemocratic.
Having "$CONFIG_GT64260" = "y" imply support for CONFIG_SERIAL_TEXT_DEBUG is also discriminatory and undemocratic. Should we also imply the same then for "$CONFIG_CPC700" = "y" -o "$CONFIG_CPC710" = "y" -o "$CONFIG_UNINORTH" = "y", etc?
I mean I don't mind if defaults are changed globally, it's just the discriminatory treatment of GT-64260 that I violently object to. Oh, and having a separate BK tree and mailing list for it too isn't something I'm fond of.
MS
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Quoted 9 lines · Michael Sokolov
Quoted 2 lines · Dan Malek
So, I don't see the problem. A default is specified and you can change it, just like lots of other configurations.
The problem is that there is a
define_intCONFIG_SERIAL_CONSOLE_BAUD115200
The other problem is you're looking at the wrong tree for this, which I'll get into further down. But in the galileo tree, it's:
if [ "$CONFIG_MOT_MVP" = "y" ]; then
define_bool CONFIG_GT64260 y
define_int CONFIG_SERIAL_CONSOLE_BAUD 115200
fi
...
if [ "$CONFIG_USE_PPCBOOT" != "y" ]; then
int 'Serial Console Baudrate' CONFIG_SERIAL_CONSOLE_BAUD 115200
fi
So the MVP uses 115200, and possibly even DINK does, and anyone else gets to pick or assumes 9600.
Quoted 4 lines
Having "$CONFIG_GT64260" = "y" imply support for
CONFIG_SERIAL_TEXT_DEBUGis also discriminatory and undemocratic. Should we also imply the same then for "$CONFIG_CPC700" = "y" -o "$CONFIG_CPC710" = "y" -o "$CONFIG_UNINORTH" = "y", etc?
No, because right now the CPC700 and CPC710 systems don't know how to setup a serial port for early debugging via ppc_md.progress().
Quoted 2 lines
I mean I don't mind if defaults are changed globally, it's just the discriminatory treatment of GT-64260 that I violently object to.
Can you be more specific?
Quoted 2 lines
Oh, and having
a separate BK tree and mailing list for it too isn't something I'm fond of.
Why? The GT-64260 stuff is under heavy development, and between gt-64260 problems and board problems (and possible processor issues) having a seperate tree in which to try and hammer things out between the folks working on it seems useful.
--
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/