All of lore.kernel.org
 help / color / mirror / Atom feed
From: Craig McQueen <craig.mcqueen@beamcommunications.com>
To: <meta-freescale@yoctoproject.org>
Subject: CLOCAL bit for console ttyAMA0 on imx28evk with 3.14 kernel
Date: Tue, 11 Nov 2014 17:41:08 +1100	[thread overview]
Message-ID: <5461AF84.2000700@beamcommunications.com> (raw)

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



             reply	other threads:[~2014-11-11  6:55 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-11  6:41 Craig McQueen [this message]
2014-11-11  7:40 ` CLOCAL bit for console ttyAMA0 on imx28evk with 3.14 kernel Nikolay Dimitrov
2014-11-11 16:05 ` Fabio Estevam
2014-11-11 16:11   ` Cary O'Brien
2014-11-11 17:42   ` Otavio Salvador
2014-11-11 17:46     ` Fabio Estevam
2014-11-11 17:53       ` Otavio Salvador
2014-11-11 23:00         ` Craig McQueen
2014-11-11 23:47           ` Otavio Salvador
2014-11-12  2:06             ` Craig McQueen
2015-01-02  7:10 ` Colin Moloney
2015-01-02 11:38   ` Otavio Salvador

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=5461AF84.2000700@beamcommunications.com \
    --to=craig.mcqueen@beamcommunications.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.