Bug 6331

Summary: Single method to specify deployment baud rate
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Mark Hatle <mark.hatle>
Component: deploymentAssignee: Chen Qi <Qi.Chen>
Status: VERIFIED WONTFIX QA Contact: Bogdan Alexandru Voiculescu <bogdanx.a.voiculescu>
Severity: enhancement    
Priority: Medium CC: bogdanx.a.voiculescu, chong.lu, jason.wessel, Qi.Chen, richard.purdie, sgw
Version: 1.7   
Target Milestone: 1.9 M2   
Hardware: x86   
OS: Multiple   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: Yes (doc changes required)

Description Mark Hatle 2014-05-14 20:11:26 UTC
There are currently multiple places to specify the baud rate of the console.  This includes, but is not limited to, the sysvinit/systemd configuration, grub, syslinux, QEMU, kernel configuration settings, and likely others places.

There should be a single place for a machine configuration to set the console baud rate that affects all subsystems equally.
Comment 1 Chen Qi 2015-03-26 07:55:13 UTC
Hi Mark,

I just looked into this bug. And I also looked at Chong's patches. Below are some of my thoughts.

Values related to serial console and baud rate in OE are all default values which are allowed to be overridden. And given that SERIAL_CONSOLES may contain multiple <tty>,<baud rate> pairs, I'm wondering whether it would help much to set a console baud rate that affect all subsystems equally.

Note that SERIAL_CONSOLE is deprecated according to Yocto reference manual, and instead, SERIAL_CONSOLES is recommended.

Say that we have a baud rate set in SERIAL_CONSOLE(S), is there any problem if we set a different baud rate for SYSLINUX_SERIAL_TTY?

Regards,
Chen Qi
Comment 2 Chen Qi 2015-05-19 01:44:39 UTC
If no one has objections, I'm going to close this bug.
Comment 3 Chen Qi 2015-08-04 02:11:02 UTC
Close this bug.
Comment 4 Bogdan Alexandru Voiculescu 2015-08-27 15:07:25 UTC
agree with Chen Qi: there is no problem having different baud rates