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.dev'
([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. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
5. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
6. r4820 - developers/werner/myroot ([EMAIL PROTECTED])
7. r4821 - developers/werner/wlan-spi/patches-tracking
([EMAIL PROTECTED])
8. r4822 - trunk/src/target/opkg/libopkg ([EMAIL PROTECTED])
9. r4823 - developers/tick/scripts ([EMAIL PROTECTED])
--- Begin Message ---
packages/meta/distro-feed-configs.bb | 6 +++++-
1 files changed, 5 insertions(+), 1 deletions(-)
New commits:
commit 70b9fdd0f86a3792d018aecccb8c7b3ffa7cb9be
Author: John Lee <[EMAIL PROTECTED]>
Date: Mon Nov 24 20:36:52 2008 +0800
distro-feed-configs.bb: fix upgrade path from Om2008.9
... by replacing the obsolete openmoko-feed-configs.
--- End Message ---
--- Begin Message ---
packages/initscripts/initscripts-openmoko_1.0.bb | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
New commits:
commit ba210b227e4059edae31057c39e92ff59417a97a
Author: John Lee <[EMAIL PROTECTED]>
Date: Mon Nov 24 20:55:28 2008 +0800
initscripts-openmoko_1.0.bb: change to RPROVIDES_${PN}
We only need initscripts-openmoko to replace initscripts, not
initscripts-openmoko-dbg and -dev.
--- End Message ---
--- Begin Message ---
packages/alsa/alsa-state.bb | 14 +++++++++++++-
packages/opkg/opkg_svn.bb | 14 +++++++-------
packages/tasks/task-base.bb | 2 +-
.../xserver-kdrive-common/xserver-nodm-init.bb | 10 +++++++++-
4 files changed, 30 insertions(+), 10 deletions(-)
New commits:
commit d212874f5ceba02359687feb0cfc9d75f026f008
Author: John Lee <[EMAIL PROTECTED]>
Date: Tue Nov 25 01:26:06 2008 +0800
opkg_svn.bb: use the new configure script during upgrade
commit 7509076dda8492656e6e129b6eda22447bd5cce9
Author: John Lee <[EMAIL PROTECTED]>
Date: Tue Nov 25 01:25:24 2008 +0800
xserver-nodm-init.bb: really update INITSCRIPT_PARAMS during upgrade.
commit b9936e7cec30f47d4d1b83c923e9643eceefc93c
Author: John Lee <[EMAIL PROTECTED]>
Date: Tue Nov 25 01:23:23 2008 +0800
alsa-state.bb: really update INITSCRIPT_PARAMS during upgrade.
commit e6a0ac0f4f1c9358d704e1bb09b53cebedab8cf2
Author: John Lee <[EMAIL PROTECTED]>
Date: Tue Nov 25 01:13:05 2008 +0800
task-base.bb: pump for DISTRO_FEATURES
Since DISTRO_FEATURES changed in
51d282c5efe05c008ed9cf010216ad769ff7f65b , we need to pump
task-base to get a rebuild.
--- End Message ---
--- Begin Message ---
packages/alsa/alsa-state.bb | 10 +++++-----
.../xserver-kdrive-common/xserver-nodm-init.bb | 4 ++--
2 files changed, 7 insertions(+), 7 deletions(-)
New commits:
commit 3f6d1d8dd79c82aa5675bc2fa0589dea8dfa1f22
Author: John Lee <[EMAIL PROTECTED]>
Date: Tue Nov 25 03:52:09 2008 +0800
alsa-state.bb: fix wrong usage of update-rc.d.bbclass
Should use override ${PN} first
commit 41285305ffd55b63907e7e17d3f879ba77979fa5
Author: John Lee <[EMAIL PROTECTED]>
Date: Tue Nov 25 03:52:09 2008 +0800
xserver-nodm-init.bb: fix wrong usage of update-rc.d.bbclass
Should use override ${PN} first
--- End Message ---
--- Begin Message ---
packages/alsa/alsa-lib_1.0.15.bb | 2 +-
packages/ttf-fonts/ttf-dejavu_2.23.bb | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit 2c67a359d9e2abca6d964e6d0fff5e8d6168b24d
Author: John Lee <[EMAIL PROTECTED]>
Date: Tue Nov 25 04:48:24 2008 +0800
ttf-dejavu_2.23.bb: fix PR, should be "r2" instead of "2"
commit ae6d54de2c590bf752e903c3e1c0519aa9607a25
Author: John Lee <[EMAIL PROTECTED]>
Date: Tue Nov 25 04:47:35 2008 +0800
ttf-dejavu_2.23.bb: fix PR, should be "r1" instead of "1"
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-11-24 23:39:34 +0100 (Mon, 24 Nov 2008)
New Revision: 4820
Modified:
developers/werner/myroot/werner.myroot
Log:
- werner.myroot: use task-proper-tools
- werner.myroot: netkit-telnet and wmiconfig have arrived in the feed
Modified: developers/werner/myroot/werner.myroot
===================================================================
--- developers/werner/myroot/werner.myroot 2008-11-24 13:08:20 UTC (rev
4819)
+++ developers/werner/myroot/werner.myroot 2008-11-24 22:39:34 UTC (rev
4820)
@@ -19,15 +19,21 @@
# ----- basic setup -----------------------------------------------------------
-pkg udev procps module-init-tools
-pkg coreutils grep sed gawk util-linux bash findutils debianutils psmisc
+pkg udev procps
+pkg task-proper-tools
+
+# OE.net's talk-proper-tools already has the following packages in
+# task-proper-tools, but OM.org hasn't caught up with it yet
+pkg net-tools iproute2 iputils-ping psmisc debianutils tcptraceroute
+
+pkg grep bash debianutils
pkg mtd-utils sysfsutils apm
-pkg net-tools iproute2 iputils-ping openssh ntpdate
+pkg openssh ntpdate netkit-telnet
pkg dhcp-client wireless-tools wpa-supplicant
pkg portmap ppp rsync
pkg alsa-state alsa-utils-alsamixer alsa-utils-alsactl alsa-utils-aplay
-pkg vim diffutils patch file
-pkg opkg gzip tar
+pkg file
+pkg opkg gzip
pkg perl python make
pkg xserver-kdrive-glamo xset xhost xdpyinfo
@@ -63,8 +69,7 @@
# ----- network testing -------------------------------------------------------
-pkg tcpdump
-pkg tcptraceroute
+pkg tcpdump wmiconfig
make -C $my/ttcp clean all
cp $my/ttcp/ttcp-1.12/ttcp usr/bin
@@ -74,10 +79,7 @@
cp $my/bin/wlanscan usr/bin
-make -C $wmiconfig
-cp $wmiconfig/wmiconfig usr/bin
-
# ----- for u-boot ------------------------------------------------------------
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-11-25 02:43:05 +0100 (Tue, 25 Nov 2008)
New Revision: 4821
Added:
developers/werner/wlan-spi/patches-tracking/experiment-s3cmci-suspend-softly.patch
Log:
*** WORK IN PROGRESS. DOESN'T DO ANYTHING USEFUL YET. ***
Try to restore S3C MCI state such that Atheros module can be kept up
and running during suspend.
Added:
developers/werner/wlan-spi/patches-tracking/experiment-s3cmci-suspend-softly.patch
===================================================================
---
developers/werner/wlan-spi/patches-tracking/experiment-s3cmci-suspend-softly.patch
(rev 0)
+++
developers/werner/wlan-spi/patches-tracking/experiment-s3cmci-suspend-softly.patch
2008-11-25 01:43:05 UTC (rev 4821)
@@ -0,0 +1,113 @@
+Index: ktrack/drivers/mmc/core/core.c
+===================================================================
+--- ktrack.orig/drivers/mmc/core/core.c 2008-11-24 22:52:14.000000000
-0200
++++ ktrack/drivers/mmc/core/core.c 2008-11-24 22:53:53.000000000 -0200
+@@ -57,11 +57,13 @@
+ /*
+ * Internal function. Flush all scheduled work from the MMC work queue.
+ */
+-static void mmc_flush_scheduled_work(void)
++void mmc_flush_scheduled_work(void)
+ {
+ flush_workqueue(workqueue);
+ }
+
++EXPORT_SYMBOL_GPL(mmc_flush_scheduled_work);
++
+ /**
+ * mmc_request_done - finish processing an MMC request
+ * @host: MMC host which completed request
+Index: ktrack/drivers/mmc/host/s3cmci.c
+===================================================================
+--- ktrack.orig/drivers/mmc/host/s3cmci.c 2008-11-24 22:26:54.000000000
-0200
++++ ktrack/drivers/mmc/host/s3cmci.c 2008-11-24 23:40:18.000000000 -0200
+@@ -1518,18 +1518,61 @@
+
+ #ifdef CONFIG_PM
+
++
++void mmc_flush_scheduled_work(void);
++
++
++static int save_regs(struct mmc_host *mmc)
++{
++ struct s3cmci_host *host = mmc_priv(mmc);
++ unsigned from;
++ u32 *to = host->saved;
++
++ mmc_flush_scheduled_work();
++ for (from = S3C2410_SDICON; from != S3C2410_SDIIMSK+4; from += 4)
++ if (from != host->sdidata)
++ *to++ = readl(host->base + from);
++ BUG_ON(to-host->saved != ARRAY_SIZE(host->saved));
++ return 0;
++}
++
++/*
++ * @@@ This is what s3c24xx_hcd.c does, but I don't trust it one bit ...
++ */
++
++static int restore_regs(struct mmc_host *mmc)
++{
++ struct s3cmci_host *host = mmc_priv(mmc);
++ unsigned to;
++ u32 *from = host->saved;
++
++ for (to = S3C2410_SDICON; to != S3C2410_SDIIMSK+4; to += 4)
++ if (to != host->sdidata)
++ *from++ = readl(host->base + to);
++ BUG_ON(from-host->saved != ARRAY_SIZE(host->saved));
++ return 0;
++}
++
+ static int s3cmci_suspend(struct platform_device *dev, pm_message_t state)
+ {
+ struct mmc_host *mmc = platform_get_drvdata(dev);
+
++#if 1
++ return save_regs(mmc);
++#else
+ return mmc_suspend_host(mmc, state);
++#endif
+ }
+
+ static int s3cmci_resume(struct platform_device *dev)
+ {
+ struct mmc_host *mmc = platform_get_drvdata(dev);
+
++#if 1
++ return restore_regs(mmc);
++#else
+ return mmc_resume_host(mmc);
++#endif
+ }
+
+ #else /* CONFIG_PM */
+Index: ktrack/drivers/mmc/host/s3cmci.h
+===================================================================
+--- ktrack.orig/drivers/mmc/host/s3cmci.h 2008-11-24 22:41:54.000000000
-0200
++++ ktrack/drivers/mmc/host/s3cmci.h 2008-11-24 23:37:06.000000000 -0200
+@@ -8,6 +8,9 @@
+ * published by the Free Software Foundation.
+ */
+
++
++#include <mach/regs-sdi.h>
++
+ /* FIXME: DMA Resource management ?! */
+ #define S3CMCI_DMA 0
+
+@@ -68,6 +71,13 @@
+ unsigned int ccnt, dcnt;
+ struct tasklet_struct pio_tasklet;
+
++ /*
++ * Here's where we save the registers during suspend. Note that we skip
++ * SDIDATA, which is at different positions on 2410 and 2440, so
++ *there's no "+1" in the array size.
++ */
++ u32 saved[(S3C2410_SDIIMSK-S3C2410_SDICON)/4];
++
+ #ifdef CONFIG_CPU_FREQ
+ struct notifier_block freq_transition;
+ #endif
--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-11-25 06:51:30 +0100 (Tue, 25 Nov 2008)
New Revision: 4822
Modified:
trunk/src/target/opkg/libopkg/opkg_download.c
Log:
opkg: only cache the packages
thanks Werner.
Modified: trunk/src/target/opkg/libopkg/opkg_download.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg_download.c 2008-11-25 01:43:05 UTC
(rev 4821)
+++ trunk/src/target/opkg/libopkg/opkg_download.c 2008-11-25 05:51:30 UTC
(rev 4822)
@@ -33,7 +33,7 @@
#include "str_util.h"
#include "opkg_defines.h"
-static int do_download(opkg_conf_t *conf, const char *src,
+int opkg_download(opkg_conf_t *conf, const char *src,
const char *dest_file_name, curl_progress_func cb, void *data)
{
int err = 0;
@@ -136,7 +136,7 @@
return 0;
}
-int opkg_download(opkg_conf_t *conf, const char *src,
+static int opkg_download_cache(opkg_conf_t *conf, const char *src,
const char *dest_file_name, curl_progress_func cb, void *data)
{
char *cache_name = strdup(src);
@@ -144,7 +144,7 @@
int err = 0;
if (!conf->cache || str_starts_with(src, "file:")) {
- err = do_download(conf, src, dest_file_name, cb, data);
+ err = opkg_download(conf, src, dest_file_name, cb, data);
goto out1;
}
@@ -156,7 +156,7 @@
if (file_exists(cache_location))
opkg_message(conf, OPKG_NOTICE, "Copying %s\n", cache_location);
else {
- err = do_download(conf, src, cache_location, cb, data);
+ err = opkg_download(conf, src, cache_location, cb, data);
if (err) {
(void) unlink(cache_location);
goto out2;
@@ -203,7 +203,7 @@
sprintf_alloc(&pkg->local_filename, "%s/%s", dir, stripped_filename);
- err = opkg_download(conf, url, pkg->local_filename, NULL, NULL);
+ err = opkg_download_cache(conf, url, pkg->local_filename, NULL, NULL);
free(url);
opkg_set_current_state (conf, OPKG_STATE_NONE, NULL);
--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-11-25 09:22:32 +0100 (Tue, 25 Nov 2008)
New Revision: 4823
Modified:
developers/tick/scripts/sshn
Log:
A lazier script that help user to ssh in Neo
Modified: developers/tick/scripts/sshn
===================================================================
--- developers/tick/scripts/sshn 2008-11-25 05:51:30 UTC (rev 4822)
+++ developers/tick/scripts/sshn 2008-11-25 08:22:32 UTC (rev 4823)
@@ -6,9 +6,17 @@
"inet6" {spawn sudo ifconfig usb0 192.168.0.200;interact}
}
-spawn ssh -o stricthostkeychecking=no [EMAIL PROTECTED]
-expect {
- "Are you sure you want to continue connecting*"
- {send "yes\r";exp_continue}
- "[EMAIL PROTECTED]'s password:*" {send "\r\n";interact}
+
+while 1 {
+ spawn ssh -o stricthostkeychecking=no [EMAIL PROTECTED]
+ expect {
+ "Are you sure you want to continue connecting*"
+ {send "yes\r";exp_continue}
+ "[EMAIL PROTECTED]'s password:*" {send "\r\n";interact; exit}
+ -regexp
{Offending[[:space:]]+key[[:space:]]+in[[:space:]]+/home/([[:alpha:]]+)/\.ssh/known_hosts:([[:digit:]]+)}
{
+ set whoami "$expect_out(1,string)"
+ set delline "$expect_out(2,string)"
+ exec sed -i ${delline}d /home/${whoami}/.ssh/known_hosts
+ }
+ }
}
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog