Skip to contentSkip to conversation

serial consoles

DISCUSSION jfabernathy 2 participants 3 messages Jan 27, 2012 – Feb 2, 2012

lore
Share & tools
lore
#0 lore raw

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

#1 lore raw

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: [email protected] [mailto:[email protected]] On Behalf Of jfabernathy
Sent: Friday, January 27, 2012 9:45 AM
To: [email protected]
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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto

#2 lore raw
In reply to jfabernathy

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'; [email protected]
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: [email protected] [mailto:[email protected]] On Behalf Of jfabernathy
Sent: Friday, January 27, 2012 9:45 AM
To: [email protected]
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
[email protected]
https://lists.yoctoproject.org/listinfo/yocto