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
[EMAIL PROTECTED]
You can reach the person managing the list at
[EMAIL PROTECTED]
When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:
1. Locations: Changes to '0.2' ([EMAIL PROTECTED])
2. Locations: Changes to 'master' ([EMAIL PROTECTED])
3. Locations: Changes to '0.2' ([EMAIL PROTECTED])
4. Locations: Changes to 'master' ([EMAIL PROTECTED])
5. r4650 - in developers/werner/ahrt/host/tmc: demo lib
([EMAIL PROTECTED])
6. r4651 - developers/werner/wlan-spi/vds ([EMAIL PROTECTED])
7. r4652 - developers/werner/wlan-spi ([EMAIL PROTECTED])
8. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
9. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
--- Begin Message ---
dbus/e_dbus_proxy.c | 6 +++---
dbus/e_dbus_proxy.h | 5 ++---
2 files changed, 5 insertions(+), 6 deletions(-)
New commits:
commit 0630b951be6836e34201051285d1907332d64d6c
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 18:14:13 2008 +0800
Revert "E_DBus_Free_Func is not typedef'ed in OE's version (20071206)."
This reverts commit 3be00cc184aa281c8b699c1046408503f215fb3c.
--- End Message ---
--- Begin Message ---
dbus/e_dbus_proxy.c | 6 +-
dbus/e_dbus_proxy.h | 5 +-
src/e_ctrl.c | 8 ++-
src/widgets/e_nav_contact_editor.c | 5 ++
src/widgets/e_nav_list.c | 94 ++++++++++++++++++++++++++++++------
src/widgets/e_nav_list.h | 4 ++
src/widgets/e_nav_tree_model.c | 17 +++++-
7 files changed, 112 insertions(+), 27 deletions(-)
New commits:
commit 4a1ba7f8b87a61cf1404dd1336c05497be6fdfdc
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 18:14:13 2008 +0800
Revert "E_DBus_Free_Func is not typedef'ed in OE's version (20071206)."
This reverts commit 3be00cc184aa281c8b699c1046408503f215fb3c.
commit ce1bfb479a5022dc9f57a72c2166db18a8433fdc
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 14:24:39 2008 +0800
[list] Allow addition of NULL item through special function.
The purpose of the function is to add an seemingly invisible row. It is
not selectable nor clickable.
commit d50fc5f3c51ad2200b1bb7764be8cd6e45b27ab7
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 14:42:57 2008 +0800
[contact] Items in contact list could be NULL.
commit 507ea42035608008c9ad8fd71bdde7a394782085
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 14:42:52 2008 +0800
[ctrl] Items in taglist could be NULL.
commit 30f4c1f867d364ab287bd28bd64daeb8fe52a6ff
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 14:38:22 2008 +0800
[tree-model] Object could be NULL.
--- End Message ---
--- Begin Message ---
dbus/e_dbus_proxy.c | 6 +++---
dbus/e_dbus_proxy.h | 5 ++---
2 files changed, 5 insertions(+), 6 deletions(-)
New commits:
commit 0630b951be6836e34201051285d1907332d64d6c
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 18:14:13 2008 +0800
Revert "E_DBus_Free_Func is not typedef'ed in OE's version (20071206)."
This reverts commit 3be00cc184aa281c8b699c1046408503f215fb3c.
--- End Message ---
--- Begin Message ---
dbus/e_dbus_proxy.c | 6 +-
dbus/e_dbus_proxy.h | 5 +-
src/e_ctrl.c | 8 ++-
src/widgets/e_nav_contact_editor.c | 5 ++
src/widgets/e_nav_list.c | 94 ++++++++++++++++++++++++++++++------
src/widgets/e_nav_list.h | 4 ++
src/widgets/e_nav_tree_model.c | 17 +++++-
7 files changed, 112 insertions(+), 27 deletions(-)
New commits:
commit 4a1ba7f8b87a61cf1404dd1336c05497be6fdfdc
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 18:14:13 2008 +0800
Revert "E_DBus_Free_Func is not typedef'ed in OE's version (20071206)."
This reverts commit 3be00cc184aa281c8b699c1046408503f215fb3c.
commit ce1bfb479a5022dc9f57a72c2166db18a8433fdc
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 14:24:39 2008 +0800
[list] Allow addition of NULL item through special function.
The purpose of the function is to add an seemingly invisible row. It is
not selectable nor clickable.
commit d50fc5f3c51ad2200b1bb7764be8cd6e45b27ab7
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 14:42:57 2008 +0800
[contact] Items in contact list could be NULL.
commit 507ea42035608008c9ad8fd71bdde7a394782085
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 14:42:52 2008 +0800
[ctrl] Items in taglist could be NULL.
commit 30f4c1f867d364ab287bd28bd64daeb8fe52a6ff
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Tue Sep 16 14:38:22 2008 +0800
[tree-model] Object could be NULL.
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-09-16 16:40:57 +0200 (Tue, 16 Sep 2008)
New Revision: 4650
Modified:
developers/werner/ahrt/host/tmc/demo/dxplore.py
developers/werner/ahrt/host/tmc/lib/decode.py
developers/werner/ahrt/host/tmc/lib/dxplore.py
developers/werner/ahrt/host/tmc/lib/wave.py
Log:
Highlights:
- yet more decoding fixes
- measurement of distance from user-defined origin, toggled with [Space]
Details:
- lib/decode.py (decode_address): range check for known FBR indices allowed too
large values
- lib/decode.py (decode_arg): do not cut off the byte/block count in CMD53
reads
- lib/decode.py (decode_arg): merged common processing of CMD52 and CMD53
- lib/wave.py (digital.debounce): do not delete the beginning of the waveform
if the acquisition begins inside a glitch
- lib/dxplore.py (measurement.__init__): follow "s" with a space to keep format
from changing when changing units
- lib/dxplore.py (measurement.hide): prefix is also shown when hidden
- lib/dxplore.py: added prefixes to all measurements
- lib/dxplore.py: added measurement relative to a user-defined origin, toggled
with [Space]
Modified: developers/werner/ahrt/host/tmc/demo/dxplore.py
===================================================================
--- developers/werner/ahrt/host/tmc/demo/dxplore.py 2008-09-16 03:02:47 UTC
(rev 4649)
+++ developers/werner/ahrt/host/tmc/demo/dxplore.py 2008-09-16 14:40:57 UTC
(rev 4650)
@@ -29,6 +29,7 @@
dig = []
for wv in w[1:]:
dig.append(wv.digitize(0.5))
+# dig[-1].debounce(100e-9)
min = dig[0].sample_step()
for d in dig[1:]:
Modified: developers/werner/ahrt/host/tmc/lib/decode.py
===================================================================
--- developers/werner/ahrt/host/tmc/lib/decode.py 2008-09-16 03:02:47 UTC
(rev 4649)
+++ developers/werner/ahrt/host/tmc/lib/decode.py 2008-09-16 14:40:57 UTC
(rev 4650)
@@ -82,7 +82,7 @@
"BSZ", "BSZ", "PWR", "HSp")[addr]
# FBR
- if addr >= 0x100 and addr < 0x800 and (addr & 0xff) < 0x112:
+ if addr >= 0x100 and addr < 0x800 and (addr & 0xff) < 0x12:
return ("F%d" % (addr >> 8))+(
"FIC", "EFC", "Pwr", "RFU",
"RFU", "RFU", "RFU", "RFU",
@@ -94,34 +94,26 @@
def decode_arg(cmd, arg):
- if cmd == 52:
+ if cmd == 52 or cmd == 53:
write = (arg >> 31) & 1
s = ("R", "W")[write]
s += str((arg >> 28) & 7)
- s += (" ", "W")[(arg >> 27) & 1]
addr = (arg >> 9) & 0x1ffff
name = decode_address(addr)
if name is None:
- s += "0x%X" % addr
+ addr = "0x%X" % addr
else:
- s += name+("(0x%X)" % addr)
+ addr = name+("(0x%X)" % addr)
+ if cmd == 52:
+ s += (" ", "W")[(arg >> 27) & 1]
+ s += addr
if not write:
- return s
- return s+",0x%X" % (arg & 0xff)
+ s += ",0x%X" % (arg & 0xff)
+ return s
if cmd == 53:
- write = (arg >> 31) & 1
- s = ("R", "W")[write]
- s += str((arg >> 28) & 7)
s += ("b", "B")[(arg >> 27) & 1]
s += ("=", "+")[(arg >> 26) & 1]
- addr = (arg >> 9) & 0x1ffff
- name = decode_address(addr)
- if name is None:
- s += "0x%X" % addr
- else:
- s += name+("(0x%X)" % addr)
- if not write:
- return s
+ s += addr
return s+"*%d" % (arg & 0x1ff)
return None
Modified: developers/werner/ahrt/host/tmc/lib/dxplore.py
===================================================================
--- developers/werner/ahrt/host/tmc/lib/dxplore.py 2008-09-16 03:02:47 UTC
(rev 4649)
+++ developers/werner/ahrt/host/tmc/lib/dxplore.py 2008-09-16 14:40:57 UTC
(rev 4650)
@@ -145,7 +145,7 @@
def __init__(self, master, t0, dt, prefix = ""):
self.fn = (
( self.show_samples, "Sa" ),
- ( self.show_time, "s" ),
+ ( self.show_time, "s " ),
( self.show_frequency, "Hz" ))
self.t0 = t0
@@ -153,7 +153,7 @@
self.prefix = prefix
self.last_prefix = None
self.var = StringVar()
- self.button = Button(master, textvariable = self.var, width = 12,
+ self.button = Button(master, textvariable = self.var, width = 14,
relief = FLAT, borderwidth = 0, font = self.font,
fg = self.color, bg = self.background_color,
activeforeground = self.color,
@@ -255,7 +255,7 @@
self.last_prefix = self.prefix
def hide(self):
- self.var.set(" "*9+self.fn[self.index][1])
+ self.var.set(self.prefix+" "*9+self.fn[self.index][1])
self.last = None
def remove(self):
@@ -282,6 +282,8 @@
self.main.wz.coords(self.zoom_tag, x, 0, x, self.main.zres)
self.main.wz.tag_raise(self.zoom_tag)
self.main.meas_pos.show(self.pos)
+ if self.main.user_pos is not None:
+ self.main.meas_user.show(self.pos-self.main.user_pos)
def x_to_pos(self, x):
s = self.main.pos0+int(round((x-self.main.x0)/self.main.mag))
@@ -320,6 +322,7 @@
self.wd = self.meas_window(master, t0, sample_step)
self.setup_events(master)
self.decode_from = None
+ self.user_pos = None
self.ch = []
self.cur = cursor(self)
for ch in range(0, channels):
@@ -354,8 +357,9 @@
bg = self.background_color)
w.pack(expand = 1, fill = "x")
- self.meas_start = measurement(w, 0, sample_step)
- self.meas_pos = measurement(w, t0, sample_step)
+ self.meas_start = measurement(w, 0, sample_step, "SEL ")
+ self.meas_pos = measurement(w, t0, sample_step, "CUR ")
+ self.meas_user = measurement(w, 0, sample_step, "USR ")
self.meas_width = measurement(w, 0, sample_step)
def tick_window(self, master):
@@ -387,6 +391,7 @@
master.bind("-", self.zoom_out)
master.bind(".", self.center)
master.bind("c", self.center)
+ master.bind("<space>", self.user_coord)
def decoder_menu(self, master, ch, n):
mb = Menubutton(master, direction = RIGHT, text = decoders[0][0],
@@ -482,6 +487,14 @@
self.cur.pos = self.samples-1
self.center(event)
+ def user_coord(self, event):
+ if self.user_pos is None:
+ self.user_pos = self.cur.pos
+ self.meas_user.show(0)
+ else:
+ self.user_pos = None
+ self.meas_user.hide()
+
def reset(self):
end = (self.samples-self.pos0)*self.mag
# Entire waveform is on screen
Modified: developers/werner/ahrt/host/tmc/lib/wave.py
===================================================================
--- developers/werner/ahrt/host/tmc/lib/wave.py 2008-09-16 03:02:47 UTC (rev
4649)
+++ developers/werner/ahrt/host/tmc/lib/wave.py 2008-09-16 14:40:57 UTC (rev
4650)
@@ -496,8 +496,14 @@
if self.data[i]+t <= self.data[i+1]:
i += 1
else:
- del self.data[i]
- del self.data[i]
+ # If we begin in a glitch, we just remove the second entry,
+ # so that the start of the waveform is preserved.
+ if i == 0:
+ del self.data[1]
+ self.initial = not self.initial
+ else:
+ del self.data[i]
+ del self.data[i]
def __len__(self):
return len(self.data)*2
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-09-16 16:58:40 +0200 (Tue, 16 Sep 2008)
New Revision: 4651
Modified:
developers/werner/wlan-spi/vds/bd.py
developers/werner/wlan-spi/vds/vds.py
Log:
- vds.py: capture (almost) all the SDIO traffic generated when booting
- bd.py: if a session contains no data, e.g., because there was a delay between
setting the trigger and starting the command, don't try to decode the
nothingness
Modified: developers/werner/wlan-spi/vds/bd.py
===================================================================
--- developers/werner/wlan-spi/vds/bd.py 2008-09-16 14:40:57 UTC (rev
4650)
+++ developers/werner/wlan-spi/vds/bd.py 2008-09-16 14:58:40 UTC (rev
4651)
@@ -28,7 +28,15 @@
cmd = mosi.get(edges)
resp = miso.get(edges)
- print name, d_sdio_cmd(cmd, True), d_sdio_r5_spi(resp, True)
+ print name,
+ if len(cmd):
+ print d_sdio_cmd(cmd, True),
+ else:
+ print "---",
+ if len(resp):
+ print d_sdio_r5_spi(resp, True)
+ else:
+ print "---"
for arg in argv[1:]:
Modified: developers/werner/wlan-spi/vds/vds.py
===================================================================
--- developers/werner/wlan-spi/vds/vds.py 2008-09-16 14:40:57 UTC (rev
4650)
+++ developers/werner/wlan-spi/vds/vds.py 2008-09-16 14:58:40 UTC (rev
4651)
@@ -4,6 +4,14 @@
from tmc.trigger import *
import os, time
+#
+# In a typical session, 176-181 command are sent. We set the limit to 175, so
+# that we don't hang in a short session. In case this happens anyway, just
+# restarting the device will fix the problem, as long as the limit is within a
+# session length that occurs reasonably often.
+#
+n = 175
+
s = rigol_ds1000c()
s.hor.pos = 0
@@ -26,12 +34,14 @@
pass
-for i in range(0, 100):
+for i in range(0, n):
# pseudo-randomize the trigger time to that we collect samples from a wider
# range more quickly
- tr = (i*41) % 100
+ tr = (i*41) % n
- for rep in range(0, 3):
+ for rep in range(0, 2):
+ id = "%03d-%d" % (tr, rep)
+
# reset trigger
system("ssh lab neo ./gpio f6=zr")
@@ -49,8 +59,8 @@
time.sleep(1)
# grab the transmission(s) - a bit before the message and a lot after
- w = s.wave([ch, 1, 2, 3, 4, 5, 6], start = -1e-3, end = 1e-3)
- w.save("sdio-"+str(tr)+"-"+str(rep))
+ w = s.wave([ch, 1, 2, 3, 4, 5, 6], start = -0.5e-3, end = 1e-3)
+ w.save("sdio-"+id)
# Give the system time to finish booting
print "Saved", i, tr, rep
@@ -58,4 +68,4 @@
print "AWAKE"
# record the kernel messages as well
- os.system("ssh lab neo dmesg -s 2000000 >dmesg-"+str(tr)+"-"+str(rep))
+ os.system("ssh lab neo dmesg -s 2000000 >dmesg-"+id)
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-09-16 17:20:43 +0200 (Tue, 16 Sep 2008)
New Revision: 4652
Added:
developers/werner/wlan-spi/dhdly
Log:
Tool to determine the timeout that makes WEP key changes work.
Added: developers/werner/wlan-spi/dhdly
===================================================================
--- developers/werner/wlan-spi/dhdly (rev 0)
+++ developers/werner/wlan-spi/dhdly 2008-09-16 15:20:43 UTC (rev 4652)
@@ -0,0 +1,19 @@
+#!/bin/sh
+#
+# dhdly - Search for a timeout after which absence of traffic makes things work
+#
+
+t=60
+inc=10
+tries=10
+
+n=0
+while ! udhcpc -n; do
+ n=`expr $n + 1`
+ echo Sleeping $t seconds "($n)"
+ sleep $t
+ if [ $n -eq $tries ]; then
+ n=0
+ t=`expr $t + $inc`
+ fi
+done
Property changes on: developers/werner/wlan-spi/dhdly
___________________________________________________________________
Name: svn:executable
+ *
--- End Message ---
--- Begin Message ---
...crolled_view_adding_scrolled_view_margins.patch | 144 ++++++++++++++++++++
.../etk_viewport_remove_unnecessary_check.patch | 34 +++++
packages/efl1/etk_svn.bb | 7 +-
3 files changed, 184 insertions(+), 1 deletions(-)
New commits:
commit 4f32d4b4736c9ebc0dc6a46a7a78fb2d240d23a7
Author: I-Fan, Chen <[EMAIL PROTECTED]>
Date: Wed Sep 17 02:37:11 2008 +0800
[etk] adding patch for adding extra margins on scrolled_view
--- End Message ---
--- Begin Message ---
packages/tasks/task-openmoko-toolchain-target.bb | 6 +-----
1 files changed, 1 insertions(+), 5 deletions(-)
New commits:
commit 5d10cedd9b18e23bc1af2f337bb370dc38a8e1e8
Author: Julian_chu <[EMAIL PROTECTED]>
Date: Wed Sep 17 15:25:33 2008 +0800
[openmoko-toolchain-target] Remove some libraries.
New meta toolchain can install libraries via internet.
Remove these libraries to make toolchain smaller.
* libmokogsmd2-dev
* libmokoui2-dev
* libmokopanelui2-dev
* libmokojournal2-dev
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog