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. r4634 - trunk/feeds/community-repository ([EMAIL PROTECTED])
2. Locations: Changes to 'master' ([EMAIL PROTECTED])
3. r4635 - in developers/werner/ahrt/host/tmc: demo lib
([EMAIL PROTECTED])
4. Locations: Changes to '0.2' ([EMAIL PROTECTED])
5. r4636 - developers/werner/wlan-spi/patches
([EMAIL PROTECTED])
6. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
7. Openmoko's OpenEmbedded repository. This is used to build the
Openmoko distribution: Changes to 'org.openmoko.dev'
([EMAIL PROTECTED])
8. r4637 - developers/werner/dbgrst ([EMAIL PROTECTED])
--- Begin Message ---
Author: tick
Date: 2008-09-08 12:01:43 +0200 (Mon, 08 Sep 2008)
New Revision: 4634
Modified:
trunk/feeds/community-repository/file-index.txt
Log:
adding omview to community repository
Modified: trunk/feeds/community-repository/file-index.txt
===================================================================
--- trunk/feeds/community-repository/file-index.txt 2008-09-08 05:11:00 UTC
(rev 4633)
+++ trunk/feeds/community-repository/file-index.txt 2008-09-08 10:01:43 UTC
(rev 4634)
@@ -3,3 +3,4 @@
/var/lib/gforge/download/diversity/community-repository/diversity-wifisvn509/diversity-wifi-svn509.ipk
104804 8d8816013cbae7ebd8a28a57d6d38561
/var/lib/gforge/download/moko-sudoku/community-repository/moko-sudoku_0.21/moko-sudoku_0.21_armv4t.ipk
21358 ae7687683b21f66211fc08c77bf00625
/var/lib/gforge/download/orrery/community-repository/orreryversion1.1/orrery_1.1_arm_2008.8.ipk
398220 6bdea3f3ed8b833a3d77bdfab4eb61db
+/var/lib/gforge/download/omview/community-repository/revision15/omview_r15_armv4t.ipk
142132 bd850bdfb45a5c25622edf9d006b7c64
--- End Message ---
--- Begin Message ---
dbus/e_dbus_proxy.c | 6 +---
src/e_ctrl.c | 13 +++++++++-
src/e_ctrl.h | 2 +
src/e_mod_config.c | 1 +
src/e_mod_main.c | 1 +
src/e_mod_nav.c | 54 ++++++++++++++++++++++++++++++++-----------
src/e_nav_dbus.c | 3 +-
src/e_nav_dbus.h | 1 -
src/e_nav_item_location.c | 6 +++++
src/e_nav_tileset.c | 6 ++++-
src/widgets/e_nav_alert.c | 2 +
src/widgets/e_nav_dialog.c | 2 +
12 files changed, 75 insertions(+), 22 deletions(-)
New commits:
commit 230ef4d0619ddfc873d4013216ac6e1c5492d9f6
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 18:06:30 2008 +0800
Added static xxx_sms to e_nav_item_location.c.
commit b1dac8221d89e501df774bb0bc3487a12bc46c4d
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 18:05:04 2008 +0800
Hide diversity_object_new_with_type.
It is exported in d384d1a5f12c56c9ab45a7cbb765dde42cc3b5b0. Not
needed actually.
commit 75ca9c4be240d378c524e3b8fbc9689ee50096f2
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 17:48:26 2008 +0800
Free smart data of alert and dialog on deletion.
commit 41d858f76c415155871010501cfa57122231a7e4
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 17:31:32 2008 +0800
Delete ctrl on shutdown.
It is possible since 38e1866b600e93e711dca21844afda99267ba443.
commit 294757da17af6ad61933ba683e33f5636d248e89
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 17:27:49 2008 +0800
listview in e_ctrl is not deleted.
commit 3044f7ef8f6b0630225e6bf076318db748416456
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 17:25:28 2008 +0800
Shutdown etk.
commit f45c5dd9497742fe7be7bdce36b6fdccdba149da
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 17:24:07 2008 +0800
Destroy config keys.
commit b256a676e84d779f1be205372770c18c8da3c28c
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 17:22:13 2008 +0800
nwi is weak referenced in e_nav.
Let e_nav do the work since e_nav_world_item_delete introduces leaks.
commit 20e797a095292570f042817d216aace967c40b0a
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 18:09:46 2008 +0800
Remove objects in object store on shutdown.
commit e066699cc4f00efa5e94c54a6cb993cfc92c505b
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 18:09:37 2008 +0800
Free path in diversity_world_get_self.
commit 576e2b8d03fc9ef8c62769dea4aea45f77e28a39
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 16:30:31 2008 +0800
Manually call free_key_cb when some key is removed.
commit b48bbb369206090639d130b1defbb4d33b55f14c
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 16:29:52 2008 +0800
ecore_hash_remove does not call free_value_cb.
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-09-08 12:22:54 +0200 (Mon, 08 Sep 2008)
New Revision: 4635
Added:
developers/werner/ahrt/host/tmc/demo/rigoldump.py
Modified:
developers/werner/ahrt/host/tmc/demo/screen.py
developers/werner/ahrt/host/tmc/lib/scope.py
Log:
Cleanup to make downloads work.
- demo/screen.py: don't import popen2
- lib/scope.py (rigol_ds1000c.wave): fixed various silly bugs preventing it
from running at all
- demo/rigoldump.py: example for a full dump of all channels
Added: developers/werner/ahrt/host/tmc/demo/rigoldump.py
===================================================================
--- developers/werner/ahrt/host/tmc/demo/rigoldump.py
(rev 0)
+++ developers/werner/ahrt/host/tmc/demo/rigoldump.py 2008-09-08 10:22:54 UTC
(rev 4635)
@@ -0,0 +1,25 @@
+#!/usr/bin/python
+#
+# rigoldump.py - Extract all captured data from a Rigol DS1000 and write it to
+# a file
+#
+
+import tmc.scope
+from sys import argv
+
+
+# Open the Rigol DS1000
+
+s = tmc.scope.rigol_ds1000c()
+
+# Retrieve all waves (assuming a DS1000CD with digital channels)
+# Note that this retrieves all samples and can therefore take a while.
+# The use of the "step" argument is recommended.
+
+analog = [s.ch[0], s.ch[1]]
+digital = map(lambda i: s.d[i], range(0, 16))
+w = s.wave(analog+digital)
+
+# Save the waves in the specified file, one sample per line
+
+w.save(argv[1])
Property changes on: developers/werner/ahrt/host/tmc/demo/rigoldump.py
___________________________________________________________________
Name: svn:executable
+ *
Modified: developers/werner/ahrt/host/tmc/demo/screen.py
===================================================================
--- developers/werner/ahrt/host/tmc/demo/screen.py 2008-09-08 10:01:43 UTC
(rev 4634)
+++ developers/werner/ahrt/host/tmc/demo/screen.py 2008-09-08 10:22:54 UTC
(rev 4635)
@@ -5,7 +5,6 @@
#
import tmc.scope
-from popen2 import popen2
from os import popen
from sys import argv
Modified: developers/werner/ahrt/host/tmc/lib/scope.py
===================================================================
--- developers/werner/ahrt/host/tmc/lib/scope.py 2008-09-08 10:01:43 UTC
(rev 4634)
+++ developers/werner/ahrt/host/tmc/lib/scope.py 2008-09-08 10:22:54 UTC
(rev 4635)
@@ -29,7 +29,7 @@
import time
from tmc.instrument import settings, setting, settable, instrument
-from tmc.wave import analog, digital
+from tmc.wave import analog, digital, waves
from tmc.trigger import trigger
@@ -352,13 +352,13 @@
return rigol_to_ppm(self.query(":LCD:DATA?"))
def wave(self, channels, start = None, end = None, step = None):
- if not isinstance(channels, array):
+ if not isinstance(channels, list):
return self.download([channels], start, end, step)[0]
la = None
- res = []
+ res = waves()
for ch in channels:
if isinstance(ch, channel):
- res.append(download_wave, start, end, step)
+ res.append(self.download_wave(ch, start, end, step))
else:
if la is None:
la = self.download_la(start, end, step)
--- End Message ---
--- Begin Message ---
dbus/e_dbus_proxy.c | 6 +--
src/e_mod_config.c | 1 +
src/e_mod_main.c | 1 +
src/e_nav_dbus.c | 76 +++++++++++++++++++++++----------------------
src/e_nav_dbus.h | 4 ++-
src/e_nav_item_location.c | 1 +
src/e_nav_item_neo_me.c | 10 ++++--
7 files changed, 54 insertions(+), 45 deletions(-)
New commits:
commit 490b476dbc54bdf8d30ef65c85f7b7c7d7c5ca9f
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 17:25:28 2008 +0800
Shutdown etk.
commit 25a9e9f5cabb689977a1ff1f383f10d967210ffb
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 17:24:07 2008 +0800
Destroy config keys.
commit c4c0353405114a2cd14bf92772d23f0754518559
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 18:09:37 2008 +0800
Free path in diversity_world_get_self.
commit 3752a2add94ee74441a343ac4e8565b596866283
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 16:29:52 2008 +0800
ecore_hash_remove does not call free_value_cb.
commit dc20938c77f0b08d37aa88b3a7f314db2852147f
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 13:46:23 2008 +0800
diversity_object_destroy should use the correct destructor.
commit d64ee16a7b7196fa05f1159cf710e251d47f5582
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 13:40:34 2008 +0800
Changed diversity_world_tag_{add,remove} to suit the need.
This fixed a leak when a new tag is created.
commit 5493f402a873d7e1df831bd29903e780ae58b270
Author: Chia-I Wu <[EMAIL PROTECTED]>
Date: Mon Sep 8 12:09:37 2008 +0800
Allow data to be attached to Diversity_Object.
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-09-08 13:18:24 +0200 (Mon, 08 Sep 2008)
New Revision: 4636
Added:
developers/werner/wlan-spi/patches/gta02-mmc-spi.patch
developers/werner/wlan-spi/patches/s3c-spi-api-update.patch
Modified:
developers/werner/wlan-spi/patches/gta02-mmc-spi-bitbang.patch
developers/werner/wlan-spi/patches/series
Log:
On-going work on supporting MMC-SPI also with the S3C SPI driver.
Modified: developers/werner/wlan-spi/patches/gta02-mmc-spi-bitbang.patch
===================================================================
--- developers/werner/wlan-spi/patches/gta02-mmc-spi-bitbang.patch
2008-09-08 10:22:54 UTC (rev 4635)
+++ developers/werner/wlan-spi/patches/gta02-mmc-spi-bitbang.patch
2008-09-08 11:18:24 UTC (rev 4636)
@@ -14,7 +14,7 @@
Index: korig/arch/arm/mach-s3c2440/Kconfig
===================================================================
--- korig.orig/arch/arm/mach-s3c2440/Kconfig 2008-09-04 05:07:56.000000000
-0300
-+++ korig/arch/arm/mach-s3c2440/Kconfig 2008-09-04 05:08:00.000000000
-0300
++++ korig/arch/arm/mach-s3c2440/Kconfig 2008-09-04 06:10:26.000000000
-0300
@@ -98,6 +98,20 @@
Say Y here if you are using an early hardware revision
of the FIC/Openmoko Neo1973 GTA02 GSM Phone.
@@ -39,7 +39,7 @@
Index: korig/arch/arm/mach-s3c2440/mach-gta02.c
===================================================================
--- korig.orig/arch/arm/mach-s3c2440/mach-gta02.c 2008-09-04
05:08:00.000000000 -0300
-+++ korig/arch/arm/mach-s3c2440/mach-gta02.c 2008-09-04 05:09:03.000000000
-0300
++++ korig/arch/arm/mach-s3c2440/mach-gta02.c 2008-09-04 06:13:44.000000000
-0300
@@ -37,6 +37,7 @@
#include <linux/spi/spi.h>
#include <linux/spi/glamo.h>
@@ -63,7 +63,7 @@
+static struct spi_board_info gta02_spi_mmc_bdinfo = {
+ .modalias = "mmc_spi",
+ .irq = IRQ_EINT3, /* unused ? */
-+ .max_speed_hz = 1 * 1000 * 1000,
++ .max_speed_hz = 25 * 1000 * 1000,
+ .bus_num = 0,
+ .chip_select = 0,
+ .mode = SPI_MODE_0,
Added: developers/werner/wlan-spi/patches/gta02-mmc-spi.patch
===================================================================
--- developers/werner/wlan-spi/patches/gta02-mmc-spi.patch
(rev 0)
+++ developers/werner/wlan-spi/patches/gta02-mmc-spi.patch 2008-09-08
11:18:24 UTC (rev 4636)
@@ -0,0 +1,98 @@
+Ongoing work on adding support for MMC-SPI using the S3C SPI driver.
+Note that this doesn't produce a valid bitstream yet.
+
+On GTA02, S3C SPI can only be used with WLAN if the SPI0 interface is
+wired to the SDIO interface. This is described here:
+http://svn.openmoko.org/developers/werner/wlan-spi/gta02-spi/rework.pdf
+
+The correct wiring can be verified with the following script:
+http://svn.openmoko.org/developers/werner/wlan-spi/gta02-spi/verify.sh
+
+Not-Yet-Signed-off-by: Werner Almesberger <[EMAIL PROTECTED]>
+
+Index: korig/arch/arm/mach-s3c2440/Kconfig
+===================================================================
+--- korig.orig/arch/arm/mach-s3c2440/Kconfig 2008-09-04 11:31:41.000000000
-0300
++++ korig/arch/arm/mach-s3c2440/Kconfig 2008-09-04 11:31:44.000000000
-0300
+@@ -110,6 +110,15 @@
+ bool "GPIO bit-banging SPI"
+ select MMC_SPI
+ select SPI_S3C24XX_GPIO
++
++ config AR6K_SPI_S3C24XX
++ bool "Hardware-accelerated SPI (modification)"
++ select MMC_SPI
++ select SPI_S3C24XX
++ help
++ This functionality requires that SPI0 is wired to
++ the WLAN SDIO interface.
++
+ endchoice
+
+ endmenu
+Index: korig/arch/arm/mach-s3c2440/mach-gta02.c
+===================================================================
+--- korig.orig/arch/arm/mach-s3c2440/mach-gta02.c 2008-09-04
11:31:41.000000000 -0300
++++ korig/arch/arm/mach-s3c2440/mach-gta02.c 2008-09-04 11:58:15.000000000
-0300
+@@ -1234,9 +1234,7 @@
+ /* ----- AR6000 WLAN interface ---------------------------------------------
*/
+
+
+-/* shared by all SPI drivers */
+-
+-#if defined(CONFIG_AR6K_SPI_S3C24XX_GPIO)
++#if defined(CONFIG_AR6K_SPI_S3C24XX) || defined(CONFIG_AR6K_SPI_S3C24XX_GPIO)
+
+ static struct spi_board_info gta02_spi_mmc_bdinfo = {
+ .modalias = "mmc_spi",
+@@ -1247,7 +1245,18 @@
+ .mode = SPI_MODE_0,
+ };
+
+-#endif /* CONFIG_AR6K_SPI_S3C24XX_GPIO */
++#endif /* CONFIG_AR6K_SPI_S3C24XX || CONFIG_AR6K_SPI_S3C24XX_GPIO */
++
++
++#ifdef CONFIG_AR6K_SPI_S3C24XX
++
++static struct s3c2410_spi_info spi_wlan_cfg = {
++ .pin_cs = S3C2410_GPG2,
++ .board_size = 1,
++ .board_info = >a02_spi_mmc_bdinfo,
++};
++
++#endif /* CONFIG_AR6K_SPI_S3C24XX */
+
+
+ #ifdef CONFIG_AR6K_SPI_S3C24XX_GPIO
+@@ -1689,6 +1698,30 @@
+ platform_device_register(>a02_spi_wlan);
+ #endif /* CONFIG_AR6K_SPI_S3C24XX_GPIO */
+
++#ifdef CONFIG_AR6K_SPI_S3C24XX
++
++ printk(KERN_INFO "SPI/MMC co-existence: disabling SD/MMC\n");
++ s3c2410_gpio_cfgpin(S3C2410_GPE5, S3C2410_GPIO_INPUT); /* CLK */
++ s3c2410_gpio_cfgpin(S3C2410_GPE6, S3C2410_GPIO_INPUT); /* CMD */
++ s3c2410_gpio_cfgpin(S3C2410_GPE7, S3C2410_GPIO_INPUT); /* DATA0 */
++ s3c2410_gpio_cfgpin(S3C2410_GPE8, S3C2410_GPIO_INPUT); /* DATA1 */
++ s3c2410_gpio_cfgpin(S3C2410_GPE9, S3C2410_GPIO_INPUT); /* DATA2 */
++ s3c2410_gpio_cfgpin(S3C2410_GPE10, S3C2410_GPIO_INPUT); /* DATA3 */
++
++ s3c_device_spi0.dev.platform_data = &spi_wlan_cfg,
++ platform_device_register(&s3c_device_spi0);
++
++#else /* CONFIG_AR6K_SPI_S3C24XX */
++
++ printk(KERN_INFO "SPI/MMC co-existence: disabling SPI\n");
++ s3c2410_gpio_cfgpin(S3C2410_GPE11, S3C2410_GPIO_INPUT); /* MISO */
++ s3c2410_gpio_cfgpin(S3C2410_GPE12, S3C2410_GPIO_INPUT); /* MOSI */
++ s3c2410_gpio_cfgpin(S3C2410_GPE13, S3C2410_GPIO_INPUT); /* CLK */
++ s3c2410_gpio_cfgpin(S3C2410_GPF3, S3C2410_GPIO_INPUT); /* EINT3 */
++ s3c2410_gpio_cfgpin(S3C2410_GPG2, S3C2410_GPIO_INPUT); /* SS */
++
++#endif /* !CONFIG_AR6K_SPI_S3C24XX */
++
+ // platform_device_register(&s3c_device_spi_acc);
+ platform_device_register(>a02_button_dev);
+ platform_device_register(>a02_pm_gsm_dev);
Added: developers/werner/wlan-spi/patches/s3c-spi-api-update.patch
===================================================================
--- developers/werner/wlan-spi/patches/s3c-spi-api-update.patch
(rev 0)
+++ developers/werner/wlan-spi/patches/s3c-spi-api-update.patch 2008-09-08
11:18:24 UTC (rev 4636)
@@ -0,0 +1,21 @@
+The S3C SPI driver in 2.6.24 lags behind on some changes in the driver
+API. This patch backports these changes.
+
+Not-Yet-Signed-off-by: Werner Almesberger <[EMAIL PROTECTED]>
+
+Index: korig/drivers/spi/spi_s3c24xx.c
+===================================================================
+--- korig.orig/drivers/spi/spi_s3c24xx.c 2008-09-04 17:32:37.000000000
-0300
++++ korig/drivers/spi/spi_s3c24xx.c 2008-09-04 17:33:06.000000000 -0300
+@@ -273,6 +273,11 @@
+ hw->bitbang.txrx_bufs = s3c24xx_spi_txrx;
+ hw->bitbang.master->setup = s3c24xx_spi_setup;
+
++ /* backported from 2.6.27, but without all the other small stack
++ changes */
++ master->num_chipselect = 1; /* hw->pdata->num_cs; */
++ master->bus_num = 0; /* hw->pdata->bus_num; */
++
+ dev_dbg(hw->dev, "bitbang at %p\n", &hw->bitbang);
+
+ /* find and map our resources */
Modified: developers/werner/wlan-spi/patches/series
===================================================================
--- developers/werner/wlan-spi/patches/series 2008-09-08 10:22:54 UTC (rev
4635)
+++ developers/werner/wlan-spi/patches/series 2008-09-08 11:18:24 UTC (rev
4636)
@@ -17,4 +17,6 @@
sdio-f0-unrestrict.patch
gta02-remove-sdio.patch
gta02-mmc-spi-bitbang.patch
+gta02-mmc-spi.patch
+s3c-spi-api-update.patch
config-ar6k-mmc-spi-bitbang.patch
--- End Message ---
--- Begin Message ---
conf/distro/include/sane-srcrevs.inc | 2 ++
packages/clutter/moblin-proto_git.bb | 3 ++-
packages/linux/linux-omap_git.bb | 3 ++-
3 files changed, 6 insertions(+), 2 deletions(-)
New commits:
commit 5e802d08b157ae640cf5356a1fdd31e7bf654e90
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Mon Sep 8 15:17:24 2008 +0200
[srcrev] Add a SRCREV for moblin-proto
commit 1d7283c73f0dbb5ce8c7a4a5f8753b83cd121e92
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Mon Sep 8 15:11:49 2008 +0200
[srcrev] Add one for ohm
commit 43d9b81a5978a486bf57bcbc8d7259791fa97f27
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Mon Sep 8 15:05:50 2008 +0200
linux-omap: Fix PV... do not do these hacks
commit bb98fa38dcf3c161c7e120b56cdd8f112d0cfa52
Author: Holger Hans Peter Freyther <[EMAIL PROTECTED]>
Date: Mon Sep 8 15:05:02 2008 +0200
moblin-proto: Fix PV line
--- End Message ---
--- Begin Message ---
packages/mozilla/firefox_3.0.1.bb | 2 ++
packages/tasks/task-openmoko-feed.bb | 3 +--
2 files changed, 3 insertions(+), 2 deletions(-)
New commits:
commit e48650ad54caa306ffd77f4f9749e58c05742a87
Merge: 93a2a8deac6b1f23dde3ca2e15cb7c27d5808275
5e802d08b157ae640cf5356a1fdd31e7bf654e90
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date: Mon Sep 8 19:34:15 2008 +0100
Merge branch 'org.openmoko.dev' of git+ssh://[EMAIL
PROTECTED]/var/cache/git/openmoko into org.openmoko.dev
commit 93a2a8deac6b1f23dde3ca2e15cb7c27d5808275
Merge: 2883807e5057a9f5d6d70547679272cb0a79d599
a1888d625f1e1dc06267eabcbc60676343d7c994
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date: Mon Sep 8 19:33:09 2008 +0100
Merge branch 'org.openmoko.dev' of /home/dp/openmoko/openmoko/ into
org.openmoko.dev
commit 2883807e5057a9f5d6d70547679272cb0a79d599
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date: Mon Sep 8 19:32:28 2008 +0100
[openmoko-feed] remove emacs as it doesnt build.
commit 5d40d20e18663a8fbe08ccb08f5a991a4c78a38f
Author: Graeme Gregory <[EMAIL PROTECTED]>
Date: Mon Sep 8 19:28:02 2008 +0100
[firefox] disable PARALLEL_MAKE as it breaks build
--- End Message ---
--- Begin Message ---
Author: werner
Date: 2008-09-09 00:40:16 +0200 (Tue, 09 Sep 2008)
New Revision: 4637
Modified:
developers/werner/dbgrst/Makefile
developers/werner/dbgrst/dbgrst.c
Log:
- dbgrst.c (set_high): repeat the command several times since it sometimes gets
lost
- Makefile: make "install" depend on "dbgrst"
Modified: developers/werner/dbgrst/Makefile
===================================================================
--- developers/werner/dbgrst/Makefile 2008-09-08 11:18:24 UTC (rev 4636)
+++ developers/werner/dbgrst/Makefile 2008-09-08 22:40:16 UTC (rev 4637)
@@ -7,7 +7,7 @@
all: dbgrst
-install:
+install: dbgrst
install -D dbgrst $(PREFIX)/bin/dbgrst
uninstall:
Modified: developers/werner/dbgrst/dbgrst.c
===================================================================
--- developers/werner/dbgrst/dbgrst.c 2008-09-08 11:18:24 UTC (rev 4636)
+++ developers/werner/dbgrst/dbgrst.c 2008-09-08 22:40:16 UTC (rev 4637)
@@ -79,12 +79,19 @@
data,
direction,
};
+ int i;
- if (ftdi_write_data(&ftdi, buf, 3) < 0) {
- fprintf(stderr, "ftdi_write_data: %s\n",
- ftdi_get_error_string(&ftdi));
- exit(1);
- }
+ /*
+ * For some reason, the FTDI sometimes doesn't accept the setting.
+ * So we repeat a number of times to make it clear that compliance
+ * is not optional.
+ */
+ for (i = 0; i != 10; i++)
+ if (ftdi_write_data(&ftdi, buf, 3) < 0) {
+ fprintf(stderr, "ftdi_write_data: %s\n",
+ ftdi_get_error_string(&ftdi));
+ exit(1);
+ }
}
--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog