From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 94144E01443 for ; Fri, 1 Jun 2012 14:17:59 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga101.jf.intel.com with ESMTP; 01 Jun 2012 14:17:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.67,351,1309762800"; d="scan'208";a="151529038" Received: from unknown (HELO envy.home) ([10.255.12.201]) by orsmga002.jf.intel.com with ESMTP; 01 Jun 2012 14:17:40 -0700 Message-ID: <4FC93135.1040802@intel.com> Date: Fri, 01 Jun 2012 14:16:37 -0700 From: Darren Hart User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: "Bodke, Kishore K" References: <4FC79837.2070309@gmail.com> <4FC7C769.1030903@gmail.com> <4FC7C9D8.5030301@intel.com> <4FC905FA.7010707@intel.com> In-Reply-To: Cc: "yocto@yoctoproject.org" Subject: Re: meta-cedartrail - serial console X-BeenThere: yocto@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Discussion of all things Yocto List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Jun 2012 21:17:59 -0000 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On 06/01/2012 02:02 PM, Bodke, Kishore K wrote: > > >> -----Original Message----- >> From: Hart, Darren >> Sent: Friday, June 01, 2012 11:12 AM >> To: Bodke, Kishore K >> Cc: jfabernathy; yocto@yoctoproject.org >> Subject: Re: [yocto] meta-cedartrail - serial console >> >> On 06/01/2012 11:03 AM, Bodke, Kishore K wrote: >>> >>> >>>> -----Original Message----- >>>> From: Hart, Darren >>>> Sent: Thursday, May 31, 2012 12:43 PM >>>> To: jfabernathy >>>> Cc: Bodke, Kishore K; yocto@yoctoproject.org >>>> Subject: Re: [yocto] meta-cedartrail - serial console >>>> >>>> On 05/31/2012 12:32 PM, jfabernathy wrote: >>>>> On 05/31/2012 02:18 PM, Bodke, Kishore K wrote: >>>>>> >>>>>>> -----Original Message----- >>>>>>> From: yocto-bounces@yoctoproject.org [mailto:yocto- >>>>>>> bounces@yoctoproject.org] On Behalf Of jfabernathy >>>>>>> Sent: Thursday, May 31, 2012 9:12 AM >>>>>>> To: yocto@yoctoproject.org >>>>>>> Subject: [yocto] meta-cedartrail - serial console >>>>>>> >>>>>>> Using a DN2800MT (Marshalltown) Intel board, I'm testing the >>>>>>> meta-cedartrail using edison branch and noticed an issues with the >>>>>>> serial console. >>>>>>> >>>>>>> The cedartrail.conf in the machine directory has the following >> statements: >>>>>>> >>>>>>> SYSLINUX_OPTS = "serial 0 115200" >>>>>>> SERIAL_CONSOLE = "115200 ttyS0" >>>>>>> APPEND += "console=ttyS0,115200 console=tty0" >>>>>>> >>>>>> I just saw that Edison branch has ttyS3 enabled. >>>>>> >>>>>> SYSLINUX_OPTS = "serial 3 115200" >>>>>> SERIAL_CONSOLE = "115200 ttyS3" >>>>>> APPEND += "console=ttyS3,115200 console=tty3" >>>>>> >>>>>> Are you looking into right branch? >>>>>> >>>>>> Thanks >>>>>> -Kishore. >>>>>> >>>>> >>>>> So how do you get changes in the cedartrail.conf file to take affect?? >>>>> I edited the file and did the bitbake again, but nothing changed. I'm >>>>> guessing I need a bitbake -c cleansstate "somthing" But I don't know >>>>> what to put there to make rebuild with ttyS0. >>>>> >>>> >>>> Ah yes, this rebuild is a bit frustrating. I believe it is the >>>> task_core* tasks you need to rebuild. bitbake -u depexp -g >>>> core-image-base (whatever your image is) will allow you to view which >>>> task_ tasks it is building, try cleansstate'ing those and rebuilding the >>>> image. >>> >>> I had to remove the above 3 lines from cedartrail.conf and >>> SERIAL_CONSOLE ?= "115200 ttyS0" line from conf/machine/include/ia32- >> base.inc >>> rebuild the image. >>> It is disabled now. >> >> Did you try with SERIAL_CONSOLE="" in cedartrail.conf ? > > Yes. I tried this. It is disabled. > Meaning you do not have to modify ia32-base.inc? > I again added back in the grub.cfg, serial console hangs. Added what back in grub.cfg? I thought you were disabling the serial port... Where does the serial console hang? In grub? During boot? At the login prompt? -- Darren Hart Intel Open Source Technology Center Yocto Project - Linux Kernel