Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Baruch Siach <baruch@tkos.co.il>
To: buildroot@busybox.net
Subject: [Buildroot] how to add UART1,2,3 on beaglebone
Date: Wed, 20 Jul 2016 08:20:40 +0300	[thread overview]
Message-ID: <20160720052040.GA3766@sapphire.tkos.co.il> (raw)
In-Reply-To: <e53c5a20-dc1d-3fda-0dfd-9e46c8f98185@gmail.com>

Hi Jehun Lee,

On Tue, Jul 19, 2016 at 09:07:26PM -0700, Jehun Lee wrote:
> I made and load successfully on my beaglebone black by following docs on
> https://buildroot.org/docs.html.
> But that image has only one ttyO0 for console. I want to add UART1,2,3 of
> beaglebone black.
> How can I do that? Any advice?

You need to add getty entries in your target /etc/inittab file. Look for 
'ttyO0' in /etc/inittab, and add similar entries for ttyO{1,2,3}.

This assumes that you are using either Busybox init (most likely) or sysvinit. 
If you use systemd, add a symlink in /etc/systemd/system/getty.target.wants/ 
for each console.

Hope this helps,
baruch

-- 
     http://baruch.siach.name/blog/                  ~. .~   Tk Open Systems
=}------------------------------------------------ooO--U--Ooo------------{=
   - baruch at tkos.co.il - tel: +972.2.679.5364, http://www.tkos.co.il -

  reply	other threads:[~2016-07-20  5:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-20  4:07 [Buildroot] how to add UART1,2,3 on beaglebone Jehun Lee
2016-07-20  5:20 ` Baruch Siach [this message]
2016-07-20  8:27   ` Lothar Felten

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=20160720052040.GA3766@sapphire.tkos.co.il \
    --to=baruch@tkos.co.il \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox