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. r1210 - trunk/oe/packages/linux ([EMAIL PROTECTED])
   2. r1211 - trunk/oe/conf/distro ([EMAIL PROTECTED])
   3. r1212 - trunk/src/host/devirginator ([EMAIL PROTECTED])
   4. r1213 - trunk/oe/packages/tslib/tslib-1.0/fic-gta01
      ([EMAIL PROTECTED])
   5. r1214 - trunk/src/host/devirginator ([EMAIL PROTECTED])
   6. r1215 - trunk/src/host/devirginator ([EMAIL PROTECTED])
   7. r1216 -
      trunk/src/target/OM-2007/applications/openmoko-dialer/src
      ([EMAIL PROTECTED])
   8. r1217 - trunk/src/target/kernel/patches
      ([EMAIL PROTECTED])
--- Begin Message ---
Author: laforge
Date: 2007-03-01 21:35:19 +0100 (Thu, 01 Mar 2007)
New Revision: 1210

Modified:
   trunk/oe/packages/linux/linux-gta01_2.6.20.1.bb
   trunk/oe/packages/linux/linux-gta01_2.6.20.bb
Log:
* build uboot-gta01 when building the kernel


Modified: trunk/oe/packages/linux/linux-gta01_2.6.20.1.bb
===================================================================
--- trunk/oe/packages/linux/linux-gta01_2.6.20.1.bb     2007-03-01 20:16:45 UTC 
(rev 1209)
+++ trunk/oe/packages/linux/linux-gta01_2.6.20.1.bb     2007-03-01 20:35:19 UTC 
(rev 1210)
@@ -3,8 +3,7 @@
 AUTHOR = "Harald Welte <[EMAIL PROTECTED]>"
 HOMEPAGE = "N/A"
 LICENSE = "GPL"
-#DEPENDS += "quilt-native uboot-gta01"
-DEPENDS += "quilt-native"
+DEPENDS += "quilt-native uboot-gta01"
 MOKOR = "moko7"
 PR = "${MOKOR}-r1"
 

Modified: trunk/oe/packages/linux/linux-gta01_2.6.20.bb
===================================================================
--- trunk/oe/packages/linux/linux-gta01_2.6.20.bb       2007-03-01 20:16:45 UTC 
(rev 1209)
+++ trunk/oe/packages/linux/linux-gta01_2.6.20.bb       2007-03-01 20:35:19 UTC 
(rev 1210)
@@ -3,8 +3,7 @@
 AUTHOR = "Harald Welte <[EMAIL PROTECTED]>"
 HOMEPAGE = "N/A"
 LICENSE = "GPL"
-#DEPENDS += "quilt-native uboot-gta01"
-DEPENDS += "quilt-native"
+DEPENDS += "quilt-native uboot-gta01"
 MOKOR = "moko7"
 PR = "${MOKOR}-r1"
 




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-03-01 22:03:56 +0100 (Thu, 01 Mar 2007)
New Revision: 1211

Modified:
   trunk/oe/conf/distro/openmoko.conf
Log:
add the prospective feed uri of this snapshot


Modified: trunk/oe/conf/distro/openmoko.conf
===================================================================
--- trunk/oe/conf/distro/openmoko.conf  2007-03-01 20:35:19 UTC (rev 1210)
+++ trunk/oe/conf/distro/openmoko.conf  2007-03-01 21:03:56 UTC (rev 1211)
@@ -30,3 +30,5 @@
 CVS_TARBALL_STASH = "\
                     http://downloads.openmoko.org/sources/ \
                     "
+
+FEED_URIS += "base##http://downloads.openmoko.org/snapshots/20070301/ipk";




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-03-01 22:09:33 +0100 (Thu, 01 Mar 2007)
New Revision: 1212

Modified:
   trunk/src/host/devirginator/environment.in
Log:
add quiet=1 to reduce printout in nand read


Modified: trunk/src/host/devirginator/environment.in
===================================================================
--- trunk/src/host/devirginator/environment.in  2007-03-01 21:03:56 UTC (rev 
1211)
+++ trunk/src/host/devirginator/environment.in  2007-03-01 21:09:33 UTC (rev 
1212)
@@ -16,6 +16,8 @@
 
 bootdelay=1
 
+quiet=1
+
 splashimage=
   nand read.e 0x32000000 splash 0x5000;
   unzip 0x32000000 0x33d00000 0x96000




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-03-01 22:19:04 +0100 (Thu, 01 Mar 2007)
New Revision: 1213

Modified:
   trunk/oe/packages/tslib/tslib-1.0/fic-gta01/tslib.sh
Log:
* use /dev/input/touchscreen0, the symlink created by udev (XorA)


Modified: trunk/oe/packages/tslib/tslib-1.0/fic-gta01/tslib.sh
===================================================================
--- trunk/oe/packages/tslib/tslib-1.0/fic-gta01/tslib.sh        2007-03-01 
21:09:33 UTC (rev 1212)
+++ trunk/oe/packages/tslib/tslib-1.0/fic-gta01/tslib.sh        2007-03-01 
21:19:04 UTC (rev 1213)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-TSLIB_TSDEVICE=/dev/input/event1
+TSLIB_TSDEVICE=/dev/input/touchscreen0
 TSLIB_CONFFILE=/usr/share/tslib/ts-2.6.conf
 
 export TSLIB_TSDEVICE TSLIB_CONFFILE




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2007-03-02 00:33:39 +0100 (Fri, 02 Mar 2007)
New Revision: 1214

Modified:
   trunk/src/host/devirginator/openocdcmd.pl
Log:
Improved child process error detection.



Modified: trunk/src/host/devirginator/openocdcmd.pl
===================================================================
--- trunk/src/host/devirginator/openocdcmd.pl   2007-03-01 21:19:04 UTC (rev 
1213)
+++ trunk/src/host/devirginator/openocdcmd.pl   2007-03-01 23:33:39 UTC (rev 
1214)
@@ -43,7 +43,7 @@
 select $old;
 
 while (defined $ARGV[0]) {
-    print PIPE "$ARGV[0]\n";
+    print PIPE "$ARGV[0]\n" || die "telnet: $!";
     shift @ARGV;
 }
 
@@ -56,4 +56,4 @@
     exit(1);
 }
 
-close PIPE;
+close PIPE || die "telnet: $!";




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2007-03-02 00:49:55 +0100 (Fri, 02 Mar 2007)
New Revision: 1215

Modified:
   trunk/src/host/devirginator/README
Log:
Point out that uou probably have to be root for full USB access. (E.g., reset.)



Modified: trunk/src/host/devirginator/README
===================================================================
--- trunk/src/host/devirginator/README  2007-03-01 23:33:39 UTC (rev 1214)
+++ trunk/src/host/devirginator/README  2007-03-01 23:49:55 UTC (rev 1215)
@@ -14,8 +14,8 @@
 Then
 % make
 This requires Netpbm and transfig. Finally, make sure that openocd runs,
-power the device up and run
-% ./devirginate
+power the device up, become root, and run
+# ./devirginate
 
 
 Prerequisites
@@ -209,13 +209,16 @@
 Stage 2: installs Linux and the root file system.
 Stage 3: To be defined.
 
+Note that you most likely require privileges for some of the USB
+operations "devirginate" performs. Therefore, do all this as "root".
+
 To perform all stages, run
-./devirginate
+# ./devirginate
 from the trunk/src/host/devirginator/ directory.
 
 To run only individual stages, specify the stage numbers, each prefixed
 by "-", e.g.,
-./devirginate -1
+# ./devirginate -1
 
 
 Stage 0




--- End Message ---
--- Begin Message ---
Author: tony_guan
Date: 2007-03-02 04:53:45 +0100 (Fri, 02 Mar 2007)
New Revision: 1216

Modified:
   
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.c
   
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-dialer.c
   
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-outgoing.c
Log:
removed some gtk critical problem.


Modified: 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.c
===================================================================
--- 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.c
    2007-03-01 23:49:55 UTC (rev 1215)
+++ 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-main.c
    2007-03-02 03:53:45 UTC (rev 1216)
@@ -75,22 +75,25 @@
 if(appdata)
 {
 //first, we should remove the "" from the number.
-char temp[20];
+char* temp=NULL;
 int start=0;
-int end=strlen(number);
+int end=strlen(number)-1;
 while(number[start]=='\"'&&start<end)start++;
-if(end>1)while(number[end-1]=='\"'&&start<end)end--;
+if(end>0)while(number[end]=='\"'&&start<end)end--;
 
+g_return_if_fail(start<=end);
+
 DBG_MESSAGE("START=%d,END=%d",start,end);
-g_stpcpy(temp,number+start);
-temp[end-start]=0;
-DBG_MESSAGE("%s",temp);        
+temp=g_strndup(number+start,end-start+1);
 
+g_return_if_fail(temp!=NULL);
 
+DBG_MESSAGE("%s",temp);        
 
 //got the number;
 g_stpcpy(appdata->g_peer_info.number,temp);
 
+g_free(temp);
 //retrieve the contact information if any.
 contact_get_peer_info_from_number(appdata->g_contactlist.contacts , 
&(appdata->g_peer_info));
 // contact_get_peer_info_from_number
@@ -153,7 +156,8 @@
 
      MOKO_DIALER_APP_DATA* appdata=moko_get_app_data();
      gsm_hangup();
-     gtk_widget_hide(appdata->window_talking);
+    if(appdata->window_talking)gtk_widget_hide(appdata->window_talking);
+    if(appdata->window_outgoing)gtk_widget_hide(appdata->window_outgoing);
 
 }
 

Modified: 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-dialer.c
===================================================================
--- 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-dialer.c
   2007-03-01 23:49:55 UTC (rev 1215)
+++ 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-dialer.c
   2007-03-02 03:53:45 UTC (rev 1216)
@@ -102,10 +102,8 @@
   codesinput =
     g_strdup (moko_dialer_textview_get_input
               (appdata->moko_dialer_text_view, FALSE));
-  if (!codesinput)
-    return;
-
-  if (g_utf8_strlen (codesinput, -1) < 1)
+  DBG_TRACE();
+  if ((!codesinput)||((codesinput!=NULL)&&g_utf8_strlen (codesinput, -1) )< 1)
   {
     //user didn't input anything, maybe it's a redial, so we just insert the 
last dialed number and return this time.
     if (g_utf8_strlen (appdata->g_state.lastnumber, -1) > 0)

Modified: 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-outgoing.c
===================================================================
--- 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-outgoing.c
 2007-03-01 23:49:55 UTC (rev 1215)
+++ 
trunk/src/target/OM-2007/applications/openmoko-dialer/src/openmoko-dialer-window-outgoing.c
 2007-03-02 03:53:45 UTC (rev 1216)
@@ -90,6 +90,7 @@
   DBG_ENTER ();
   gsm_hangup ();
   appdata->g_state.callstate = STATE_FAILED;
+  DBG_TRACE();
   gtk_widget_hide (appdata->window_outgoing);
   DBG_LEAVE ();
 }




--- End Message ---
--- Begin Message ---
Author: laforge
Date: 2007-03-02 10:19:41 +0100 (Fri, 02 Mar 2007)
New Revision: 1217

Modified:
   trunk/src/target/kernel/patches/s3c_mci.patch
Log:
* re-add missing Makefile hunk to actually build the driver


Modified: trunk/src/target/kernel/patches/s3c_mci.patch
===================================================================
--- trunk/src/target/kernel/patches/s3c_mci.patch       2007-03-02 03:53:45 UTC 
(rev 1216)
+++ trunk/src/target/kernel/patches/s3c_mci.patch       2007-03-02 09:19:41 UTC 
(rev 1217)
@@ -1,9 +1,9 @@
 This is the latest S3C MMC/SD driver by Thomas Kleffel
 
-Index: linux-2.6.20/drivers/mmc/Kconfig
+Index: linux-2.6.20.1/drivers/mmc/Kconfig
 ===================================================================
---- linux-2.6.20.orig/drivers/mmc/Kconfig      2007-02-15 16:15:19.000000000 
+0100
-+++ linux-2.6.20/drivers/mmc/Kconfig   2007-02-15 16:17:32.000000000 +0100
+--- linux-2.6.20.1.orig/drivers/mmc/Kconfig    2007-02-26 00:46:48.000000000 
+0100
++++ linux-2.6.20.1/drivers/mmc/Kconfig 2007-02-26 00:46:55.000000000 +0100
 @@ -125,4 +125,16 @@
            To compile this driver as a module, choose M here: the
          module will be called tifm_sd.
@@ -21,10 +21,10 @@
 +
 +
  endmenu
-Index: linux-2.6.20/drivers/mmc/mmc_debug.c
+Index: linux-2.6.20.1/drivers/mmc/mmc_debug.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.20/drivers/mmc/mmc_debug.c       2007-02-15 16:17:32.000000000 
+0100
++++ linux-2.6.20.1/drivers/mmc/mmc_debug.c     2007-02-26 00:46:55.000000000 
+0100
 @@ -0,0 +1,59 @@
 +/*
 + *  linux/drivers/mmc/mmc_debug.c
@@ -85,10 +85,10 @@
 +      }
 +}
 +EXPORT_SYMBOL(mmc_err2str);
-Index: linux-2.6.20/drivers/mmc/mmc_debug.h
+Index: linux-2.6.20.1/drivers/mmc/mmc_debug.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.20/drivers/mmc/mmc_debug.h       2007-02-15 16:17:32.000000000 
+0100
++++ linux-2.6.20.1/drivers/mmc/mmc_debug.h     2007-02-26 00:46:55.000000000 
+0100
 @@ -0,0 +1,7 @@
 +#ifndef MMC_DEBUG_H
 +#define MMC_DEBUG_H
@@ -97,10 +97,10 @@
 +char *mmc_err2str(int err);
 +
 +#endif /* MMC_DEBUG_H */
-Index: linux-2.6.20/drivers/mmc/s3cmci.c
+Index: linux-2.6.20.1/drivers/mmc/s3cmci.c
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.20/drivers/mmc/s3cmci.c  2007-02-15 16:22:54.000000000 +0100
++++ linux-2.6.20.1/drivers/mmc/s3cmci.c        2007-03-02 10:17:00.000000000 
+0100
 @@ -0,0 +1,1339 @@
 +/*
 + *  linux/drivers/mmc/s3cmci.h - Samsung S3C MCI driver
@@ -1441,10 +1441,10 @@
 +MODULE_LICENSE("GPL");
 +MODULE_AUTHOR("Thomas Kleffel <[EMAIL PROTECTED]>");
 +
-Index: linux-2.6.20/drivers/mmc/s3cmci.h
+Index: linux-2.6.20.1/drivers/mmc/s3cmci.h
 ===================================================================
 --- /dev/null  1970-01-01 00:00:00.000000000 +0000
-+++ linux-2.6.20/drivers/mmc/s3cmci.h  2007-02-15 16:22:43.000000000 +0100
++++ linux-2.6.20.1/drivers/mmc/s3cmci.h        2007-03-02 10:17:00.000000000 
+0100
 @@ -0,0 +1,71 @@
 +/*
 + *  linux/drivers/mmc/s3cmci.h - Samsung S3C MCI driver
@@ -1517,10 +1517,10 @@
 +      unsigned int            ccnt, dcnt;
 +      struct tasklet_struct   pio_tasklet;
 +};
-Index: linux-2.6.20/include/asm-arm/arch-s3c2410/regs-sdi.h
+Index: linux-2.6.20.1/include/asm-arm/arch-s3c2410/regs-sdi.h
 ===================================================================
---- linux-2.6.20.orig/include/asm-arm/arch-s3c2410/regs-sdi.h  2007-02-15 
16:15:19.000000000 +0100
-+++ linux-2.6.20/include/asm-arm/arch-s3c2410/regs-sdi.h       2007-02-15 
16:17:32.000000000 +0100
+--- linux-2.6.20.1.orig/include/asm-arm/arch-s3c2410/regs-sdi.h        
2007-02-26 00:46:48.000000000 +0100
++++ linux-2.6.20.1/include/asm-arm/arch-s3c2410/regs-sdi.h     2007-02-26 
00:46:55.000000000 +0100
 @@ -28,9 +28,15 @@
  #define S3C2410_SDIDCNT               (0x30)
  #define S3C2410_SDIDSTA               (0x34)
@@ -1588,10 +1588,10 @@
  #define S3C2410_SDIFSTA_RFLAST         (1<<9)
  #define S3C2410_SDIFSTA_RFFULL         (1<<8)
  #define S3C2410_SDIFSTA_RFHALF         (1<<7)
-Index: linux-2.6.20/include/linux/mmc/mmc.h
+Index: linux-2.6.20.1/include/linux/mmc/mmc.h
 ===================================================================
---- linux-2.6.20.orig/include/linux/mmc/mmc.h  2007-02-15 16:15:19.000000000 
+0100
-+++ linux-2.6.20/include/linux/mmc/mmc.h       2007-02-15 16:17:32.000000000 
+0100
+--- linux-2.6.20.1.orig/include/linux/mmc/mmc.h        2007-02-26 
00:46:48.000000000 +0100
++++ linux-2.6.20.1/include/linux/mmc/mmc.h     2007-02-26 00:46:55.000000000 
+0100
 @@ -54,12 +54,15 @@
        unsigned int            retries;        /* max number of retries */
        unsigned int            error;          /* command error */
@@ -1614,3 +1614,20 @@
  
        struct mmc_data         *data;          /* data segment associated with 
cmd */
        struct mmc_request      *mrq;           /* associated request */
+Index: linux-2.6.20.1/drivers/mmc/Makefile
+===================================================================
+--- linux-2.6.20.1.orig/drivers/mmc/Makefile   2007-03-02 10:18:32.000000000 
+0100
++++ linux-2.6.20.1/drivers/mmc/Makefile        2007-03-02 10:18:14.000000000 
+0100
+@@ -24,10 +24,12 @@
+ obj-$(CONFIG_MMC_OMAP)                += omap.o
+ obj-$(CONFIG_MMC_AT91)                += at91_mci.o
+ obj-$(CONFIG_MMC_TIFM_SD)     += tifm_sd.o
++obj-$(CONFIG_MMC_S3C)         += s3cmci.o
+ 
+ mmc_core-y := mmc.o mmc_sysfs.o
+ mmc_core-$(CONFIG_BLOCK) += mmc_queue.o
+ 
+ ifeq ($(CONFIG_MMC_DEBUG),y)
++obj-$(CONFIG_MMC)             += mmc_debug.o
+ EXTRA_CFLAGS += -DDEBUG
+ endif




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

Reply via email to