>-----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-boun...@yoctoproject.org [mailto:yocto- >>>> boun...@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. I edited grub and added back console=ttyS0,115200 console=tty0 Serial console got active, but I could not get the login prompt on serial console, only boot messages and serial console hangs after these messages. EXT3-fs (loop0): recovery complete EXT3-fs (loop0): mounted filesystem with ordered data mode udev[469]: starting version 164 NET: Registered protocol family 10 ADDRCONF(NETDEV_UP): eth0: link is not ready ip_tables: (C) 2000-2006 Netfilter Core Team nf_conntrack version 0.5.0 (16384 buckets, 65536 max) Gfx desktop came up though with no issues. Thanks Kishore. > >-- >Darren > >> Jim A >>>> However, when the image booted, I had no serial console on ttyS0. I >>>> checked /etc/inittab and noticed that the following line existed: >>>> >>>> S:2345:respawn:/sbin/getty 115200 ttyS3 >>>> >>>> I changed the ttyS3 to ttyS0 and then I have a serial console on the >>>> next reboot. So it appears the override in the .conf file is not >>>> working. Also I only have the console from getty, and not the kernel >>>> logging console. >>>> >>>> Anyone have a solution?? >>>> >>>> If this is considered a bug I can put it on bugzilla. >>>> >>>> Jim A >>>> >>>> _______________________________________________ >>>> yocto mailing list >>>> yocto@yoctoproject.org >>>> https://lists.yoctoproject.org/listinfo/yocto >> >> _______________________________________________ >> yocto mailing list >> yocto@yoctoproject.org >> https://lists.yoctoproject.org/listinfo/yocto > > >-- >Darren Hart >Intel Open Source Technology Center >Yocto Project - Linux Kernel _______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto