Bug 468

Summary: atom-pc: setup serial and tty consoles for netbooks and dev boards
Product: [Yocto Project Subprojects] Kernel Reporter: Darren Hart <dvhart>
Component: kernel-toolingAssignee: Darren Hart <dvhart>
Status: VERIFIED NOTABUG QA Contact:
Severity: major    
Priority: High CC: jessica.zhang, kevin.tian, sgw, yp.watcher
Version: 0.9   
Target Milestone: 0.9 M4   
Hardware: Other   
OS: x86   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Program Management Documentation change: ---

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.