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. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.asu.dev'
([EMAIL PROTECTED])
2. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.asu.dev'
([EMAIL PROTECTED])
3. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.asu.stable'
([EMAIL PROTECTED])
4. Holger's qtopia repo: Changes to 'master' ([EMAIL PROTECTED])
5. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.asu.dev'
([EMAIL PROTECTED])
6. r4543 - in developers/werner: . poke ([EMAIL PROTECTED])
7. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.asu.dev'
([EMAIL PROTECTED])
8. r4544 - developers/werner/poke ([EMAIL PROTECTED])
9. development kernel tree: Changes to 'stable'
([EMAIL PROTECTED])
10. development kernel tree: Changes to 'andy' ([EMAIL PROTECTED])
--- Begin Message ---
packages/qtopia-phone/qtopia-phone-x11_git.bb | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
New commits:
commit 73517f658ea9ee7c18f8513091a48cedd4163d5b
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 20:37:45 2008 +0200
[qtopia] Put the words.dawg into the main package so it gets installed
This is the main english dictionary. Make sure it is always installed.
This
dictionary will be used by the predictive keyboard.
commit 1f94760aba1a1b442c4350025905a98a63367812
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 19:58:21 2008 +0200
[qtopia] In a debug distro build enable logging
To be able to diagnose issues from our QA team enable logging
by default so that a logread can reveal the state of the at command
queue and the exchanged commands. This also means that your PIN
will end in the log and logread will reveal your PIN and other entries
--- End Message ---
--- Begin Message ---
packages/initscripts/initscripts_1.0.bb | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit e57d6c82dfc6eb3ce81df69bc19be18122d6cfd7
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 20:44:42 2008 +0200
[initscripts] Do not mix tabs and spaces, do not fail if the led-trigger is
not available
- Do not mix tabs and space. For whatever reason the bb file is using
tabs...
- The led-trigger is only present for openmoko, do not fail for other
distros
- Keeping the PR as the content of the package did not change
--- End Message ---
--- Begin Message ---
.../initscripts-1.0/openmoko/led-trigger | 6 ++++++
packages/initscripts/initscripts_1.0.bb | 5 ++++-
packages/qtopia-phone/qtopia-phone-x11_git.bb | 9 +++++++--
3 files changed, 17 insertions(+), 3 deletions(-)
New commits:
commit 0bb249b72eded4ceff2f5221e459862035e04c84
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 20:37:45 2008 +0200
[qtopia] Put the words.dawg into the main package so it gets installed
This is the main english dictionary. Make sure it is always installed.
This
dictionary will be used by the predictive keyboard.
commit 1d6fb4b2c4119eaf1880286187f64d1bbf46e575
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 19:58:21 2008 +0200
[qtopia] In a debug distro build enable logging
To be able to diagnose issues from our QA team enable logging
by default so that a logread can reveal the state of the at command
queue and the exchanged commands. This also means that your PIN
will end in the log and logread will reveal your PIN and other entries
commit 3c653c4fec6a199caf85eb9b6855ccfafbc84f03
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 20:44:42 2008 +0200
[initscripts] Do not mix tabs and spaces, do not fail if the led-trigger is
not available
- Do not mix tabs and space. For whatever reason the bb file is using
tabs...
- The led-trigger is only present for openmoko, do not fail for other
distros
- Keeping the PR as the content of the package did not change
commit c940752b3d823cb8b783b46f8d08b157f397f396
Author: Julian_chu <[EMAIL PROTECTED]>
Date: Sun Jul 20 00:23:56 2008 +0800
[openmoko] Add start up script for trigger AUX led
led-trigger is a script used to trigger led of AUX bottom when charging.
--- End Message ---
--- Begin Message ---
.../phonevendors/ficgta01/vendor_ficgta01.cpp | 41 +++++++++++++++++++-
.../phonevendors/ficgta01/vendor_ficgta01_p.h | 7 +++
2 files changed, 46 insertions(+), 2 deletions(-)
New commits:
commit be7582ca55ee2e1b81cc168ea81c11bc36cc0a43
Author: Holger Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 21:00:04 2008 +0200
[ficgta01] Attempt to detect a dead/crashed/unusable TI Calypso and inform
the user
Under unknown circumstances bug #1192 triggers. The symptoms are the
modem
just saying +CME ERROR: 512. The best thing we can do for now is to
attempt
to detect this error and inform the user.
Due the absence of a fault injection framework this commit is completely
untested and has only been checked if it compiles.
A proper fix which includes a modem reinit is incredible hard with the
Qtopia
code base so we can only hope that the error occurs once every month and
restarting won't be too much of an issue.
It is a bit unusual to open a window/widget in a modemservice but Qtopia
lacks the possibility to escalate this error. The CellModemManager would
have the proper state but there is no way for us to forward it there,
also
the stateChanged slot would likely trigger an assert...
--- End Message ---
--- Begin Message ---
conf/distro/include/sane-srcrevs.inc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit 60fbdd59bfeb4dd84493785ee1dd515cce186420
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 21:15:13 2008 +0200
[srcrev] Upgrade Qtopia to get the CME ERROR: 512 modem dead detection
Get the detection for a unusable Calypso as of #1192
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-07-20 22:07:34 +0200 (Sun, 20 Jul 2008)
New Revision: 4543
Added:
developers/werner/poke/
developers/werner/poke/Makefile
developers/werner/poke/poke.c
Log:
Quick and dirty utility to peek into registers and to tweak them.
Added: developers/werner/poke/Makefile
===================================================================
--- developers/werner/poke/Makefile (rev 0)
+++ developers/werner/poke/Makefile 2008-07-20 20:07:34 UTC (rev 4543)
@@ -0,0 +1,5 @@
+CC=arm-angstrom-linux-gnueabi-gcc
+
+CFLAGS=-Wall -g
+
+all: poke
Added: developers/werner/poke/poke.c
===================================================================
--- developers/werner/poke/poke.c (rev 0)
+++ developers/werner/poke/poke.c 2008-07-20 20:07:34 UTC (rev 4543)
@@ -0,0 +1,75 @@
+/*
+ * poke.c - Read or write any CPU register
+ *
+ * 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 <fcntl.h>
+#include <sys/mman.h>
+
+
+#define PAGE_SIZE 4096
+#define MEM(addr) (*(uint32_t *) (mem+((addr) & (PAGE_SIZE-1))))
+
+static volatile void *mem;
+
+
+/* ----- Command-line parsing ---------------------------------------------- */
+
+
+static void __attribute__((noreturn)) usage(const char *name)
+{
+ fprintf(stderr, "usage: %s hex_address [value]\n", name);
+ exit(1);
+}
+
+
+int main(int argc, char **argv)
+{
+ int fd;
+ char *end;
+ unsigned long addr;
+ uint32_t val;
+
+ fd = open("/dev/mem", O_RDWR);
+ if (fd < 0) {
+ perror("/dev/mem");
+ exit(1);
+ }
+ switch (argc) {
+ case 3:
+ val = strtoul(argv[2], &end, 0);
+ if (*end)
+ usage(*argv);
+ /* fall through */
+ case 2:
+ addr = strtoul(argv[1], &end, 16);
+ if (*end)
+ usage(*argv);
+ break;
+ default:
+ usage(*argv);
+ }
+ mem = mmap(NULL, PAGE_SIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd,
+ addr & ~(PAGE_SIZE-1));
+ if (mem == MAP_FAILED) {
+ perror("mmap");
+ exit(1);
+ }
+ if (argc == 2)
+ printf("0x%08lx\n", (unsigned long) MEM(addr));
+ else
+ MEM(addr) = val;
+ return 0;
+}
--- End Message ---
--- Begin Message ---
packages/efl1/efreet_cvs.bb | 7 +++++--
1 files changed, 5 insertions(+), 2 deletions(-)
New commits:
commit 8ddd5c5d244f670d5e99e5cf7228fd744d2ac8d1
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 22:22:24 2008 +0200
[efl] To avoid future issues also set the LEAD_SONAME
commit 1945408d64aae0d03e3e183679ee61ae3b8e088d
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Sun Jul 20 22:17:09 2008 +0200
[efl] Package efreet-trash separately to keep having a libefreet0
As of https://docs.openmoko.org/trac/ticket/1648 the libefreet0 package
gone missing and the libraries ended up in the efreet package. This was
due a new library coming up in efreet and no LEAD_SONAME defined. Split
out libefreet_trash.
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-07-20 22:34:37 +0200 (Sun, 20 Jul 2008)
New Revision: 4544
Modified:
developers/werner/poke/poke.c
Log:
Added word size selection.
Modified: developers/werner/poke/poke.c
===================================================================
--- developers/werner/poke/poke.c 2008-07-20 20:07:34 UTC (rev 4543)
+++ developers/werner/poke/poke.c 2008-07-20 20:34:37 UTC (rev 4544)
@@ -15,12 +15,13 @@
#include <stdint.h>
#include <stdlib.h>
#include <stdio.h>
+#include <string.h>
#include <fcntl.h>
#include <sys/mman.h>
#define PAGE_SIZE 4096
-#define MEM(addr) (*(uint32_t *) (mem+((addr) & (PAGE_SIZE-1))))
+#define MEM(bits, addr) (*(uint##bits##_t *) (mem+((addr) & (PAGE_SIZE-1))))
static volatile void *mem;
@@ -30,7 +31,7 @@
static void __attribute__((noreturn)) usage(const char *name)
{
- fprintf(stderr, "usage: %s hex_address [value]\n", name);
+ fprintf(stderr, "usage: %s [-8|-16|-32] hex_address [value]\n", name);
exit(1);
}
@@ -41,20 +42,34 @@
char *end;
unsigned long addr;
uint32_t val;
+ int bits = 32;
+ char **args = argv+1;
fd = open("/dev/mem", O_RDWR);
if (fd < 0) {
perror("/dev/mem");
exit(1);
}
+ if (argc > 1 && *argv[1] == '-') {
+ if (!strcmp(argv[1], "-8"))
+ bits = 8;
+ else if (!strcmp(argv[1], "-16"))
+ bits = 16;
+ else if (!strcmp(argv[1], "-32"))
+ bits = 32;
+ else
+ usage(*argv);
+ args++;
+ argc--; /* dirty */
+ }
switch (argc) {
case 3:
- val = strtoul(argv[2], &end, 0);
+ val = strtoul(args[1], &end, 0);
if (*end)
usage(*argv);
/* fall through */
case 2:
- addr = strtoul(argv[1], &end, 16);
+ addr = strtoul(args[0], &end, 16);
if (*end)
usage(*argv);
break;
@@ -67,9 +82,31 @@
perror("mmap");
exit(1);
}
- if (argc == 2)
- printf("0x%08lx\n", (unsigned long) MEM(addr));
- else
- MEM(addr) = val;
+ if (argc == 2) {
+ switch (bits) {
+ case 8:
+ printf("0x%02lx\n", (unsigned long) MEM(8, addr));
+ break;
+ case 16:
+ printf("0x%04lx\n", (unsigned long) MEM(16, addr));
+ break;
+ case 32:
+ printf("0x%08lx\n", (unsigned long) MEM(32, addr));
+ break;
+ }
+ }
+ else {
+ switch (bits) {
+ case 8:
+ MEM(8, addr) = val;
+ break;
+ case 16:
+ MEM(16, addr) = val;
+ break;
+ case 32:
+ MEM(32, addr) = val;
+ break;
+ }
+ }
return 0;
}
--- End Message ---
--- Begin Message ---
arch/arm/plat-s3c24xx/neo1973_pm_gsm.c | 4 +-
drivers/i2c/chips/pcf50633.c | 30 ++++++++--------
drivers/mfd/glamo/glamo-mci.c | 59 ++++++++++++++++++++++++-------
3 files changed, 62 insertions(+), 31 deletions(-)
New commits:
commit 1d04b142ffeaa15129f046751f1366b0f0614f47
Author: Andy Green <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:51:30 2008 +0100
debug-add-glamo-drive-strength-module-param.patch
Suggested-by: Werner Almesberger <[EMAIL PROTECTED]>
This patch allows users to control two additional settings
in Glamo MCI driver from kernel commandline or module
parameters.
First is Glamo drive strength on SD IOs including CLK.
This ranges from 0 (weakest) to 3 (strongest).
echo 0 > /sys/module/glamo_mci/parameters/sd_drive
(Changes to this take effect on next SD Card transaction)
or, from kernel commandline
glamo_mci.sd_drive=0
On tests here with 0 strength, communication to SD card
(shipped 512MB Sandisk) seemed fine, and a dd of 10MB
urandom had the same md5 when written to cache as after
a reboot. I set the default to 2.
Second is whether we allow SD_CLK when the SD interface
is idle.
# stop the clock when we are idle (default)
echo 0 > /sys/module/glamo_mci/parameters/sd_idleclk
# run the SD clock all the time
echo 1 > /sys/module/glamo_mci/parameters/sd_idleclk
(changes take effect on next SD Card transaction)
From kernel commandline, eg:
glamo_mci.sd_idleclk=1
Normally you don't want to run the SD Clock all the time.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
commit 7588286c13ce04de9ce9b9a844033e07d0e71c93
Author: Andy Green <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:51:15 2008 +0100
debug-move-dev-info-to-dbg.patch
Suggested-by: Sean McNeil <[EMAIL PROTECTED]>
To see if some subtle race is involved, Sean has tried
removing syslog traffic during resume and found he was
not seeing the resume crash any more. We're giving it
a try to see if it changes the behaviour for anyone
else. It would mean we have a pretty fine race in there
somewhere.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
--- End Message ---
--- Begin Message ---
Rebased ref, commits from common ancestor:
commit 30e23a0e7b97d01cfd3ebca6689de76c60524004
Author: Andy Green <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:54:24 2008 +0100
fix-reote-install-for-ext3-only-sd.patch
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
commit 3df73a8739c209b3fbf3833d2769d2324d5d8261
Author: Andy Green <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:54:23 2008 +0100
defconfig-nuke-cruft.patch
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
commit 038fb68d9e3321a3cde4bb722f2ef445019280ae
Author: Andy Green <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:54:23 2008 +0100
defconfig-kill-hxd8.patch
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
commit 4054a78feedf25f62bdaeb78e357702e3e8dde5a
Author: Mike Westerhof <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:54:23 2008 +0100
fix-touchscreen-driver-gta01-missing-includes.patch
Add missing initialization for the touchscreen driver for the
gta01 platform.
Signed-off-by: Mike Westerhof <[EMAIL PROTECTED]>
commit 2c3c5e9e8e0f9420e20a21116468b9f8c98da50f
Author: Andy Green <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:54:23 2008 +0100
test-touchscreen-median.patch
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
commit 5bc94ba761f950f61b7301a0303e2a4126c97314
Author: Andy Green <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:54:23 2008 +0100
config-touchscreen-filters.patch
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
commit 1d04b142ffeaa15129f046751f1366b0f0614f47
Author: Andy Green <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:51:30 2008 +0100
debug-add-glamo-drive-strength-module-param.patch
Suggested-by: Werner Almesberger <[EMAIL PROTECTED]>
This patch allows users to control two additional settings
in Glamo MCI driver from kernel commandline or module
parameters.
First is Glamo drive strength on SD IOs including CLK.
This ranges from 0 (weakest) to 3 (strongest).
echo 0 > /sys/module/glamo_mci/parameters/sd_drive
(Changes to this take effect on next SD Card transaction)
or, from kernel commandline
glamo_mci.sd_drive=0
On tests here with 0 strength, communication to SD card
(shipped 512MB Sandisk) seemed fine, and a dd of 10MB
urandom had the same md5 when written to cache as after
a reboot. I set the default to 2.
Second is whether we allow SD_CLK when the SD interface
is idle.
# stop the clock when we are idle (default)
echo 0 > /sys/module/glamo_mci/parameters/sd_idleclk
# run the SD clock all the time
echo 1 > /sys/module/glamo_mci/parameters/sd_idleclk
(changes take effect on next SD Card transaction)
From kernel commandline, eg:
glamo_mci.sd_idleclk=1
Normally you don't want to run the SD Clock all the time.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
commit 7588286c13ce04de9ce9b9a844033e07d0e71c93
Author: Andy Green <[EMAIL PROTECTED]>
Date: Mon Jul 21 00:51:15 2008 +0100
debug-move-dev-info-to-dbg.patch
Suggested-by: Sean McNeil <[EMAIL PROTECTED]>
To see if some subtle race is involved, Sean has tried
removing syslog traffic during resume and found he was
not seeing the resume crash any more. We're giving it
a try to see if it changes the behaviour for anyone
else. It would mean we have a pretty fine race in there
somewhere.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog