Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] Add ttyO devices to the mdev configuration and the static device table.
@ 2012-01-01 17:26 Frank Hunleth
  2012-01-01 20:50 ` Thomas Petazzoni
  0 siblings, 1 reply; 4+ messages in thread
From: Frank Hunleth @ 2012-01-01 17:26 UTC (permalink / raw)
  To: buildroot

These are needed to support the serial ports on OMAP/AM335x devices
such as the BeagleBone.

Signed-off-by: Frank Hunleth <fhunleth@troodon-software.com>
---
 package/busybox/mdev.conf           |    1 +
 target/generic/device_table_dev.txt |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/package/busybox/mdev.conf b/package/busybox/mdev.conf
index 247c0ed..7fb71bc 100644
--- a/package/busybox/mdev.conf
+++ b/package/busybox/mdev.conf
@@ -20,6 +20,7 @@ tty		root:tty 666
 tty[0-9]*	root:tty 660
 vcsa*[0-9]*	root:tty 660
 ttyS[0-9]*	root:root 660
+ttyO[0-9]*	root:root 660
 
 # alsa sound devices
 pcm.*		root:audio 660 =snd/
diff --git a/target/generic/device_table_dev.txt b/target/generic/device_table_dev.txt
index 71cd083..b02963e 100644
--- a/target/generic/device_table_dev.txt
+++ b/target/generic/device_table_dev.txt
@@ -24,6 +24,7 @@
 /dev/ptmx	c	666	0	0	5	2	-	-	-
 /dev/ttyP	c	666	0	0	57	0	0	1	4
 /dev/ttyS	c	666	0	0	4	64	0	1	4
+/dev/ttyO	c	666	0	0	253	0	0	1	4
 /dev/fb		c	640	0	5	29	0	0	1	4
 #/dev/ttySA	c	666	0	0	204	5	0	1	3
 /dev/psaux	c	666	0	0	10	1	0	0	-
-- 
1.7.0.4

^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-01-02  7:44 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-01-01 17:26 [Buildroot] [PATCH] Add ttyO devices to the mdev configuration and the static device table Frank Hunleth
2012-01-01 20:50 ` Thomas Petazzoni
2012-01-02  1:03   ` Frank Hunleth
2012-01-02  7:44     ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox