Send commitlog mailing list submissions to
commitlog@lists.openmoko.org
To subscribe or unsubscribe via the World Wide Web, visit
http://lists.openmoko.org/mailman/listinfo/commitlog
or, via email, send a message with subject or body 'help' to
commitlog-requ...@lists.openmoko.org
You can reach the person managing the list at
commitlog-ow...@lists.openmoko.org
When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:
1. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
(g...@git.openmoko.org)
2. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.stable'
(g...@git.openmoko.org)
3. r4882 - developers/werner/ahrt/host/tmc/lib
(wer...@docs.openmoko.org)
--- Begin Message ---
packages/udev/udev-118/openmoko/init | 19 +++++++++++++------
packages/udev/udev-static-devices.bb | 7 +++++++
2 files changed, 20 insertions(+), 6 deletions(-)
New commits:
commit 531440d8d6204ec0ebc3e7abc3c40d9a3b707a2d
Author: Chia-I Wu <olva...@gmail.com>
Date: Fri Dec 26 20:44:30 2008 +0800
udev-static-devices: Untar the tarball in postinst stage.
commit 6f938bffe5b8be88eabc5e60e57f2f5256a98362
Author: Chia-I Wu <olva...@gmail.com>
Date: Fri Dec 26 20:31:37 2008 +0800
udev: skip coldplug only when there are static nodes AND a node tarball.
--- End Message ---
--- Begin Message ---
packages/udev/udev-118/openmoko/init | 19 +++++++++++++------
packages/udev/udev-static-devices.bb | 7 +++++++
2 files changed, 20 insertions(+), 6 deletions(-)
New commits:
commit 3d003f27e3d87f9c13f6138b60700333e27cc9ad
Author: Chia-I Wu <olva...@gmail.com>
Date: Fri Dec 26 20:44:30 2008 +0800
udev-static-devices: Untar the tarball in postinst stage.
commit bcc92f9d86c2b2e94c0fd54b97626b0713009ddc
Author: Chia-I Wu <olva...@gmail.com>
Date: Fri Dec 26 20:31:37 2008 +0800
udev: skip coldplug only when there are static nodes AND a node tarball.
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2009-01-05 08:12:13 +0100 (Mon, 05 Jan 2009)
New Revision: 4882
Modified:
developers/werner/ahrt/host/tmc/lib/decode.py
Log:
Found an old uncommitted change.
- lib/decode.py (d_sdio_cmd): only display the CRC if there's a problem with it
- lib/decode.py (d_usb_dp): separate stream decoder for batch processing
- lib/decode.py (usb_sof): invoke crc5 with correct arguments
Modified: developers/werner/ahrt/host/tmc/lib/decode.py
===================================================================
--- developers/werner/ahrt/host/tmc/lib/decode.py 2008-12-31 13:44:25 UTC
(rev 4881)
+++ developers/werner/ahrt/host/tmc/lib/decode.py 2009-01-05 07:12:13 UTC
(rev 4882)
@@ -214,12 +214,13 @@
if stop:
return s
else:
- s += "CRC%02X" % crc
check = d_crc7_msb(payload)
- if check is None:
- s += "?"
- elif check != crc:
- s += "/%02X" % check
+ if check is None or check == crc:
+ s += "CRC%02X" % crc
+ if check is None:
+ s += "?"
+ elif check != crc:
+ s += "/%02X" % check
del bits[0:7]
if len(bits) == 0:
@@ -383,7 +384,7 @@
return ""
s = "%03X" % frame
- expect = g_crc.crc5(frame, 11) ^ 0x1f
+ expect = g_crc.crc5(0x1f, frame, 11) ^ 0x1f
crc = usb_field(raw, 5)
if crc is None:
@@ -522,12 +523,7 @@
return s
-def d_usb_dp(bits):
- if d_usb_dm not in d_table:
- return d_usb(bits)
-
- dp = bits
- dm = d_table[d_usb_dm]
+def d_usb_stream(dp, dm):
s = ""
packet = []
@@ -554,6 +550,12 @@
return s
+def d_usb_dp(bits):
+ if d_usb_dm in d_table:
+ return d_usb_stream(bits, d_table[d_usb_dm])
+ else:
+ return d_usb(bits)
+
def d_usb_dm(bits):
if d_usb_dp in d_table:
return ""
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog