Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: llandwerlin at gmail.com <llandwerlin@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 11/14] target: Added ttyAS[0-3] devices
Date: Sun,  7 Feb 2010 19:07:53 +0100	[thread overview]
Message-ID: <1265566076-10628-12-git-send-email-llandwerlin@gmail.com> (raw)
In-Reply-To: <1265566076-10628-1-git-send-email-llandwerlin@gmail.com>

From: Lionel Landwerlin <llandwerlin@gmail.com>

Some set top boxes use /dev/ttyAS[0-3] devices to output traces.

Signed-off-by: Lionel Landwerlin <llandwerlin@gmail.com>
---
 target/generic/Config.in        |   16 ++++++++++++++++
 target/generic/device_table.txt |    9 +++++----
 2 files changed, 21 insertions(+), 4 deletions(-)

diff --git a/target/generic/Config.in b/target/generic/Config.in
index 54ff1d6..c995341 100644
--- a/target/generic/Config.in
+++ b/target/generic/Config.in
@@ -102,6 +102,18 @@ config BR2_TARGET_GENERIC_GETTY_TTYCPM2
 config BR2_TARGET_GENERIC_GETTY_TTYCPM3
 	bool "ttyCPM3"
 	depends on BR2_powerpc
+config BR2_TARGET_GENERIC_GETTY_TTYAS0
+	bool "ttyAS0"
+	depends on BR2_sh
+config BR2_TARGET_GENERIC_GETTY_TTYAS1
+	bool "ttyAS1"
+	depends on BR2_sh
+config BR2_TARGET_GENERIC_GETTY_TTYAS2
+	bool "ttyAS2"
+	depends on BR2_sh
+config BR2_TARGET_GENERIC_GETTY_TTYAS3
+	bool "ttyAS3"
+	depends on BR2_sh
 endchoice
 
 config BR2_TARGET_GENERIC_GETTY_PORT
@@ -134,6 +146,10 @@ config BR2_TARGET_GENERIC_GETTY_PORT
 	default "ttyCPM1"	if BR2_TARGET_GENERIC_GETTY_TTYCPM1
 	default "ttyCPM2"	if BR2_TARGET_GENERIC_GETTY_TTYCPM2
 	default "ttyCPM3"	if BR2_TARGET_GENERIC_GETTY_TTYCPM3
+	default "ttyAS0"	if BR2_TARGET_GENERIC_GETTY_TTYAS0
+	default "ttyAS1"	if BR2_TARGET_GENERIC_GETTY_TTYAS1
+	default "ttyAS2"	if BR2_TARGET_GENERIC_GETTY_TTYAS2
+	default "ttyAS3"	if BR2_TARGET_GENERIC_GETTY_TTYAS3
 
 choice
 	prompt "Baudrate to use"
diff --git a/target/generic/device_table.txt b/target/generic/device_table.txt
index c054000..bdaec77 100644
--- a/target/generic/device_table.txt
+++ b/target/generic/device_table.txt
@@ -1,5 +1,5 @@
 # When building a target filesystem, it is desirable to not have to
-# become root and then run 'mknod' a thousand times.  Using a device 
+# become root and then run 'mknod' a thousand times.  Using a device
 # table you can create device nodes and directories "on the fly".
 #
 # This is a sample device table file for use with genext2fs.  You can
@@ -14,17 +14,17 @@
 # I could just use the following two table entries:
 #   /dev/hda    b       640     0       0       3       0       0       0       -
 #   /dev/hda    b       640     0       0       3       1       1       1       15
-# 
+#
 # Device table entries take the form of:
 # <name>    <type>      <mode>  <uid>   <gid>   <major> <minor> <start> <inc>   <count>
-# where name is the file name,  type can be one of: 
+# where name is the file name,  type can be one of:
 #       f       A regular file
 #       d       Directory
 #       c       Character special device file
 #       b       Block special device file
 #       p       Fifo (named pipe)
 # uid is the user id for the target file, gid is the group id for the
-# target file.  The rest of the entries (major, minor, etc) apply only 
+# target file.  The rest of the entries (major, minor, etc) apply only
 # to device special files.
 
 # Have fun
@@ -78,6 +78,7 @@
 /dev/ttyPSC	c	666	0	0	204	148	0	1	4
 /dev/ttyUL	c	666	0	0	204	187	0	1	4
 /dev/ttymxc	c	666	0	0	207	16	0	1	3
+/dev/ttyAS	c	666	0	0	204	40	0	1	4
 
 # Input stuff
 /dev/input		d	755	0	0	-	-	-	-	-
-- 
1.6.6

  parent reply	other threads:[~2010-02-07 18:07 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-07 18:07 [Buildroot] [PATCH 00/14] Pull-request: Bumps & new packages llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 01/14] package: added PKG_CONF_ENV variables to host packages llandwerlin at gmail.com
2010-02-09 11:31   ` Thomas Petazzoni
2010-02-07 18:07 ` [Buildroot] [PATCH 02/14] package: added pre-configure hooks llandwerlin at gmail.com
2010-02-09 11:32   ` Thomas Petazzoni
2010-02-07 18:07 ` [Buildroot] [PATCH 03/14] directfb: bump to 1.4.3 llandwerlin at gmail.com
2010-02-08 13:47   ` Paulius Zaleckas
2010-02-07 18:07 ` [Buildroot] [PATCH 04/14] package: added lirc llandwerlin at gmail.com
2010-02-09 11:37   ` Thomas Petazzoni
2010-02-09 11:54     ` Lionel Landwerlin
2010-02-09 12:37       ` Thomas Petazzoni
2010-02-09 12:53         ` Lionel Landwerlin
2010-02-07 18:07 ` [Buildroot] [PATCH 05/14] directfb: added support for lirc llandwerlin at gmail.com
2010-02-09 12:38   ` Thomas Petazzoni
2010-02-07 18:07 ` [Buildroot] [PATCH 06/14] pixman: bump to 0.16.4 llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 07/14] cairo: Bump to 1.8.8 llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 08/14] systat: bump to 9.0.6 llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 09/14] automake: bump to 1.11 llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 10/14] libtool: added LIBTOOLIZE variable to point on $(HOST_DIR)/usr/bin/libtoolize llandwerlin at gmail.com
2010-02-07 18:07 ` llandwerlin at gmail.com [this message]
2010-02-07 18:07 ` [Buildroot] [PATCH 12/14] openssh: added empty login option llandwerlin at gmail.com
2010-02-07 18:07 ` [Buildroot] [PATCH 13/14] target: added BR2_KARCH option llandwerlin at gmail.com
2010-02-07 18:46   ` Bernhard Reutner-Fischer
2010-02-07 21:18     ` Lionel Landwerlin
2010-02-07 23:52     ` [Buildroot] [PATCH] linux-fusion: bump to 8.1.1 llandwerlin at gmail.com
2010-02-07 23:55     ` [Buildroot] [PATCH 13/14] target: added BR2_KARCH option Lionel Landwerlin
2010-02-07 18:07 ` [Buildroot] [PATCH 14/14] linux-fusion: bump to 8.1.1 llandwerlin at gmail.com
2010-02-07 23:53   ` [Buildroot] [PATCH] " llandwerlin at gmail.com

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=1265566076-10628-12-git-send-email-llandwerlin@gmail.com \
    --to=llandwerlin@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