FreeCalypso > hg > freecalypso-docs
annotate FC-modem-family @ 21:69ee60206c53
FC-modem-family article written
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Wed, 23 Oct 2019 00:11:37 +0000 |
parents | |
children | 1e76655a44bd |
rev | line source |
---|---|
21
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 I, Mother Mychaela, have a vision for a family of FreeCalypso modem products in |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 different physical form factors, possibly with variations in offered |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 functionality, all sharing the same fcmodem firmware build target - meaning that |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 the same FreeCalypso fw built for the fcmodem target (a proposed successor to |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 the current fcdev3b build target) will run on all FC modem hw products, |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 requiring some commonalities across the entire product family but also |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 supporting some variations. The following design constraints are hereby being |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 laid down in order to make this common fcmodem firmware possible: |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 * All FC modem products will be either triband or quadband: triband if the |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 current Openmoko-based RFFE is kept as is (the safer route with less effort |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 and design labor cost) or quadband if the customer commissioning a modem |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 product is more adventurous and willing to pay more and take greater risks in |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 order to get full quadband capability. Please refer to the Quadband-ideas |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 article for further details. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 * Flash chip type autodetection in both fc-loadtool and firmware FFS driver code |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 allows different flash chip types to be used depending on business needs, |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 parts availability and the available physical space on the PCB. Flash |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 capacity can range from 4 MiB (minimum fw requirement) to 16 MiB (maximum |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 Calypso addressing capability); if a 16 MiB flash chip with two 8 MiB chip |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 select banks is used, then the second bank must be on nCS2 (like on FCDEV3B), |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 not on any other Calypso chip select. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 * External RAM (XRAM) capacity can range from 512 KiB (minimum fw requirement) |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 to 8 MiB (maximum Calypso addressing capability), but it will always be on |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 nCS1, not on any other Calypso chip select. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 * The extra logic voltage level translating buffer IC that was introduced on |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 FCDEV3B V2 in order to make flash reset timing compatible with S71PL129N flash |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 may or may not be included. The Mother's preference is to include it when |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 possible in order to increase the repertoire of usable flash chips, but if a |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 given design allows no PCB space for this extra little IC, then it will be |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 acceptable to go back to driving the flash reset line with FDP and require |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 the use of some flash chip other than S71PL129N - if the same footprint needs |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 to be kept and/or maximum flash and RAM capacity is desired, S71PL129J can be |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 used instead. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 MCSI |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 ==== |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 It is envisioned that most FC modem products will provide a digital voice |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 interface via MCSI as a major feature, but some may not. If a given product |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 does feature MCSI, pull-down resistors for MCSI_CLK and MCSI_FSYNCH will need |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 to be included on the modem module itself, so that the user always sees them as |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 non-floating outputs from the modem. MCSI_RXD will be a pure input without |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 on-board pull-up or pull-down resistors, i.e., the user will be responsible for |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 tying it off or pulling it to a stable logic level if it is unused. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 However, if a given product does not feature MCSI, then it will be an unwelcome |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 burden to require extra pull-down resistors on the PCB, hence a different |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 provision is planned. If and when we ever produce a FreeCalypso modem without |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 MCSI, we will program a /etc/fc-pinmux file in FFS telling our fcmodem firmware |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 to switch the MCSI pins into GPIO mode and to drive all 4 of them as dummy |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 outputs, eliminating floating I/O pins without any effort from the hardware |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 side. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 Why would a FreeCalypso modem product not feature MCSI? Two use cases are |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 envisioned here: |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 * The new GTA02-like smartphone motherboard thought experiment - see the |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 corresponding section at the end of this article; |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 * If we ever produce a FreeCalypso modem in the form factor of a USB dongle for |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 laptops, it would be very easy to incorporate an FT2232x adapter presenting |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 both Calypso UARTs to the USB host, but adding a USB-to-MCSI bridge would |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 entail much greater complexity, hence it may make sense to omit MCSI for this |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 product and instead provide an analog headset jack for voice calls. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 GPIO |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 ==== |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 Our firmware configures Calypso GPIO 3 as an input; GPIOs 0-2 and those |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 multifunction pins which are unused and configured as GPIOs (TSPDI/IO4, |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 BCLKX/IO6, MCUEN1/IO8 and MCUEN2/IO13) are configured as outputs. Board wiring |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 must be compatible with these directions: those pins which our fw drives as |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 outputs can be simply left unconnected, while GPIO 3 needs to be sensibly driven |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 or tied off as explained below. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 Openmoko's modem puts out an application processor wakeup signal (asserted by |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 the fw when the modem needs to send something to the host but is blocked by CTS |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
82 being held high) on GPIO 1. In order to have full feature parity, our FC modems |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 will provide an equivalent signal as well, but we are moving it to GPIO 0 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 because in FreeCalypso GPIO 1 is already taken for the loudspeaker control |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 signal like on TI's D-Sample and Leonardo boards. Our firmware's complete GPIO |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 usage thus becomes: |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 GPIO0: application processor wakeup signal |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 GPIO1: loudspeaker amplifier on/off control |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 GPIO2: DCD modem control output |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 GPIO3: DTR modem control input |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 all others: dummy outputs |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
94 Because GPIO3/DTR is an input, it needs to be either sensibly driven or tied |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
95 off. On our current FCDEV3B this line has a 100 kOhm pull-down resistor to GND, |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
96 but it is not accessible to the user in any way - this design aspect was copied |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 from TI's Leonardo board before I thought better. Most of our future FC modem |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 products are planned to have DTR as a user input signal (which the user can tie |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 off it is not used or needed in a given application), but if there is no DTR |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 user input signal on a given modem product, then GPIO3 will be grounded inside |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 the modem to keep the firmware happy. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 Calypso's unused DSR_MODEM/LPG pin was left unconnected in Openmoko's version |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 but on our FCDEV3B it is tied to GND on the board. Future FC modem family |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
105 boards will also need to have this pin tied to GND: our firmware leaves this |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
106 pin in its default power-up config of DSR_MODEM input and does not change it to |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
107 LPG output, thus leaving it unconnected would cause it to float. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
109 Extreme case: a new GTA02-like smartphone motherboard |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
110 ===================================================== |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
111 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
112 A rather extreme thought-experiment test case for the FC modem family idea |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
113 presented in this article is this thought: suppose we wanted to produce a new |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
114 GTA02-like smartphone motherboard, bringing Openmoko's dream back from the dead. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
115 We could try to make a verbatim clone of GTA02-MB-A6 from OM, but for both |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
116 technical and political reasons it would be desirable to make a few changes: |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
117 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
118 * Making a strictly verbatim clone of GTA02-MB-A6 would mean populating a |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
119 Samsung K5A3281CTM memory chip onto OM's PCB footprint which does not really |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
120 fit this chip properly. Changing the PCB footprint to fit K5A32xx more |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
121 properly would not be easy because there are signal traces in the PCB spots |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
122 where the extra mounting balls for K5A32xx would need to go. The approach |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
123 that seems most naturally sensible would be to populate a better-fitting |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
124 memory chip, such as Spansion S71PL129JB0BAW9Z for which that footprint was |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
125 properly made - but then the result would no longer be a verbatim clone of |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
126 OM's version, and our gtamodem target configuration would no longer fit. And |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
127 at that point it would make the most sense to stop following the gtamodem |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
128 config and to make it an fcmodem family product instead. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
129 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
130 * It would be politically preferable if the new GTA02-like motherboard would run |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
131 fcmodem firmware rather than gtamodem, making a clean break from those parts |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
132 of OM's troubled history which caused them to be Closedmoko during certain |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
133 years. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
134 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
135 Hence the technical challenge: would it be possible to make a GTA02 derivative |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
136 with absolutely minimal changes that would run fcmodem firmware instead of |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
137 legacy mokoN or FC fw builds for the gtamodem target? The answer is yes, and |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
138 here is the recipe - note that *no* new components need to be added to the |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
139 extremely tight PCB layout: |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
140 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
141 * Move the 2nd flash chip select connection from nCS4 to nCS2 on the Calypso; |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
142 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
143 * Move the AP wakeup interrupt line from GPIO1 to GPIO0 to match fcmodem |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
144 firmware GPIO assignments; |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
145 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
146 * Take the useless INT0 AP-to-BP connection line present in the GTA02 original |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
147 and move it to Calypso GPIO3, providing fcmodem firmware with the DTR input |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
148 it expects; |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
149 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
150 * Ground Calypso's unused DSR_MODEM/LPG signal, causing it to not float when |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
151 our fcmodem firmware keeps the power-up default of DSR_MODEM function; |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
152 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
153 * Program /etc/fc-pinmux in FreeCalypso FFS to tell the firmware that there is |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
154 no MCSI on this board, so that all 4 MCSI signals will become GPIO dummy |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
155 outputs and won't float. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
156 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
157 Some additional changes which don't affect the firmware one way or the other: |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
158 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
159 * Remove R1003 and R1004 0Rs which seem to be the root cause of bug #1024 and |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
160 replace them with solid PCB traces; |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
161 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
162 * Up C1009 from 10 uF to 22 uF as additional guard from bug #1024; |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
163 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
164 * Ground Calypso's unused input RXIR_IRDA to keep it from floating - this input |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
165 cannot be changed to an output under firmware control without breaking other |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
166 functionality. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
167 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
168 At the same time it would also make a lot of sense to remove the Glamo graphics |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
169 decelerator from the AP subsystem, connecting the LCD directly to the Samsung AP |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
170 like it was on GTA01 - thus from the AP software perspective the new motherboard |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
171 would also become its own new platform just like the modem, very similar to the |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
172 GTA02 original, but not strictly identical, featuring some improvements instead. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
173 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
174 IP rights and FreeCalypso brand integrity |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
175 ========================================= |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
176 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
177 The present vision of having the same fcmodem firmware support all FreeCalypso |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
178 modem products applies ONLY to those hardware products which are designed and |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
179 physically produced by Mother Mychaela or one of her business entities. We will |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
180 NOT provide any support whatsoever for any pirate hardware products that may be |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
181 produced by any persons or entities who are making, have made or are planning to |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
182 make inappropriate use of any of our published or unpublished board design |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
183 files. |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
184 |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
185 In the event that some third party buys a legitimate license to produce their |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
186 own derived works based on FreeCalypso hardware designs, we may provide |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
187 technical support to that specific customer as per our agreement with them, but |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
188 any such support will be customer-specific: our generic, non-customer-specific |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
189 public FreeCalypso firmwares will only ever support our own official |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
190 Falconia/FreeCalypso modem products, and should not be expected to support any |
69ee60206c53
FC-modem-family article written
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
191 customized products made by or at the request of particular third parties. |