[oe-commits] Valentin Longchamp : busybox: added support for 921600 speed of serial line
GIT User account
git at amethyst.openembedded.net
Mon Dec 8 14:06:12 UTC 2008
Module: openembedded.git
Branch: org.openembedded.dev
Commit: 5b1ed09b1ab1a60a28a76e4658bc9957cd361b5d
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=5b1ed09b1ab1a60a28a76e4658bc9957cd361b5d
Author: Valentin Longchamp <valentin.longchamp at epfl.ch>
Date: Mon Dec 8 14:43:23 2008 +0100
busybox: added support for 921600 speed of serial line
---
packages/busybox/busybox-1.11.3/B921600.patch | 13 +++++++++++++
packages/busybox/busybox_1.11.3.bb | 3 ++-
2 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/packages/busybox/busybox-1.11.3/B921600.patch b/packages/busybox/busybox-1.11.3/B921600.patch
new file mode 100644
index 0000000..61cc32b
--- /dev/null
+++ b/packages/busybox/busybox-1.11.3/B921600.patch
@@ -0,0 +1,13 @@
+diff -upNr busybox-1.7.2/libbb/speed_table.c busybox-1.7.2-921600/libbb/speed_table.c
+--- busybox-1.7.2/libbb/speed_table.c 2007-09-03 13:48:41.000000000 +0200
++++ busybox-1.7.2-921600/libbb/speed_table.c 2008-10-09 16:23:26.269592899 +0200
+@@ -52,6 +52,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) };
diff --git a/packages/busybox/busybox_1.11.3.bb b/packages/busybox/busybox_1.11.3.bb
index 08a4531..09eddae 100644
--- a/packages/busybox/busybox_1.11.3.bb
+++ b/packages/busybox/busybox_1.11.3.bb
@@ -1,10 +1,11 @@
require busybox.inc
-PR = "r1"
+PR = "r2"
SRC_URI = "\
http://www.busybox.net/downloads/busybox-${PV}.tar.gz \
\
file://udhcpscript.patch;patch=1 \
+ file://B921600.patch;patch=1 \
file://fdisk_lineedit_segfault.patch;patch=1 \
file://busybox-cron \
file://busybox-httpd \
More information about the Openembedded-commits
mailing list