All of lore.kernel.org
 help / color / mirror / Atom feed
* Serial consoles
@ 2012-01-16 23:13 Jim Abernathy
  0 siblings, 0 replies; 4+ messages in thread
From: Jim Abernathy @ 2012-01-16 23:13 UTC (permalink / raw)
  To: Yocto Project

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



^ permalink raw reply	[flat|nested] 4+ messages in thread

* serial consoles
@ 2012-01-27 17:45 jfabernathy
  2012-02-02  1:10 ` Saxena, Rahul
  2012-02-02  1:12 ` Saxena, Rahul
  0 siblings, 2 replies; 4+ messages in thread
From: jfabernathy @ 2012-01-27 17:45 UTC (permalink / raw)
  To: yocto

I have the meta-cedartrail image running on hardware (Marshalltown 
board).  To make the serial console work, I have in the 
machine/cedartrail.conf file:

SERIAL_CONSOLE = "115200 ttyS0"

this works fine, but only after Linux is up and the login prompts are 
sent out. I'm trying to also get the Kernel boot console log out, and 
possibly syslinux or grub console.

If I look at the release notes for the meta-n450, it has suggestions to 
do this for that BSP as below:

         # 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"

However, those notes talk  about added these statements to the 
local.conf file.

I have not been able to translate what works on the n450 to cedartrail.

Any ideas?

Jim A



^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: serial consoles
  2012-01-27 17:45 serial consoles jfabernathy
@ 2012-02-02  1:10 ` Saxena, Rahul
  2012-02-02  1:12 ` Saxena, Rahul
  1 sibling, 0 replies; 4+ messages in thread
From: Saxena, Rahul @ 2012-02-02  1:10 UTC (permalink / raw)
  To: jfabernathy, yocto@yoctoproject.org

The following format worked for me Cedar Trail Canoe Creek boards:

         SYSLINUX_OPTS = "serial 3 115200"
         SERIAL_CONSOLE = "115200 ttyS3"
         APPEND += "console=ttyS3,115200 console=tty3"

This format is based on Fish River 2 BSP: http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/meta-fri2/conf/machine/fri2.conf?h=edison


Rahul

-----Original Message-----
From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of jfabernathy
Sent: Friday, January 27, 2012 9:45 AM
To: yocto@yoctoproject.org
Subject: [yocto] serial consoles

I have the meta-cedartrail image running on hardware (Marshalltown 
board).  To make the serial console work, I have in the 
machine/cedartrail.conf file:

SERIAL_CONSOLE = "115200 ttyS0"

this works fine, but only after Linux is up and the login prompts are 
sent out. I'm trying to also get the Kernel boot console log out, and 
possibly syslinux or grub console.

If I look at the release notes for the meta-n450, it has suggestions to 
do this for that BSP as below:

         # 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"

However, those notes talk  about added these statements to the 
local.conf file.

I have not been able to translate what works on the n450 to cedartrail.

Any ideas?

Jim A

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: serial consoles
  2012-01-27 17:45 serial consoles jfabernathy
  2012-02-02  1:10 ` Saxena, Rahul
@ 2012-02-02  1:12 ` Saxena, Rahul
  1 sibling, 0 replies; 4+ messages in thread
From: Saxena, Rahul @ 2012-02-02  1:12 UTC (permalink / raw)
  To: jfabernathy, yocto@yoctoproject.org

Forgot to mention, I tried these statements on machine/cedartrail.conf

-----Original Message-----
From: Saxena, Rahul 
Sent: Wednesday, February 01, 2012 5:10 PM
To: 'jfabernathy'; yocto@yoctoproject.org
Subject: RE: [yocto] serial consoles

The following format worked for me Cedar Trail Canoe Creek boards:

         SYSLINUX_OPTS = "serial 3 115200"
         SERIAL_CONSOLE = "115200 ttyS3"
         APPEND += "console=ttyS3,115200 console=tty3"

This format is based on Fish River 2 BSP: http://git.yoctoproject.org/cgit/cgit.cgi/meta-intel/tree/meta-fri2/conf/machine/fri2.conf?h=edison


Rahul

-----Original Message-----
From: yocto-bounces@yoctoproject.org [mailto:yocto-bounces@yoctoproject.org] On Behalf Of jfabernathy
Sent: Friday, January 27, 2012 9:45 AM
To: yocto@yoctoproject.org
Subject: [yocto] serial consoles

I have the meta-cedartrail image running on hardware (Marshalltown 
board).  To make the serial console work, I have in the 
machine/cedartrail.conf file:

SERIAL_CONSOLE = "115200 ttyS0"

this works fine, but only after Linux is up and the login prompts are 
sent out. I'm trying to also get the Kernel boot console log out, and 
possibly syslinux or grub console.

If I look at the release notes for the meta-n450, it has suggestions to 
do this for that BSP as below:

         # 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"

However, those notes talk  about added these statements to the 
local.conf file.

I have not been able to translate what works on the n450 to cedartrail.

Any ideas?

Jim A

_______________________________________________
yocto mailing list
yocto@yoctoproject.org
https://lists.yoctoproject.org/listinfo/yocto


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-02-02  1:12 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-27 17:45 serial consoles jfabernathy
2012-02-02  1:10 ` Saxena, Rahul
2012-02-02  1:12 ` Saxena, Rahul
  -- strict thread matches above, loose matches on Subject: below --
2012-01-16 23:13 Serial consoles Jim Abernathy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.