Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Lothar Felten <lothar.felten@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] how to add UART1,2,3 on beaglebone
Date: Wed, 20 Jul 2016 10:27:34 +0200	[thread overview]
Message-ID: <578F35F6.9020008@gmail.com> (raw)
In-Reply-To: <20160720052040.GA3766@sapphire.tkos.co.il>

Hi Jehun,

On 20.07.2016 07:20, Baruch Siach wrote:
> 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
>

Maybe your device tree also needs an entry to enable the other uarts, 
something like this:

&uart1 {
	pinctrl-names = "default";
	pinctrl-0 = <&uart1_pins_default>;
	status = "okay";
};

(And check the pinmux, here it's the uart1_pins_default entry)

--
Lothar

      reply	other threads:[~2016-07-20  8:27 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
2016-07-20  8:27   ` Lothar Felten [this message]

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=578F35F6.9020008@gmail.com \
    --to=lothar.felten@gmail.com \
    --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