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
        commitlog-requ...@lists.openmoko.org

You can reach the person managing the list at
        commitlog-ow...@lists.openmoko.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of commitlog digest..."
Today's Topics:

   1. r5752 - trunk/eda/fped (wer...@docs.openmoko.org)
   2. r5753 - trunk/gta02-core/docs (wer...@docs.openmoko.org)
   3. r5754 - trunk/gta02-core (wer...@docs.openmoko.org)
--- Begin Message ---
Author: werner
Date: 2009-12-10 13:02:02 +0100 (Thu, 10 Dec 2009)
New Revision: 5752

Modified:
   trunk/eda/fped/postscript.c
Log:
Added a crude hack to increase the robustness of font scaling. (This can
be necessary if printing unusually large components.)

- postscript.c: in "maxfont", if we get a zero-sized font, dodge the division
  by zero



Modified: trunk/eda/fped/postscript.c
===================================================================
--- trunk/eda/fped/postscript.c 2009-12-10 06:57:56 UTC (rev 5751)
+++ trunk/eda/fped/postscript.c 2009-12-10 12:02:02 UTC (rev 5752)
@@ -891,16 +891,22 @@
 
        /*
         * Stack: font string width height factor -> factor
+        *
+        * Hack: sometimes, scalefont can't produce a suitable font and just
+        * gives us something zero-sized, which trips the division. We just
+        * ignore this case for now. Since maxfont is used in pairs, the
+        * second one may still succeed.
         */
 
        fprintf(file,
+"/sdiv { dup 0 eq { pop 1 } if div } def\n"
 "/maxfont {\n"
 "    gsave 0 0 moveto\n"
 "    /f exch def /h exch def /w exch def\n"
 "    exch f scalefont setfont\n"
 "    false charpath flattenpath pathbbox\n"
 "    /ury exch def /urx exch def /lly exch def /llx exch def\n"
-"    w urx llx sub div h ury lly sub div 2 copy gt { exch } if pop\n"
+"    w urx llx sub sdiv h ury lly sub sdiv 2 copy gt { exch } if pop\n"
 "    f mul grestore } def\n");
 
        /*




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2009-12-11 01:42:34 +0100 (Fri, 11 Dec 2009)
New Revision: 5753

Modified:
   trunk/gta02-core/docs/REVIEW
Log:
Various docs/REVIEW improvements suggested by Patryk Benderz:

- add "things to check" before each list of things to check
- added pointer to GTA02 schematics
- described what references to use for new components
- clarified and extended example where SI units are not omitted



Modified: trunk/gta02-core/docs/REVIEW
===================================================================
--- trunk/gta02-core/docs/REVIEW        2009-12-10 12:02:02 UTC (rev 5752)
+++ trunk/gta02-core/docs/REVIEW        2009-12-11 00:42:34 UTC (rev 5753)
@@ -23,6 +23,8 @@
 respective data sheets. In some cases, we depart from the reference for
 consistency within the project or to avoid flaws in the data sheet.
 
+Things to check:
+
 - presence of an entry in the file components/INFO with a pointer to
   a data sheet. If no data sheet is available, we use Openmoko's GTA02
   schematics as a reference.
@@ -49,14 +51,27 @@
 changes have been made. The changes are documented in ECNs in docs/ecn/
 ECNs have their own life cycle, described in docs/ecn/README
 
+Things to check:
+
 - equivalence to the respective circuit in GTA02, except if a change
-  has been made through an ECN
+  has been made through an ECN. The GTA02 schematics can be found here:
+  
http://downloads.openmoko.org/developer/schematics/GTA02/Schematics_Freerunner-GTA02_A5-A7cumulative_public_RC0.pdf
 
 - changes are marked with a comment briefly stating what happened and
   which ECN describes the change
 
 - use of the same component references (R1014, etc.)
 
+- if a new component has been added, its component reference must be
+  unique within the gta02-core schematics. Furthermore, it must not
+  coincide with any component reference in Openmoko's GTA02 schematics.
+
+  New component references follow the numbering scheme for the respective
+  sheet (adapted from Openmoko's GTA02), e.g., everything on the PMU sheet
+  is in the range from 1700 to 1799. (Components that existed already in
+  GTA02 but have moved to a different sheet in gta02-core retain their
+  original reference.)
+
 - use of the same component values and their correct presentation.
   The following conventions apply:
 
@@ -83,8 +98,9 @@
     1.2 V become 1V2
 
   - units of additional parameters and all units of components that are
-    not R, C, or L, are written in regular SI or SI-like notation, e.g.,
-    17.6pF, 5.6Vac
+    not R, C, or L, are written in regular SI or SI-like notation. e.g.,
+    Example 1: a varistor could be characterized with 5.8pF, 5.6Vdc.
+    Example 2: a capacitor could be characterized with 100u, 6.3V.
 
 - wherever signals connect to each other, the intersection is T-shaped
   and is marked with a large dot. Connecting signals never intersect
@@ -103,6 +119,8 @@
 Footprints should be accurate renderings of the land patterns shown in
 the respective data sheet or other document defining the footprint.
 
+Things to check:
+
 - presence of an entry in the file modules/INFO with either the name of
   the data sheet entry in components/INFO (if the data sheet contains
   the footprint), or a pointer to a document describing the footprint.




--- End Message ---
--- Begin Message ---
Author: werner
Date: 2009-12-11 01:48:10 +0100 (Fri, 11 Dec 2009)
New Revision: 5754

Modified:
   trunk/gta02-core/io.sch
   trunk/gta02-core/usb.sch
Log:
- io.sch: D4601 and D4602 are 150 pF instead 151 pF
- usb.sch: D4801 through D4905 are 150 pF and 330 pF instead of 151 pF and 
  331 pF



Modified: trunk/gta02-core/io.sch
===================================================================
--- trunk/gta02-core/io.sch     2009-12-11 00:42:34 UTC (rev 5753)
+++ trunk/gta02-core/io.sch     2009-12-11 00:48:10 UTC (rev 5754)
@@ -1,4 +1,4 @@
-EESchema Schematic File Version 2  date Mon Oct  5 14:17:00 2009
+EESchema Schematic File Version 2  date Thu Dec 10 21:44:50 2009
 LIBS:power,device,conn,gta02-core,gta02-core-cache
 EELAYER 24  0
 EELAYER END
@@ -845,7 +845,7 @@
 U 1 1 4A4307AE
 P 13250 2150
 F 0 "D4602" V 13350 1950 50  0000 C CNN
-F 1 "151pF" V 13250 1950 50  0000 C CNN
+F 1 "150pF" V 13250 1950 50  0000 C CNN
 F 2 "0402" V 13400 1900 60  0001 C CNN
 F 4 "6.5Vac" V 13150 1950 50  0000 C CNN "Field1"
        1    13250 2150
@@ -875,7 +875,7 @@
 U 1 1 4A4077E9
 P 12950 3000
 F 0 "D4601" V 13050 3200 50  0000 C CNN
-F 1 "151pF" V 12950 3200 50  0000 C CNN
+F 1 "150pF" V 12950 3200 50  0000 C CNN
 F 2 "0402" V 13100 3250 60  0001 C CNN
 F 4 "6.5Vac" V 12850 3200 50  0000 C CNN "Field1"
        1    12950 3000

Modified: trunk/gta02-core/usb.sch
===================================================================
--- trunk/gta02-core/usb.sch    2009-12-11 00:42:34 UTC (rev 5753)
+++ trunk/gta02-core/usb.sch    2009-12-11 00:48:10 UTC (rev 5754)
@@ -1,4 +1,4 @@
-EESchema Schematic File Version 2  date Thu Oct  8 23:41:52 2009
+EESchema Schematic File Version 2  date Thu Dec 10 21:43:33 2009
 LIBS:power,device,conn,gta02-core,gta02-core-cache
 EELAYER 24  0
 EELAYER END
@@ -485,7 +485,7 @@
 U 1 1 4A3C35B0
 P 11500 4800
 F 0 "D4904" V 11400 5000 50  0000 C CNN
-F 1 "151pF" V 11500 5000 50  0000 C CNN
+F 1 "150pF" V 11500 5000 50  0000 C CNN
 F 2 "0402" H 11440 5010 60  0001 C CNN
 F 4 "9Vdc" V 11600 5000 50  0000 C CNN "DC-Voltage"
        1    11500 4800
@@ -532,7 +532,7 @@
 U 1 1 4A3C34CE
 P 10900 4800
 F 0 "D4902" V 10800 5000 50  0000 C CNN
-F 1 "151pF" V 10900 5000 50  0000 C CNN
+F 1 "150pF" V 10900 5000 50  0000 C CNN
 F 2 "0402" H 10840 5010 60  0001 C CNN
 F 3 "http://www.kmax.com.tw/doc/02_KEV_Series.pdf"; H 9000 4800 60  0001 C CNN
 F 4 "6.5Vac" V 11000 5000 50  0000 C CNN "AC-Voltage"
@@ -544,7 +544,7 @@
 U 1 1 4A3C34CD
 P 10250 4800
 F 0 "D4903" V 10150 5000 50  0000 C CNN
-F 1 "331pF" V 10250 5000 50  0000 C CNN
+F 1 "330pF" V 10250 5000 50  0000 C CNN
 F 2 "0402" H 10190 5010 60  0001 C CNN
 F 4 "5.6Vdc" V 10350 5000 50  0000 C CNN "DC-Voltage"
        1    10250 4800
@@ -555,7 +555,7 @@
 U 1 1 4A3C34A2
 P 9650 4800
 F 0 "D4901" V 9550 5000 50  0000 C CNN
-F 1 "151pF" V 9650 5000 50  0000 C CNN
+F 1 "150pF" V 9650 5000 50  0000 C CNN
 F 2 "0402" H 9590 5010 60  0001 C CNN
 F 4 "6.5Vac" V 9750 5000 50  0000 C CNN "AC-Voltage"
        1    9650 4800
@@ -566,7 +566,7 @@
 U 1 1 4A3C347A
 P 9000 4800
 F 0 "D4905" V 8900 5000 50  0000 C CNN
-F 1 "331pF" V 9000 5000 50  0000 C CNN
+F 1 "330pF" V 9000 5000 50  0000 C CNN
 F 2 "0402" H 8940 5010 60  0001 C CNN
 F 4 "5.6Vdc" V 9100 5000 50  0000 C CNN "DC-Voltage"
        1    9000 4800




--- End Message ---
_______________________________________________
commitlog mailing list
commitlog@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/commitlog

Reply via email to