r4813 - developers/werner/wlan-spi/patches-tracking

werner at docs.openmoko.org werner at docs.openmoko.org
Sat Nov 22 04:28:52 CET 2008

Author: werner
Date: 2008-11-22 04:28:50 +0100 (Sat, 22 Nov 2008)
New Revision: 4813

Added description.

Modified: developers/werner/wlan-spi/patches-tracking/debug-gta02-trigger.patch
--- developers/werner/wlan-spi/patches-tracking/debug-gta02-trigger.patch	2008-11-22 01:14:21 UTC (rev 4812)
+++ developers/werner/wlan-spi/patches-tracking/debug-gta02-trigger.patch	2008-11-22 03:28:50 UTC (rev 4813)
@@ -1,3 +1,26 @@
+This is a little gadget that may be useful for low-level debugging.
+It generates a rising edge on GPF6 (the AUX button) when a certain
+trigger condition has occurred the right number of times. This can
+be used to trigger an oscilloscope.
+The code being debugged has to call trigger() before the event in
+question. The system is controlled via sysfs files:
+    write: enable the trigger and specify now many triggers will be
+        ignored.
+    read: read back the value that has been set.
+    write: reset the counter.
+    read: the number of times trigger() has been called since the
+        last reset.
+Probably not something we want in our official branches, but it may
+be handy to have around if debugging some protocol issues.
+- Werner
 Index: ktrack/arch/arm/plat-s3c24xx/Makefile
 --- ktrack.orig/arch/arm/plat-s3c24xx/Makefile	2008-11-21 19:22:53.000000000 -0200

More information about the commitlog mailing list