Bug 468 - atom-pc: setup serial and tty consoles for netbooks and dev boards
Summary: atom-pc: setup serial and tty consoles for netbooks and dev boards
Status: VERIFIED NOTABUG
Alias: None
Product: Kernel
Classification: Yocto Project Subprojects
Component: kernel-tooling (show other bugs)
Version: 0.9
Hardware: Other x86
: High major
Target Milestone: 0.9 M4
Assignee: Darren Hart
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2010-10-14 11:50 UTC by Darren Hart
Modified: 2010-12-20 21:39 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified: Program Management
Documentation change: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Darren Hart 2010-10-14 11:50:07 UTC
Depending on the target, we need the atom-pc machine type to have a console and a getty on both tty0 and ttyS0.
Comment 1 Darren Hart 2010-10-18 14:24:23 UTC
We currently accomplish this via local.conf settings:

SERIAL_CONSOLE_atom-pc="115200 ttyS0"
APPEND_atom-pc="console=ttyS0,115200"

This takes care of the console and the getty, but it doesn't get syslinux to display on the serial line. Using this on a netbook results in a "respawning too fast" error and init killing the getty on the non-existent ttyS0.
Comment 2 Darren Hart 2010-10-21 11:33:58 UTC
This bug is addressed by using the following in local.conf:

SYSLINUX_OPTS_atom-pc = "serial 0 115200"
SERIAL_CONSOLE_atom-pc = "115200 ttyS0"
APPEND_atom-pc = "console=ttyS0,115200 console=tty0"

This allows the BlackSand and the Netbook to be configured independently.
Comment 3 Darren Hart 2010-10-21 11:34:25 UTC
Marking as fixed.
Comment 4 Darren Hart 2010-10-21 11:35:06 UTC
Sorry, for accuracy, this isn't really a bug, marking as such.
Comment 5 Darren Hart 2010-10-21 20:11:20 UTC
verified.