[meta-freescale] CLOCAL bit for console ttyAMA0 on imx28evk with 3.14 kernel

Otavio Salvador otavio at ossystems.com.br
Tue Nov 11 09:42:32 PST 2014

On Tue, Nov 11, 2014 at 2:05 PM, Fabio Estevam <festevam at gmail.com> wrote:
> On Tue, Nov 11, 2014 at 4:41 AM, Craig McQueen
> <craig.mcqueen at beamcommunications.com> 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?
> I was able to reproduce this bug on dizzy.
> Otavio, any suggestions?

Is it something which needs fixing on the kernel or Busybox getty?

Otavio Salvador                             O.S. Systems
http://www.ossystems.com.br        http://code.ossystems.com.br
Mobile: +55 (53) 9981-7854            Mobile: +1 (347) 903-9750

More information about the meta-freescale mailing list