From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 8296FE00905; Mon, 10 Nov 2014 22:55:30 -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=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [134.170.140.69 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] Received: from APAC01-HK1-obe.outbound.protection.outlook.com (mail-hk1on0069.outbound.protection.outlook.com [134.170.140.69]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 0EB69E008B4 for ; Mon, 10 Nov 2014 22:55:27 -0800 (PST) Received: from SIXPR02MB192.apcprd02.prod.outlook.com (10.141.122.148) by SIXPR02MB271.apcprd02.prod.outlook.com (10.141.119.143) with Microsoft SMTP Server (TLS) id 15.1.16.15; Tue, 11 Nov 2014 06:41:21 +0000 Received: from [192.168.5.3] (220.233.218.62) by SIXPR02MB192.apcprd02.prod.outlook.com (10.141.122.148) with Microsoft SMTP Server (TLS) id 15.1.16.15; Tue, 11 Nov 2014 06:41:18 +0000 Message-ID: <5461AF84.2000700@beamcommunications.com> Date: Tue, 11 Nov 2014 17:41:08 +1100 From: Craig McQueen User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0 MIME-Version: 1.0 To: X-Originating-IP: [220.233.218.62] X-ClientProxiedBy: HKXPR02CA015.apcprd02.prod.outlook.com (10.255.138.32) To SIXPR02MB192.apcprd02.prod.outlook.com (10.141.122.148) X-Microsoft-Antispam: UriScan:;UriScan:; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:SIXPR02MB192; X-Exchange-Antispam-Report-Test: UriScan:; X-Exchange-Antispam-Report-CFA: BCL:0;PCL:0;RULEID:;SRVR:SIXPR02MB192; X-Forefront-PRVS: 0392679D18 X-Forefront-Antispam-Report: SFV:NSPM; SFS:(10009020)(6049001)(6009001)(189002)(199003)(46102003)(92566001)(92726001)(4396001)(23676002)(102836001)(101416001)(42186005)(87976001)(83506001)(31966008)(80316001)(50466002)(64126003)(117156001)(33656002)(86362001)(59896002)(110136001)(122386002)(99396003)(120916001)(36756003)(97736003)(21056001)(106356001)(105586002)(95666004)(40100003)(20776003)(65816999)(64706001)(47776003)(62966003)(450100001)(77156002)(87266999)(54356999)(50986999)(107046002)(66066001)(77096003)(107886001)(2351001)(229853001); DIR:OUT; SFP:1101; SCL:1; SRVR:SIXPR02MB192; H:[192.168.5.3]; FPR:; MLV:sfv; PTR:InfoNoRecords; MX:1; A:1; LANG:en; X-Exchange-Antispam-Report-CFA: BCL:0;PCL:0;RULEID:;SRVR:SIXPR02MB192; X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:;SRVR:SIXPR02MB271; X-OriginatorOrg: beamcommunications.com Subject: 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 06:55:30 -0000 Content-Type: text/plain; charset="utf-8"; format=flowed Content-Transfer-Encoding: 7bit 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? Regards, Craig McQueen