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. development tree for U-Boot: Changes to 'stable'
([EMAIL PROTECTED])
2. development tree for U-Boot: Changes to 'andy'
([EMAIL PROTECTED])
3. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.asu.dev'
([EMAIL PROTECTED])
4. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.asu.dev'
([EMAIL PROTECTED])
5. development kernel tree: Changes to 'andy' ([EMAIL PROTECTED])
6. r4528 - in trunk/src/target/opkg: libopkg tests
([EMAIL PROTECTED])
7. r4529 - in trunk/src/target/thumbnails: result source
([EMAIL PROTECTED])
--- Begin Message ---
drivers/misc/pcf50606.c | 4 +++-
fs/ext2/ext2fs.c | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
New commits:
commit ba029a1426bfca169572bf80d50a8b190a6b0e19
Author: Mike Montour <[EMAIL PROTECTED]>
Date: Wed Jul 16 07:25:15 2008 +0100
This patch changes rtc_get() to return an int. Without this change
the tree does not compile for gta01bv4.
Signed-off-by: Mike Montour <[EMAIL PROTECTED]>
commit a7c50bf8b24b69be6f35a2ec72fc0f5fd2e68938
Author: Mike Montour <[EMAIL PROTECTED]>
Date: Wed Jul 16 07:18:04 2008 +0100
PATCH-fix-data-abort-from-sd-ombug799.patch.eml
This patch has been in the OE repository for a while, but was not in the
u-boot git repository. It is a workaround that allows u-boot to access
ext2/ext3 filesystems, removing the need for a dedicated FAT partition
to hold the kernel when booting from SD. I have only tested it on GTA01.
Signed-off-by: Mike Montour <[EMAIL PROTECTED]>
--- End Message ---
--- Begin Message ---
drivers/misc/pcf50606.c | 4 +++-
fs/ext2/ext2fs.c | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
New commits:
commit ba029a1426bfca169572bf80d50a8b190a6b0e19
Author: Mike Montour <[EMAIL PROTECTED]>
Date: Wed Jul 16 07:25:15 2008 +0100
This patch changes rtc_get() to return an int. Without this change
the tree does not compile for gta01bv4.
Signed-off-by: Mike Montour <[EMAIL PROTECTED]>
commit a7c50bf8b24b69be6f35a2ec72fc0f5fd2e68938
Author: Mike Montour <[EMAIL PROTECTED]>
Date: Wed Jul 16 07:18:04 2008 +0100
PATCH-fix-data-abort-from-sd-ombug799.patch.eml
This patch has been in the OE repository for a while, but was not in the
u-boot git repository. It is a workaround that allows u-boot to access
ext2/ext3 filesystems, removing the need for a dedicated FAT partition
to hold the kernel when booting from SD. I have only tested it on GTA01.
Signed-off-by: Mike Montour <[EMAIL PROTECTED]>
--- End Message ---
--- Begin Message ---
packages/tasks/task-openmoko-asu-feed.bb | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
New commits:
commit 0e6002b3435c331250ab2c9499f285d704e2e497
Author: Julian_chu <[EMAIL PROTECTED]>
Date: Wed Jul 16 14:49:25 2008 +0800
[openmoko-asu-feed] Remove diversity-nav from asu-feed.
ASU use splinter to replace diversity-nav in ASU.
--- End Message ---
--- Begin Message ---
packages/tasks/task-openmoko-asu-feed.bb | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
New commits:
commit 3b8b493f3664a7f79675fb77df6fd3aef4921f02
Author: Julian_chu <[EMAIL PROTECTED]>
Date: Wed Jul 16 14:50:44 2008 +0800
[openmoko-asu-feed] Bump up PR of asu-feed to force rebuild
--- End Message ---
--- Begin Message ---
Rebased ref, commits from common ancestor:
commit 48726b4cb4c2cd264ecc87beed5ee5600b5f012f
Author: Andy Green <[EMAIL PROTECTED]>
Date: Tue Jul 15 17:21:45 2008 +0100
add-limit-sdcard-clk-cmdline.patch
This patch allows you to control the maximum clock rate that will
be selected for SD Card access, from the kernel commandline using
glamo_mci.sd_max_clk=10000000
and also from
echo 10000000 > /sys/module/glamo_mci/parameters/sd_max_clk
although you have to suspend and resume to make the limit operational
on the actual SD_CLK line.
Clocks that are possible are divided down from ~50MHz, so 25000000,
16666666, 12500000, 10000000, etc. With Freerunner A5 revision that
has 100R series resistors in SD Card signals, I didn't get reliable
operation above 16MHz. With A6 revision the series resistors went
down to 75R, maybe it can work at 25MHz.
Reducing the clock rate is something to try if you find that your
SD Card is not communicating properly with the default speed.
Signed-off-by: Andy Green <[EMAIL PROTECTED]>
--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-07-16 10:37:12 +0200 (Wed, 16 Jul 2008)
New Revision: 4528
Modified:
trunk/src/target/opkg/libopkg/opkg.c
trunk/src/target/opkg/libopkg/opkg.h
trunk/src/target/opkg/tests/libopkg_test.c
Log:
opkg: adding repository check function
Modified: trunk/src/target/opkg/libopkg/opkg.c
===================================================================
--- trunk/src/target/opkg/libopkg/opkg.c 2008-07-15 14:03:32 UTC (rev
4527)
+++ trunk/src/target/opkg/libopkg/opkg.c 2008-07-16 08:37:12 UTC (rev
4528)
@@ -1008,3 +1008,68 @@
return package;
}
+
+#include <curl/curl.h>
+/**
+ * @brief Check the accessibility of repositories. It will try to access the
repository to check if the respository is accessible throught current network
status.
+ * @param opkg The opkg_t
+ * @return return how many repositories cannot access. 0 means all okay.
+ */
+int opkg_repository_accessibility_check(opkg_t *opkg)
+{
+ pkg_src_list_elt_t *iter;
+ str_list_elt_t *iter1;
+ str_list_t *src;
+ int repositories=0;
+ int ret=0;
+ int err;
+ char *repo_ptr;
+ char *stmp;
+ opkg_assert(opkg != NULL);
+
+ src = str_list_alloc();
+
+ for (iter = opkg->conf->pkg_src_list.head; iter; iter = iter->next)
+ {
+ if (strstr(iter->data->value, "://") &&
+ index(strstr(iter->data->value, "://") + 3, '/'))
+ stmp = strndup(iter->data->value,
+ (index(strstr(iter->data->value, "://") + 3, '/') -
iter->data->value)*sizeof(char));
+
+ else
+ stmp = strdup(iter->data->value);
+
+ for (iter1 = src->head; iter1; iter1 = iter1->next)
+ {
+ if (strstr(iter1->data, stmp))
+ break;
+ }
+ if (iter1)
+ continue;
+
+ sprintf_alloc(&repo_ptr, "%s/index.html",stmp);
+ free(stmp);
+
+ str_list_append(src, repo_ptr);
+ repositories++;
+ }
+ while (repositories > 0)
+ {
+ iter1 = str_list_pop(src);
+ repositories--;
+
+ err = opkg_download(opkg->conf, iter1->data, "/dev/null", NULL, NULL);
+ if (!(err == CURLE_OK ||
+ err == CURLE_HTTP_RETURNED_ERROR ||
+ err == CURLE_FILE_COULDNT_READ_FILE ||
+ err == CURLE_REMOTE_FILE_NOT_FOUND ||
+ err == CURLE_TFTP_NOTFOUND
+ )) {
+ ret++;
+ }
+ str_list_elt_deinit(iter1);
+ free(iter1);
+ }
+ free(src);
+ return ret;
+}
Modified: trunk/src/target/opkg/libopkg/opkg.h
===================================================================
--- trunk/src/target/opkg/libopkg/opkg.h 2008-07-15 14:03:32 UTC (rev
4527)
+++ trunk/src/target/opkg/libopkg/opkg.h 2008-07-16 08:37:12 UTC (rev
4528)
@@ -85,5 +85,6 @@
int opkg_list_upgradable_packages (opkg_t *opkg, opkg_package_callback_t
callback, void *user_data);
opkg_package_t* opkg_find_package (opkg_t *opkg, const char *name, const char
*version, const char *architecture, const char *repository);
+int opkg_repository_accessibility_check(opkg_t *opkg);
#endif /* OPKG_H */
Modified: trunk/src/target/opkg/tests/libopkg_test.c
===================================================================
--- trunk/src/target/opkg/tests/libopkg_test.c 2008-07-15 14:03:32 UTC (rev
4527)
+++ trunk/src/target/opkg/tests/libopkg_test.c 2008-07-16 08:37:12 UTC (rev
4528)
@@ -148,6 +148,7 @@
"\tlist all - List all available packages\n"
"\tlist installed - List all the installed packages\n"
"\tremove [package] - Remove the specified package\n"
+ "\trping - Reposiroties ping, check the accessibility of
repositories\n"
"\ttest - Run test script\n"
, basename (argv[0]));
exit (0);
@@ -229,9 +230,17 @@
break;
case 'r':
- err = opkg_remove_package (opkg, argv[2], progress_callback,
"Removing...");
- printf ("\nopkg_remove_package returned %d (%s)\n", err, errors[err]);
- break;
+ if (argv[1][1] == 'e')
+ {
+ err = opkg_remove_package (opkg, argv[2], progress_callback,
"Removing...");
+ printf ("\nopkg_remove_package returned %d (%s)\n", err, errors[err]);
+ break;
+ }else if (argv[1][1] == 'p')
+ {
+ err = opkg_repository_accessibility_check(opkg);
+ printf("\nopkg_repository_accessibility_check returned (%d)\n", err);
+ break;
+ }
default:
printf ("Unknown command \"%s\"\n", argv[1]);
--- End Message ---
--- Begin Message ---
Author: tick
Date: 2008-07-16 11:05:13 +0200 (Wed, 16 Jul 2008)
New Revision: 4529
Added:
trunk/src/target/thumbnails/source/maps_diversity-maps-paris.png
Modified:
trunk/src/target/thumbnails/result/thumbnail.eet
Log:
adding new thumbnail
Modified: trunk/src/target/thumbnails/result/thumbnail.eet
===================================================================
(Binary files differ)
Added: trunk/src/target/thumbnails/source/maps_diversity-maps-paris.png
===================================================================
(Binary files differ)
Property changes on:
trunk/src/target/thumbnails/source/maps_diversity-maps-paris.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog