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

Cary O'Brien cobrien at cornet.com
Tue Nov 11 08:11:45 PST 2014


Fabio Estevam 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?
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?



More information about the meta-freescale mailing list