Send commitlog mailing list submissions to
        [email protected]

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. r2797 - branches/src/target/kernel trunk/src/target/kernel
      ([EMAIL PROTECTED])
   2. r2798 - branches/src/target/kernel trunk/src/target/kernel
      ([EMAIL PROTECTED])
   3. r2799 - trunk/oe/packages/linux ([EMAIL PROTECTED])
   4. r2800 - trunk/oe/packages/linux ([EMAIL PROTECTED])
   5. r2801 - trunk/src/target/kernel ([EMAIL PROTECTED])
   6. r2802 - in trunk/src/target/kernel: . p
      ([EMAIL PROTECTED])
   7. r2803 - branches/src/target/kernel ([EMAIL PROTECTED])
   8. r2804 - branches/src/target/kernel ([EMAIL PROTECTED])
   9. r2805 - in branches/src/target/kernel: . 2.6.21.x
      ([EMAIL PROTECTED])
  10. r2806 - trunk/src/target/gsm/src/gsmd ([EMAIL PROTECTED])
  11. r2807 - trunk/src/host/dfu-util/src ([EMAIL PROTECTED])
  12. r2808 - trunk/src/host/dfu-util/src ([EMAIL PROTECTED])
  13. r2809 - trunk/src/target/u-boot/patches
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: laforge
Date: 2007-08-23 05:52:26 +0200 (Thu, 23 Aug 2007)
New Revision: 2797

Added:
   branches/src/target/kernel/2.6.21.x/
Removed:
   trunk/src/target/kernel/patches/
Log:
move current kernel patches from trunk to 2.6.21.x branch


Copied: branches/src/target/kernel/2.6.21.x (from rev 2796, 
trunk/src/target/kernel/patches)




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 05:53:39 +0200 (Thu, 23 Aug 2007)
New Revision: 2798

Added:
   trunk/src/target/kernel/patches/
Removed:
   branches/src/target/kernel/2.6.22.x/
Log:
move 2.6.22.x patches into trunk


Copied: trunk/src/target/kernel/patches (from rev 2797, 
branches/src/target/kernel/2.6.22.x)




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 05:57:07 +0200 (Thu, 23 Aug 2007)
New Revision: 2799

Modified:
   trunk/oe/packages/linux/linux-gta01_2.6.21.6.bb
   trunk/oe/packages/linux/linux-gta01_2.6.22.1.bb
Log:
reflect svn path changes between 2.6.21 and 2.6.22 patchset in oe recipe


Modified: trunk/oe/packages/linux/linux-gta01_2.6.21.6.bb
===================================================================
--- trunk/oe/packages/linux/linux-gta01_2.6.21.6.bb     2007-08-23 03:53:39 UTC 
(rev 2798)
+++ trunk/oe/packages/linux/linux-gta01_2.6.21.6.bb     2007-08-23 03:57:07 UTC 
(rev 2799)
@@ -1,6 +1,6 @@
 require linux-gta01.inc
 
-SRC_URI += 
"svn://svn.openmoko.org/trunk/src/target/kernel;module=patches;proto=http"
+SRC_URI += 
"svn://svn.openmoko.org/branches/src/target/kernel/2.6.21.x;module=patches;proto=http"
 SRC_URI += "file://fix-EVIOCGRAB-semantics.patch;patch=1"
 
 MOKOR = "moko11"

Modified: trunk/oe/packages/linux/linux-gta01_2.6.22.1.bb
===================================================================
--- trunk/oe/packages/linux/linux-gta01_2.6.22.1.bb     2007-08-23 03:53:39 UTC 
(rev 2798)
+++ trunk/oe/packages/linux/linux-gta01_2.6.22.1.bb     2007-08-23 03:57:07 UTC 
(rev 2799)
@@ -1,6 +1,6 @@
 require linux-gta01.inc
 
-SRC_URI += 
"svn://svn.openmoko.org/branches/src/target/kernel/2.6.22.x;module=patches;proto=http"
+SRC_URI += 
"svn://svn.openmoko.org/trunk/src/target/kernel;module=patches;proto=http"
 #SRC_URI += "file://fix-EVIOCGRAB-semantics.patch;patch=1"
 
 MOKOR = "moko10"




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 05:58:28 +0200 (Thu, 23 Aug 2007)
New Revision: 2800

Added:
   trunk/oe/packages/linux/linux-gta01_2.6.22.5.bb
Log:
add recipe for 2.6.22.5 kernel


Added: trunk/oe/packages/linux/linux-gta01_2.6.22.5.bb
===================================================================
--- trunk/oe/packages/linux/linux-gta01_2.6.22.5.bb     2007-08-23 03:57:07 UTC 
(rev 2799)
+++ trunk/oe/packages/linux/linux-gta01_2.6.22.5.bb     2007-08-23 03:58:28 UTC 
(rev 2800)
@@ -0,0 +1,10 @@
+require linux-gta01.inc
+
+SRC_URI += 
"svn://svn.openmoko.org/trunk/src/target/kernel;module=patches;proto=http"
+#SRC_URI += "file://fix-EVIOCGRAB-semantics.patch;patch=1"
+
+MOKOR = "moko10"
+PR = "${MOKOR}-r1"
+
+VANILLA_VERSION = "2.6.22.5"
+




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 06:01:25 +0200 (Thu, 23 Aug 2007)
New Revision: 2801

Added:
   trunk/src/target/kernel/p/
Removed:
   trunk/src/target/kernel/patches/
Log:
moving directory to temporary name


Copied: trunk/src/target/kernel/p (from rev 2800, 
trunk/src/target/kernel/patches)




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 06:02:10 +0200 (Thu, 23 Aug 2007)
New Revision: 2802

Added:
   trunk/src/target/kernel/patches/
Removed:
   trunk/src/target/kernel/p/patches/
Log:
move patches directory to the right location in the tree


Copied: trunk/src/target/kernel/patches (from rev 2801, 
trunk/src/target/kernel/p/patches)




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 06:08:10 +0200 (Thu, 23 Aug 2007)
New Revision: 2803

Added:
   branches/src/target/kernel/2.6.21.x-patches/
Removed:
   branches/src/target/kernel/2.6.21.x/
Log:
move directory to temp location


Copied: branches/src/target/kernel/2.6.21.x-patches (from rev 2802, 
branches/src/target/kernel/2.6.21.x)




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 06:08:35 +0200 (Thu, 23 Aug 2007)
New Revision: 2804

Added:
   branches/src/target/kernel/2.6.21.x/
Log:
cretae new 2.6.21.x dir





--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 06:09:01 +0200 (Thu, 23 Aug 2007)
New Revision: 2805

Added:
   branches/src/target/kernel/2.6.21.x/patches/
Removed:
   branches/src/target/kernel/2.6.21.x-patches/
Log:
move 2.6.21 patches to their final location


Copied: branches/src/target/kernel/2.6.21.x/patches (from rev 2804, 
branches/src/target/kernel/2.6.21.x-patches)




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 06:44:29 +0200 (Thu, 23 Aug 2007)
New Revision: 2806

Modified:
   trunk/src/target/gsm/src/gsmd/atcmd.c
   trunk/src/target/gsm/src/gsmd/gsmd.c
Log:
fix mlbuf handling (Phillip Zabel)


Modified: trunk/src/target/gsm/src/gsmd/atcmd.c
===================================================================
--- trunk/src/target/gsm/src/gsmd/atcmd.c       2007-08-23 04:09:01 UTC (rev 
2805)
+++ trunk/src/target/gsm/src/gsmd/atcmd.c       2007-08-23 04:44:29 UTC (rev 
2806)
@@ -370,8 +370,8 @@
        if (g->mlbuf_len)
                g->mlbuf[g->mlbuf_len ++] = '\n';
        DEBUGP("Appending buf to mlbuf\n");
-       if (len > sizeof(g->mlbuf) - g->mlbuf_len)
-               len = sizeof(g->mlbuf) - g->mlbuf_len;
+       if (len > MLPARSE_BUF_SIZE - g->mlbuf_len)
+               len = MLPARSE_BUF_SIZE - g->mlbuf_len;
        memcpy(g->mlbuf + g->mlbuf_len, buf, len);
        g->mlbuf_len += len;
 
@@ -470,7 +470,7 @@
                        if (cr)
                                len = cr - pos->cur;
                        else
-                               len = pos->buflen;
+                               len = pos->buflen - 1;  /* assuming 
zero-terminated strings */
                        rc = write(fd, pos->cur, len);
                        if (rc == 0) {
                                gsmd_log(GSMD_ERROR, "write returns 0, 
aborting\n");
@@ -480,8 +480,8 @@
                                        fd, rc);
                                return rc;
                        }
-                       if (cr && rc == len)
-                               rc ++;  /* Skip the \n */
+                       if (!cr || rc == len)
+                               rc ++;  /* Skip the \n or \0 */
                        pos->buflen -= rc;
                        pos->cur += rc;
                        write(fd, "\r", 1);

Modified: trunk/src/target/gsm/src/gsmd/gsmd.c
===================================================================
--- trunk/src/target/gsm/src/gsmd/gsmd.c        2007-08-23 04:09:01 UTC (rev 
2805)
+++ trunk/src/target/gsm/src/gsmd/gsmd.c        2007-08-23 04:44:29 UTC (rev 
2806)
@@ -301,6 +301,10 @@
 {
        INIT_LLIST_HEAD(&g->users);
 
+       g->mlbuf = talloc_array(gsmd_tallocs, unsigned char, MLPARSE_BUF_SIZE);
+       if (!g->mlbuf)
+               return -ENOMEM;
+
        return 0;
 }
 




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 10:31:55 +0200 (Thu, 23 Aug 2007)
New Revision: 2807

Modified:
   trunk/src/host/dfu-util/src/main.c
Log:
version number printout has not been implemented yet


Modified: trunk/src/host/dfu-util/src/main.c
===================================================================
--- trunk/src/host/dfu-util/src/main.c  2007-08-23 04:44:29 UTC (rev 2806)
+++ trunk/src/host/dfu-util/src/main.c  2007-08-23 08:31:55 UTC (rev 2807)
@@ -373,6 +373,8 @@
                        break;
                case 'V':
                        /* FIXME */
+                       printf("not implemented yet\n");
+                       exit(0);
                        break;
                case 'v':
                        verbose = 1;




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 10:33:25 +0200 (Thu, 23 Aug 2007)
New Revision: 2808

Modified:
   trunk/src/host/dfu-util/src/main.c
Log:
dfu-util --reset (-R) does not take an argument.  Closes 
http://bugzilla.openmoko.org/cgi-bin/bugzilla/show_bug.cgi?id=652


Modified: trunk/src/host/dfu-util/src/main.c
===================================================================
--- trunk/src/host/dfu-util/src/main.c  2007-08-23 08:31:55 UTC (rev 2807)
+++ trunk/src/host/dfu-util/src/main.c  2007-08-23 08:33:25 UTC (rev 2808)
@@ -324,7 +324,7 @@
        { "transfer-size", 1, 0, 't' },
        { "upload", 1, 0, 'U' },
        { "download", 1, 0, 'D' },
-       { "reset", 1, 0, 'R' },
+       { "reset", 0, 0, 'R' },
 };
 
 enum mode {




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-08-23 10:35:55 +0200 (Thu, 23 Aug 2007)
New Revision: 2809

Modified:
   trunk/src/target/u-boot/patches/uboot-dfu.patch
Log:
use correct bNumConfigurations value (1, not 5) 


Modified: trunk/src/target/u-boot/patches/uboot-dfu.patch
===================================================================
--- trunk/src/target/u-boot/patches/uboot-dfu.patch     2007-08-23 08:33:25 UTC 
(rev 2808)
+++ trunk/src/target/u-boot/patches/uboot-dfu.patch     2007-08-23 08:35:55 UTC 
(rev 2809)
@@ -721,7 +721,7 @@
 +              .wTotalLength           = USB_DT_CONFIG_SIZE +
 +                                        DFU_NUM_ALTERNATES * 
USB_DT_INTERFACE_SIZE +
 +                                        USB_DT_DFU_SIZE,
-+              .bNumInterfaces         = 5,
++              .bNumInterfaces         = 1,
 +              .bConfigurationValue    = 1,
 +              .iConfiguration         = DFU_STR_CONFIG,
 +              .bmAttributes           = BMATTRIBUTE_RESERVED,




--- End Message ---
_______________________________________________
commitlog mailing list
[email protected]
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to