[Armadeus-commitlog] armadeus branch, master, updated. release-3.2-318-g76874a3
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2010-04-26 08:56:49
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via 76874a3114b0ddda52ebd6bae83e796ea089d907 (commit)
from e143aade66c48447ed5669e195483bfd924e0b73 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 76874a3114b0ddda52ebd6bae83e796ea089d907
Author: Julien Boibessot <jul...@ar...>
Date: Mon Apr 26 10:53:09 2010 +0200
[BUILDROOT] Busybox: add patch to be able to use serial speed of 921600 from stty
-----------------------------------------------------------------------
Summary of changes:
...busybox-add_support_for_B921600_tty_speed.patch | 40 ++++++++++++++++++++
...busybox-add_support_for_B921600_tty_speed.patch | 40 ++++++++++++++++++++
2 files changed, 80 insertions(+), 0 deletions(-)
create mode 100644 patches/buildroot/105-busybox-add_support_for_B921600_tty_speed.patch
create mode 100644 patches/buildroot/2010.02/105-busybox-add_support_for_B921600_tty_speed.patch
diff --git a/patches/buildroot/105-busybox-add_support_for_B921600_tty_speed.patch b/patches/buildroot/105-busybox-add_support_for_B921600_tty_speed.patch
new file mode 100644
index 0000000..f4fef9b
--- /dev/null
+++ b/patches/buildroot/105-busybox-add_support_for_B921600_tty_speed.patch
@@ -0,0 +1,40 @@
+Needed for busybox < 1.16
+Without this patch stty will refuse to setup a tty to B921600 speed.
+
+Index: buildroot/package/busybox/busybox-1.12.1-speed_table-B921600.patch
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/busybox/busybox-1.12.1-speed_table-B921600.patch 2010-04-26 10:29:53.000000000 +0200
+@@ -0,0 +1,32 @@
++From e707a3000b2f6e2f684b6e85cd60590318d157c4 Mon Sep 17 00:00:00 2001
++From: Bernhard Reutner-Fischer <rep...@gm...>
++Date: Tue, 20 Oct 2009 17:40:20 +0000
++Subject: add B921600
++
++Signed-off-by: Bernhard Reutner-Fischer <rep...@gm...>
++---
++diff --git a/libbb/speed_table.c b/libbb/speed_table.c
++index 05fe66c..af676e1 100644
++--- a/libbb/speed_table.c
+++++ b/libbb/speed_table.c
++@@ -51,6 +51,9 @@ static const struct speed_map speeds[] = {
++ #ifdef B460800
++ {B460800, 460800/256 + 0x8000U},
++ #endif
+++#ifdef B921600
+++ {B921600, 921600/256 + 0x8000U},
+++#endif
++ };
++
++ enum { NUM_SPEEDS = ARRAY_SIZE(speeds) };
++@@ -93,7 +96,7 @@ int main(void)
++ unsigned long v;
++ speed_t s;
++
++- for (v = 0 ; v < 500000; v++) {
+++ for (v = 0 ; v < 1000000; v++) {
++ s = tty_value_to_baud(v);
++ if (s == (speed_t) -1) {
++ continue;
++--
++cgit v0.8.2.1
diff --git a/patches/buildroot/2010.02/105-busybox-add_support_for_B921600_tty_speed.patch b/patches/buildroot/2010.02/105-busybox-add_support_for_B921600_tty_speed.patch
new file mode 100644
index 0000000..9e30522
--- /dev/null
+++ b/patches/buildroot/2010.02/105-busybox-add_support_for_B921600_tty_speed.patch
@@ -0,0 +1,40 @@
+Needed for busybox < 1.16
+Without this patch stty will refuse to setup a tty to B921600 speed.
+
+Index: buildroot/package/busybox/busybox-1.15.3-speed_table-B921600.patch
+===================================================================
+--- /dev/null 1970-01-01 00:00:00.000000000 +0000
++++ buildroot/package/busybox/busybox-1.15.3-speed_table-B921600.patch 2010-04-26 10:29:53.000000000 +0200
+@@ -0,0 +1,32 @@
++From e707a3000b2f6e2f684b6e85cd60590318d157c4 Mon Sep 17 00:00:00 2001
++From: Bernhard Reutner-Fischer <rep...@gm...>
++Date: Tue, 20 Oct 2009 17:40:20 +0000
++Subject: add B921600
++
++Signed-off-by: Bernhard Reutner-Fischer <rep...@gm...>
++---
++diff --git a/libbb/speed_table.c b/libbb/speed_table.c
++index 05fe66c..af676e1 100644
++--- a/libbb/speed_table.c
+++++ b/libbb/speed_table.c
++@@ -51,6 +51,9 @@ static const struct speed_map speeds[] = {
++ #ifdef B460800
++ {B460800, 460800/256 + 0x8000U},
++ #endif
+++#ifdef B921600
+++ {B921600, 921600/256 + 0x8000U},
+++#endif
++ };
++
++ enum { NUM_SPEEDS = ARRAY_SIZE(speeds) };
++@@ -93,7 +96,7 @@ int main(void)
++ unsigned long v;
++ speed_t s;
++
++- for (v = 0 ; v < 500000; v++) {
+++ for (v = 0 ; v < 1000000; v++) {
++ s = tty_value_to_baud(v);
++ if (s == (speed_t) -1) {
++ continue;
++--
++cgit v0.8.2.1
hooks/post-receive
--
armadeus
|