[meta-intel] [PATCH] intel-corei7-64: Add ttyS2 to console list

Patrick Ohly patrick.ohly at intel.com
Wed Jun 29 12:17:52 PDT 2016


On Wed, 2016-06-29 at 11:38 -0700, Saul Wold wrote:
> This converts SERIAL_CONSOLE -> SERIAL_CONSOLES in order to add ttyS2
> to the list of terminals that could be a console on intel-corei7 devices
> The Kernel cmdline is also updated to support ttyS2.
> 
> NOTE: that SERIAL_CONSOLES will try to start a getty/login on each device
> and if the tty device does not exist it may give a warning or error at boot
> time, this warning/error is OK.
> 
> Signed-off-by: Saul Wold <sgw at linux.intel.com>
> ---
>  conf/machine/intel-corei7-64.conf | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/conf/machine/intel-corei7-64.conf b/conf/machine/intel-corei7-64.conf
> index 30d492f..5b7b62b 100644
> --- a/conf/machine/intel-corei7-64.conf
> +++ b/conf/machine/intel-corei7-64.conf
> @@ -27,7 +27,7 @@ XSERVER ?= "${XSERVER_X86_BASE} \
>             "
>  
>  SYSLINUX_OPTS = "serial 0 115200"
> -SERIAL_CONSOLE = "115200 ttyS0"
> -APPEND += "rootwait console=ttyS0,115200 console=tty0"
> +SERIAL_CONSOLES = "115200;ttyS0 115200;ttyS2"
> +APPEND += "rootwait console=ttyS2,115200 console=ttyS0,115200 console=tty0"

The kernel is limited to printing output on one console of each type. I
can dig out the relevant kernel doc if you don't find it (would have to
do some searching myself again).

It's a bit fuzzy which one it picks from the command line (first or
last). I thought it was the last, but with the Broxton kernel it
happened to be the first one. So with the line above, kernel output goes
to ttyS2 and tty0, which is probably not what you want on most generic
intel-corei7-64 machines.

-- 
Best Regards, Patrick Ohly

The content of this message is my personal opinion only and although
I am an employee of Intel, the statements I make here in no way
represent Intel's position on the issue, nor am I authorized to speak
on behalf of Intel on this matter.





More information about the meta-intel mailing list