From: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
To: buildroot@busybox.net
Subject: [Buildroot] /dev/ttyS0 in filesystem created by Buildroot can't be opened in Qemu
Date: Fri, 13 Jul 2012 23:03:04 +0200 [thread overview]
Message-ID: <20120713230304.4576d10a@skate> (raw)
In-Reply-To: <CAM1vXnbQ8PFkT7rDvhC5kVEUv4Nxserx8CTQUFZz8TnoXh7skg@mail.gmail.com>
Le Tue, 10 Jul 2012 17:13:16 +0200,
Mihajlo Jovanovi? <jovanovic.mihajlo@gmail.com> a ?crit :
> However, just for testing purposes, I have launched qemu with
> "console=tty1" and then I got correct output in terminal window, whereas in
> Qemu window there was Tux and outputs were finished with "Starting
> network...". Probably the reason for that is discrepancy between specifying
> "tty1" in Qemu invocation, and at the same time selecting "ttyAMA0" in
> menuconfig
You're confusing two different things:
(1) The console=ttyXX kernel parameter. This tells the kernel were to
output its messages, i.e all the messages displayed by kernel
drivers and subsystems.
(2) The ttyXX on which the getty program is run. getty is the userspace
program that implements the login prompt. In Buildroot, it is
started directly by Busybox init, as specified in the /etc/inittab
file. The option in System configuration -> Port to run getty on
adjust this tty.
Best regards,
Thomas
--
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com
prev parent reply other threads:[~2012-07-13 21:03 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-09 8:31 [Buildroot] /dev/ttyS0 in filesystem created by Buildroot can't be opened in Qemu Mihajlo Jovanović
2012-07-09 8:41 ` Baruch Siach
2012-07-09 14:40 ` Mihajlo Jovanović
2012-07-09 16:16 ` Baruch Siach
2012-07-10 10:22 ` Mihajlo Jovanović
2012-07-10 10:29 ` Baruch Siach
2012-07-10 12:46 ` Thomas Petazzoni
2012-07-10 12:54 ` Baruch Siach
2012-07-10 15:13 ` Mihajlo Jovanović
2012-07-13 21:03 ` Thomas Petazzoni [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=20120713230304.4576d10a@skate \
--to=thomas.petazzoni@free-electrons.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