[yocto] Serial consoles

Jim Abernathy jfabernathy at gmail.com
Mon Jan 16 15:13:51 PST 2012


I'm using a Marshalltown Cedarview board and it's serial ports are 
standard PC com1 and com2 so I put the following in my 
conf/machine/mycdv.conf file, where mycdv is the name of my machine/bsp, 
i.e. meta-mycdv.

SERIAL_CONSOLE = "115200 ttyS0"
SYSLINUX_OPTS = "serial 0 115200"
APPEND = "console=ttyS0,115200 console=tty0"

When the system booted, I have the kernel console on com1 and I also got 
a login prompt on com1.  However, the syslinux output was only displayed 
on the VGA monitor.

Anyone know why? Maybe SYSLINUX_OPTS goes somewhere else?

I noticed in the n450 release notes that they accomplish this with the 
following in the local.conf file:

# Serial Port Setup for Intel Embedded Development Board 1-N40\
SYSLINUX_OPTS_atom-pc = "serial 0 115200"
SERIAL_CONSOLE_atom-pc = "115200 ttyS0"
APPEND_atom-pc = "console=ttyS0,115200 console=tty0"

This does work for the N450, but the cedartrail bsp is not under 
standard/common-pc/atom-pc. It's under standard/cedartrail.  If I have 
to put SYSLINUX_OPTS in local.conf, what is the suffix and why???

JIm A




More information about the yocto mailing list