From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 17884E00830; Tue, 11 Nov 2014 08:17:20 -0800 (PST) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,MISSING_HEADERS, RCVD_IN_DNSWL_NONE autolearn=no version=3.3.1 X-Spam-HAM-Report: * 1.0 MISSING_HEADERS Missing To: header * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [173.203.187.83 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] X-Greylist: delayed 325 seconds by postgrey-1.32 at yocto-www; Tue, 11 Nov 2014 08:17:11 PST Received: from smtp83.iad3a.emailsrvr.com (smtp83.iad3a.emailsrvr.com [173.203.187.83]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6CE32E0072A for ; Tue, 11 Nov 2014 08:17:11 -0800 (PST) Received: from localhost (localhost.localdomain [127.0.0.1]) by smtp19.relay.iad3a.emailsrvr.com (SMTP Server) with ESMTP id 960EE180827 for ; Tue, 11 Nov 2014 11:11:45 -0500 (EST) X-Virus-Scanned: OK Received: by smtp19.relay.iad3a.emailsrvr.com (Authenticated sender: cobrien-AT-cornet.com) with ESMTPSA id 796291807D7 for ; Tue, 11 Nov 2014 11:11:45 -0500 (EST) X-Sender-Id: cobrien@cornet.com Received: from [10.3.1.224] (static-66-160-121-125.t1.cavtel.net [66.160.121.125]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA) by 0.0.0.0:587 (trex/5.3.2); Tue, 11 Nov 2014 16:11:45 GMT Message-ID: <54623541.3010507@cornet.com> Date: Tue, 11 Nov 2014 11:11:45 -0500 From: Cary O'Brien User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:26.0) Gecko/20100101 Firefox/26.0 SeaMonkey/2.23 MIME-Version: 1.0 CC: "meta-freescale@yoctoproject.org" References: <5461AF84.2000700@beamcommunications.com> In-Reply-To: Subject: Re: CLOCAL bit for console ttyAMA0 on imx28evk with 3.14 kernel X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 Nov 2014 16:17:20 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Fabio Estevam wrote: > On Tue, Nov 11, 2014 at 4:41 AM, Craig McQueen > wrote: >> I'm doing a Yocto build of core-image-minimal for imx28evk with linux-fslc >> kernel provider (thus 3.14.19 kernel). >> >> I've found that Busybox 'less' and GNU 'screen' are unresponsive when run >> from the serial debug console (ttyAMA0). E.g. 'less /etc/passwd' just hangs >> and must be stopped with Ctrl-C. 'screen' hangs and must be stopped with >> Ctrl-\. >> >> I traced it to the serial debug console not having CLOCAL bit set. Doing >> 'stty clocal' fixes it, so less and screen work normally. >> >> I think CLOCAL should always be set for serial terminals. But I'm new to >> Yocto, and I don't know what/where is needed to change so that CLOCAL bit is >> set for the serial console. Any advice? For whatever it's worth, I have the same situation with Yocto 1.6 and a P1022 board. Cary O'Brien > I was able to reproduce this bug on dizzy. > > Otavio, any suggestions?