From: Yegor Yefremov <yegor_sub1@visionsystems.de>
To: buildroot@busybox.net
Subject: [Buildroot] /dev/ttyprinkt usage in BR
Date: Wed, 12 Jan 2011 17:52:34 +0100 [thread overview]
Message-ID: <4D2DDC52.70806@visionsystems.de> (raw)
In-Reply-To: <87wrmaxg91.fsf@macbook.be.48ers.dk>
> Yegor> As of kernel 2.6.37 there is a new pseudo tty device
> Yegor> /dev/ttyprinkt, that can make user output through pritnk()
> Yegor> routine. How can it be used in BR? What entries should
> Yegor> /etc/inittab contain to redirect the console output to
> Yegor> /dev/ttyprinkt?
>
> I haven't used it yet, but I guess the only thing you have to do to get
> all console output though it is to use devtmpfs (or add the device node
> in device_table.txt), and tell init to use it as console. Looking at the
> busybox init code, I see it gets the console device from the CONSOLE or
> console environment variables, so you would just have to add
> CONSOLE=/dev/ttyprintk to the kernel commandline.
Device creation is not a problem. If I change the console in /etc/inittab from ttyAM0 to ttyprintk I get
[U]
[U]
[U] Welcome to Buildroot
[U]
but no prompt.
Best regards,
Yegor
prev parent reply other threads:[~2011-01-12 16:52 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-01-12 15:43 [Buildroot] /dev/ttyprinkt usage in BR Yegor Yefremov
2011-01-12 16:02 ` Peter Korsgaard
2011-01-12 16:52 ` Yegor Yefremov [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=4D2DDC52.70806@visionsystems.de \
--to=yegor_sub1@visionsystems.de \
--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