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

Fabio Estevam festevam at gmail.com
Tue Nov 11 08:05:58 PST 2014


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?


More information about the meta-freescale mailing list