From: Koen Kooi <k.kooi@student.utwente.nl>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [PATCH] sysvinit_2.86.bb: add possibility to use USB Serial Console with only rx/tx.
Date: Fri, 26 Nov 2010 18:23:49 +0100 [thread overview]
Message-ID: <icoqf5$9n4$1@dough.gmane.org> (raw)
In-Reply-To: <1290790442-28006-1-git-send-email-matteo.facchinetti@sirius-es.it>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Where's the patch that adds this new var to the usermanual?
On 26-11-10 17:54, matteo.facchinetti@sirius-es.it wrote:
> From: Matteo Facchinetti <engineering@sirius-es.it>
>
> There are many evaluationboard that use mini-usb port like as
> a serial port + power supply. Using it as serial console have
> to force getty with no need for carrier detect.
>
> Signed-off-by: Matteo Facchinetti <engineering@sirius-es.it>
> ---
> recipes/sysvinit/sysvinit_2.86.bb | 5 +++++
> 1 files changed, 5 insertions(+), 0 deletions(-)
>
> diff --git a/recipes/sysvinit/sysvinit_2.86.bb b/recipes/sysvinit/sysvinit_2.86.bb
> index 6ab5290..c34cbc9 100644
> --- a/recipes/sysvinit/sysvinit_2.86.bb
> +++ b/recipes/sysvinit/sysvinit_2.86.bb
> @@ -65,6 +65,11 @@ do_install () {
> install -m 0644 ${WORKDIR}/inittab ${D}${sysconfdir}/inittab
> if [ ! -z "${SERIAL_CONSOLE}" ]; then
> echo "S:2345:respawn:${base_sbindir}/getty ${SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab
> + else
> +
> + if [ ! -z "${USB_SERIAL_CONSOLE}" ]; then
> + echo "S:2345:respawn:${base_sbindir}/getty -L ${USB_SERIAL_CONSOLE}" >> ${D}${sysconfdir}/inittab
> + fi
> fi
> if [ "${USE_VT}" = "1" ]; then
> cat <<EOF >>${D}${sysconfdir}/inittab
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFM7+0kMkyGM64RGpERAtPZAKCSHvZA9Eko51AqkoVR476+5tWoIQCgr1/Z
kxtr+B+5lfr+vqIxh6o5qGA=
=JSd7
-----END PGP SIGNATURE-----
next prev parent reply other threads:[~2010-11-26 17:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-11-26 16:54 [PATCH] sysvinit_2.86.bb: add possibility to use USB Serial Console with only rx/tx matteo.facchinetti
2010-11-26 17:23 ` Koen Kooi [this message]
2010-12-02 13:38 ` Matteo Facchinetti
2010-12-05 13:17 ` Scott Anderson
2010-12-06 8:53 ` Matteo Facchinetti
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='icoqf5$9n4$1@dough.gmane.org' \
--to=k.kooi@student.utwente.nl \
--cc=openembedded-devel@lists.openembedded.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox