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. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
   2. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   3. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   4. r4630 - in developers/werner: . dbgrst ([EMAIL PROTECTED])
   5. r4630 - in developers/werner: . dbgrst ([EMAIL PROTECTED])
   6. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'org.openmoko.dev'
      ([EMAIL PROTECTED])
   7. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to 'historic/org.openmoko.asu.dev'
      ([EMAIL PROTECTED])
   8. Openmoko's OpenEmbedded repository. This is used to build the
      Openmoko distribution: Changes to
      'historic/org.openmoko.asu.testing' ([EMAIL PROTECTED])
   9. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
--- Begin Message ---
 src/applications/addressbook/addressbook.cpp |   63 +++++++++++++++++++-------
 src/applications/addressbook/addressbook.h   |    1 +
 2 files changed, 48 insertions(+), 16 deletions(-)

New commits:
commit 1d13b889cbeedb074feffda235e7876f61e6a5e5
Author: Guillaume <[EMAIL PROTECTED]>
Date:   Fri Sep 5 11:20:01 2008 +0800

    [addressbook] Shows a warning if we try to add a contact when an other 
contact has the same name.
      I added a mew method : AddressbookWindow::acceptEntry, that we can modify 
in the future for more condition testing -like
      : adding a contact with the same number than an other-




--- End Message ---
--- Begin Message ---
 packages/dbus/dbus.inc      |   82 +++++++++++++++++++++----------------------
 packages/dbus/dbus_1.2.1.bb |    2 +-
 2 files changed, 41 insertions(+), 43 deletions(-)

New commits:
commit ec2661157dcef2f4f6483693e2d8c446ae0d3c5f
Author: John Lee <[EMAIL PROTECTED]>
Date:   Fri Sep 5 19:49:49 2008 +0800

    dbus: enable x support and put dbus-launch into new package dbus-x11
    
    * Enable x support only add rdepends to dbus-launch.  Make it a
      seperate package so other packages like dbus does not rdepend on
      libx11.
    
    * This solves the problem that if you restart X for multiple times,
      there will be many dbus-daemon left in the system.  That's because
      --exit-with-session in Xsession will not be useful without enabling
      x support.
    
    * Follow debian, change the name from dbus-1 to dbus and
      conflict/replace the original dbus-1.
    
    * oe-stylize dbus.inc




--- End Message ---
--- Begin Message ---
 packages/qtopia-phone/qtopia-phone-x11_git.bb |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

New commits:
commit 5cd05849538ec43c457eed76954f8896b309cf19
Merge: 36a75d074df3095ee9008d092d3efc52b7bc57a8 
ec2661157dcef2f4f6483693e2d8c446ae0d3c5f
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Fri Sep 5 13:10:40 2008 +0100

    Merge branch 'org.openmoko.dev' of git+ssh://[EMAIL 
PROTECTED]/var/cache/git/openmoko into org.openmoko.dev

commit 36a75d074df3095ee9008d092d3efc52b7bc57a8
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date:   Fri Sep 5 13:07:42 2008 +0100

    [qtopia-phone-x11] fix PV to be higher than stable




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-09-05 14:52:35 +0200 (Fri, 05 Sep 2008)
New Revision: 4630

Added:
   developers/werner/dbgrst/
   developers/werner/dbgrst/Makefile
   developers/werner/dbgrst/README
   developers/werner/dbgrst/dbgrst.c
Log:
Small utility to reset a Neo through the debug board without using OpenOCD.



Added: developers/werner/dbgrst/Makefile
===================================================================
--- developers/werner/dbgrst/Makefile                           (rev 0)
+++ developers/werner/dbgrst/Makefile   2008-09-05 12:52:35 UTC (rev 4630)
@@ -0,0 +1,20 @@
+CFLAGS=-Wall -I/usr/local/include
+LDFLAGS=-L/usr/local/lib -lftdi
+
+PREFIX=/usr
+
+.PHONY:                all install uninstall clean spotless
+
+all:           dbgrst
+
+install:
+               install -D dbgrst $(PREFIX)/bin/dbgrst
+
+uninstall:
+               rm -f $(PREFIX)/bin/dbgrst
+
+clean:
+               rm -f dbgrst.o
+
+spotless:      clean
+               rm -f dbgrst

Added: developers/werner/dbgrst/README
===================================================================
--- developers/werner/dbgrst/README                             (rev 0)
+++ developers/werner/dbgrst/README     2008-09-05 12:52:35 UTC (rev 4630)
@@ -0,0 +1,13 @@
+dbgrst - Reset a Neo through the debug board
+============================================
+
+Usage:
+
+dbgrst
+
+  Pull nRESET low to reset the Neo.
+
+dbgrst performs the same function as OpenOCD "reset", except that it
+doesn't try to establish communication over JTAG and can therefore
+also operate when the JTAG interface is in a state that confuses
+OpenOCD.

Added: developers/werner/dbgrst/dbgrst.c
===================================================================
--- developers/werner/dbgrst/dbgrst.c                           (rev 0)
+++ developers/werner/dbgrst/dbgrst.c   2008-09-05 12:52:35 UTC (rev 4630)
@@ -0,0 +1,115 @@
+/*
+ * dbgrst.c - Reset a Neo through the debug board
+ *
+ * Copyright (C) 2008 by OpenMoko, Inc.
+ * Written by Werner Almesberger <[EMAIL PROTECTED]>
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+
+#include <stdint.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+#include <ftdi.h>
+
+
+#define nTRST_ENABLE   0x1     /* ACBUS0/GPIOH0 */
+#define nTRST          0x2     /* ACBUS1/GPIOH1 */
+#define nSRST_ENABLE   0x4     /* ACBUS2/GPIOH2 */
+#define nSRST          0x8     /* ACBUS3/GPIOH3 */
+
+
+static const struct id {
+       uint16_t vendor;
+       uint16_t product;
+} ids[] = {
+       { 0x0403, 0x6010 },     /* FTDI default IDs */
+       { 0x1457, 0x5118 },     /* Neo1973 debug board (FIC) */
+       { 0x1d50, 0x5118 },     /* Neo1973 debug board (OpenMoko) */
+       { 0 }
+};
+
+
+static struct ftdi_context ftdi;
+
+
+static void open_ftdi(void)
+{
+       const struct id *id;
+
+       if (ftdi_init(&ftdi) < 0) {
+               fprintf(stderr, "ftdi_init failed\n");
+               exit(1);
+       }
+       for (id = ids; id->vendor; id++)
+               if (ftdi_usb_open(&ftdi, id->vendor, id->product) >= 0)
+                       break;
+       if (!id->vendor) {
+               fprintf(stderr, "no debug board found\n");
+               exit(1);
+       }
+
+#if 0  /* not needed */
+       fprintf(stderr, "%04x:%04x\n", id->vendor, id->product);
+       ftdi_set_interface(&ftdi, INTERFACE_A);
+       ftdi_usb_reset(&ftdi);
+
+       ftdi_set_latency_timer(&ftdi, 2);
+#endif
+
+       if (ftdi_set_bitmode(&ftdi, 0x0b, BITMODE_MPSSE) < 0) {
+               fprintf(stderr, "ftdi_set_bitmode: %s\n",
+                   ftdi_get_error_string(&ftdi));
+               exit(1);
+       }
+}
+
+
+static void set_high(uint8_t data, uint8_t direction)
+{
+       uint8_t buf[3] = {
+               SET_BITS_HIGH,
+               data,
+               direction,
+       };
+
+       if (ftdi_write_data(&ftdi, buf, 3) < 0) {
+               fprintf(stderr, "ftdi_write_data: %s\n",
+                   ftdi_get_error_string(&ftdi));
+               exit(1);
+       }
+}
+
+
+static void pulse_reset(void)
+{
+       /*
+        * We also have to make sure we don't assert nTRST.
+        */
+       set_high(nTRST | nTRST_ENABLE, 0x0f);
+       set_high(nTRST | nTRST_ENABLE | nSRST | nSRST_ENABLE, 0x0f);
+}
+
+
+static void usage(const char *name)
+{
+       fprintf(stderr, "usage; %s\n", name);
+       exit(1);
+}
+
+
+int main(int argc, char **argv)
+{
+       if (argc != 1)
+               usage(*argv);
+       open_ftdi();
+       pulse_reset();
+       return 0;
+}




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-09-05 14:52:35 +0200 (Fri, 05 Sep 2008)
New Revision: 4630

Added:
   developers/werner/dbgrst/
   developers/werner/dbgrst/Makefile
   developers/werner/dbgrst/README
   developers/werner/dbgrst/dbgrst.c
Log:
Small utility to reset a Neo through the debug board without using OpenOCD.



Added: developers/werner/dbgrst/Makefile
===================================================================
--- developers/werner/dbgrst/Makefile                           (rev 0)
+++ developers/werner/dbgrst/Makefile   2008-09-05 12:52:35 UTC (rev 4630)
@@ -0,0 +1,20 @@
+CFLAGS=-Wall -I/usr/local/include
+LDFLAGS=-L/usr/local/lib -lftdi
+
+PREFIX=/usr
+
+.PHONY:                all install uninstall clean spotless
+
+all:           dbgrst
+
+install:
+               install -D dbgrst $(PREFIX)/bin/dbgrst
+
+uninstall:
+               rm -f $(PREFIX)/bin/dbgrst
+
+clean:
+               rm -f dbgrst.o
+
+spotless:      clean
+               rm -f dbgrst

Added: developers/werner/dbgrst/README
===================================================================
--- developers/werner/dbgrst/README                             (rev 0)
+++ developers/werner/dbgrst/README     2008-09-05 12:52:35 UTC (rev 4630)
@@ -0,0 +1,13 @@
+dbgrst - Reset a Neo through the debug board
+============================================
+
+Usage:
+
+dbgrst
+
+  Pull nRESET low to reset the Neo.
+
+dbgrst performs the same function as OpenOCD "reset", except that it
+doesn't try to establish communication over JTAG and can therefore
+also operate when the JTAG interface is in a state that confuses
+OpenOCD.

Added: developers/werner/dbgrst/dbgrst.c
===================================================================
--- developers/werner/dbgrst/dbgrst.c                           (rev 0)
+++ developers/werner/dbgrst/dbgrst.c   2008-09-05 12:52:35 UTC (rev 4630)
@@ -0,0 +1,115 @@
+/*
+ * dbgrst.c - Reset a Neo through the debug board
+ *
+ * Copyright (C) 2008 by OpenMoko, Inc.
+ * Written by Werner Almesberger <[EMAIL PROTECTED]>
+ * All Rights Reserved
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ */
+
+
+#include <stdint.h>
+#include <stdlib.h>
+#include <stdio.h>
+#include <string.h>
+
+#include <ftdi.h>
+
+
+#define nTRST_ENABLE   0x1     /* ACBUS0/GPIOH0 */
+#define nTRST          0x2     /* ACBUS1/GPIOH1 */
+#define nSRST_ENABLE   0x4     /* ACBUS2/GPIOH2 */
+#define nSRST          0x8     /* ACBUS3/GPIOH3 */
+
+
+static const struct id {
+       uint16_t vendor;
+       uint16_t product;
+} ids[] = {
+       { 0x0403, 0x6010 },     /* FTDI default IDs */
+       { 0x1457, 0x5118 },     /* Neo1973 debug board (FIC) */
+       { 0x1d50, 0x5118 },     /* Neo1973 debug board (OpenMoko) */
+       { 0 }
+};
+
+
+static struct ftdi_context ftdi;
+
+
+static void open_ftdi(void)
+{
+       const struct id *id;
+
+       if (ftdi_init(&ftdi) < 0) {
+               fprintf(stderr, "ftdi_init failed\n");
+               exit(1);
+       }
+       for (id = ids; id->vendor; id++)
+               if (ftdi_usb_open(&ftdi, id->vendor, id->product) >= 0)
+                       break;
+       if (!id->vendor) {
+               fprintf(stderr, "no debug board found\n");
+               exit(1);
+       }
+
+#if 0  /* not needed */
+       fprintf(stderr, "%04x:%04x\n", id->vendor, id->product);
+       ftdi_set_interface(&ftdi, INTERFACE_A);
+       ftdi_usb_reset(&ftdi);
+
+       ftdi_set_latency_timer(&ftdi, 2);
+#endif
+
+       if (ftdi_set_bitmode(&ftdi, 0x0b, BITMODE_MPSSE) < 0) {
+               fprintf(stderr, "ftdi_set_bitmode: %s\n",
+                   ftdi_get_error_string(&ftdi));
+               exit(1);
+       }
+}
+
+
+static void set_high(uint8_t data, uint8_t direction)
+{
+       uint8_t buf[3] = {
+               SET_BITS_HIGH,
+               data,
+               direction,
+       };
+
+       if (ftdi_write_data(&ftdi, buf, 3) < 0) {
+               fprintf(stderr, "ftdi_write_data: %s\n",
+                   ftdi_get_error_string(&ftdi));
+               exit(1);
+       }
+}
+
+
+static void pulse_reset(void)
+{
+       /*
+        * We also have to make sure we don't assert nTRST.
+        */
+       set_high(nTRST | nTRST_ENABLE, 0x0f);
+       set_high(nTRST | nTRST_ENABLE | nSRST | nSRST_ENABLE, 0x0f);
+}
+
+
+static void usage(const char *name)
+{
+       fprintf(stderr, "usage; %s\n", name);
+       exit(1);
+}
+
+
+int main(int argc, char **argv)
+{
+       if (argc != 1)
+               usage(*argv);
+       open_ftdi();
+       pulse_reset();
+       return 0;
+}




--- End Message ---
--- Begin Message ---
 packages/openmoko-projects/om-locations_git.bb |    2 +-
 packages/xorg-app/xterm_207.bb                 |    1 +
 2 files changed, 2 insertions(+), 1 deletions(-)

New commits:
commit 0e164ad85975421c2c808fd61a702156ad702119
Merge: 5cd05849538ec43c457eed76954f8896b309cf19 
d12b80aee8d88d18fac64d75cf23e816f9d96218
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Fri Sep 5 16:03:53 2008 +0200

    Merge commit 'origin/org.openmoko.asu.dev' into org.openmoko.dev
    
    Conflicts:
    
        packages/busybox/busybox_1.9.1.bb
        packages/dropbear/dropbear.inc
        packages/dropbear/dropbear_0.49.bb
        packages/openmoko-projects/om-locations_git.bb
        packages/sysvinit/sysvinit_2.86.bb
        packages/tasks/task-openmoko-asu.bb
        packages/xorg-app/xterm_207.bb
        packages/xserver-kdrive-common/xserver-kdrive-common_0.1.bb
    
    Last merge before killing org.openmoko.asu.dev

commit d12b80aee8d88d18fac64d75cf23e816f9d96218
Author: John Lee <[EMAIL PROTECTED]>
Date:   Tue Sep 2 14:45:35 2008 +0800

    sysvinit: switch openmoko distro to use UTC=yes by default

commit 614175e352c449d038bb0a26d396a813716abcee
Author: John Lee <[EMAIL PROTECTED]>
Date:   Tue Sep 2 14:42:18 2008 +0800

    busybox: update hwclock.sh to honor the UTC setting in /etc/default/rcS

commit 8342d9e21288007c068f9998ca804a62a0f797c0
Author: John Lee <[EMAIL PROTECTED]>
Date:   Wed Sep 3 20:59:30 2008 +0800

    tzdata: add localtime in conffiles
    trac #1938: tzdata package should not overwrite /etc/localtime

commit 1f4838267cfe83121fe1c02c006795cccd961fef
Author: John Lee <[EMAIL PROTECTED]>
Date:   Wed Sep 3 20:47:32 2008 +0800

    xterm: add desktop and png icon
    png stole from enlightenment
    close trac #1885: xterm does not install an icon on the desktop

commit 6a6b33a98de5d44db05a771bc1f5d4df532be216
Author: John Lee <[EMAIL PROTECTED]>
Date:   Wed Sep 3 17:45:31 2008 +0800

    dropbear: improve dropbear security by listening only on usb0 by default
    trac #1853, originated by RuiSeabra

commit 547e88e7bde765995317e4e292c2cc3d832ef0ec
Author: John Lee <[EMAIL PROTECTED]>
Date:   Wed Sep 3 17:56:54 2008 +0800

    xserver-kdrive-common: stop Xserver from listening for TCP by default
    trac #1854: Xserver insecurely listens for TCP
    originated by RuiSeabra

commit 649629d6f7733e49ef74230a8bf5cdc06341a618
Author: John Lee <[EMAIL PROTECTED]>
Date:   Wed Sep 3 18:30:27 2008 +0800

    openmoko-sound-system2: make pulseaudio stops listening for TCP by default
    trac #1855: PulseAudio insecurely listens for TCP
    originated by RuiSeabra

commit 0a0bfd66510e9c2509db29fa884107cbe0f442ec
Author: Julian_chu <[EMAIL PROTECTED]>
Date:   Wed Sep 3 15:22:50 2008 +0800

    [om-locations] Bump up the revision of Om-locations
    to 6fe8e66214b2b3c641e50ed66b93fc92411fa38a
    
    This revsion backported several important bug fixes from master.  Among
    them, these are the most outstanding:
    
    * om-locations-map-pack generates maps with wrong metadata
    * kill the long pause when Locations is started the first time
    * give latitude correct sign
    * make tile path configurable (#1788)
    * save tag at the right place (#1944)

commit eca116006eba398826be6f34a3de1e93bbcf36b6
Author: Julian_chu <[EMAIL PROTECTED]>
Date:   Wed Sep 3 10:37:19 2008 +0800

    [om-locations] Set om-locations to use 0.2 branch of om-locations git.
    and bump up the revision to 5cdea8da38561348d4cca6726098afb61d8299eb

commit dfa1c3d3a7918c42caacb7199b03a7811fb3795d
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date:   Wed Sep 3 13:14:40 2008 +0200

    [task-openmoko-asu] Bump PR after we have made some changes to the content
        Make sure that the new illume bits get installed for people in the
        wild (upgrade path).




--- End Message ---
--- Begin Message ---
New branch 'historic/org.openmoko.asu.dev' available with the following commits:



--- End Message ---
--- Begin Message ---
New branch 'historic/org.openmoko.asu.testing' available with the following 
commits:



--- End Message ---
--- Begin Message ---
 src/applications/addressbook/addressbook.cpp |   13 ++++++-------
 src/applications/addressbook/addressbook.h   |    2 +-
 2 files changed, 7 insertions(+), 8 deletions(-)

New commits:
commit 9f10e31fc4eb0d52c66104befa5bc77105db132d
Author: Holger Freyther <[EMAIL PROTECTED]>
Date:   Fri Sep 5 17:15:35 2008 +0200

    [addressbook] Use QTOPIA_PER_CONTACT_RINGTONE for per contact/group ringtone
        In 4c51f80648b1eaa074922219d7ecb182b5f65b99 Jeremy and me missed the
        ringtone in the addressbook.h this should be fixed now.




--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to