comparison doc/C139-Howto @ 95:48792a467305

doc/C139-Howto improved a bit
author Mychaela Falconia <falcon@freecalypso.org>
date Mon, 03 Oct 2016 17:41:24 +0000
parents 596d86109e44
children e2dce971aec9
comparison
equal deleted inserted replaced
94:596d86109e44 95:48792a467305
1 Running FreeCalypso Magnetite firmware on the Motorola C139 1 Running FreeCalypso firmware on the Motorola C139
2 =========================================================== 2 =================================================
3 3
4 Mot C139 phones are brickable - because the Calypso boot ROM is disabled by PCB 4 Mot C139 phones are brickable - because the Calypso boot ROM is disabled by PCB
5 wiring, the ability to reflash a phone with new firmware critically depends on 5 wiring, the ability to reflash a phone with new firmware critically depends on
6 there being a particular kind of boot code in flash sector 0 at all times - a 6 there being a particular kind of boot code in flash sector 0 at all times - a
7 particular kind of boot code that allows the boot process to be interrupted and 7 particular kind of boot code that allows the boot process to be interrupted and
65 * Once you are in with fc-loadtool, i.e., at the loadtool> prompt, reflash the 65 * Once you are in with fc-loadtool, i.e., at the loadtool> prompt, reflash the
66 boot sector with the FreeCalypso version: 66 boot sector with the FreeCalypso version:
67 67
68 loadtool> flash erase-program-boot compal-flash-boot-for-fc.bin 68 loadtool> flash erase-program-boot compal-flash-boot-for-fc.bin
69 69
70 * Flash the FC Magnetite firmware image you have compiled: 70 * Flash whichever FreeCalypso firmware image you would like to play with, e.g.:
71 71
72 loadtool> flash erase 0x10000 0x230000 72 loadtool> flash erase 0x10000 0x230000
73 loadtool> flash program-bin 0x10000 fwimage.bin 73 loadtool> flash program-bin 0x10000 fwimage.bin
74 74
75 * Erase the flash sectors to be used for the FFS (flash file system) by 75 * Erase the flash sectors to be used for the FFS (flash file system) by
142 through fc-shell. The only other way is to yank the battery, and doing the 142 through fc-shell. The only other way is to yank the battery, and doing the
143 latter is recommended anyway: when a phone with the present hack-firmware 143 latter is recommended anyway: when a phone with the present hack-firmware
144 flashed into it is powered off but still has the battery inserted, even a 144 flashed into it is powered off but still has the battery inserted, even a
145 momentary accidental press of the power button will cause it to power on and 145 momentary accidental press of the power button will cause it to power on and
146 boot, but there will be absolutely no visual indication, as the LCD stays dark. 146 boot, but there will be absolutely no visual indication, as the LCD stays dark.
147
148 Magnetite-specific notes
149 ========================
150
151 Just like FC Citrine, FC Magnetite currently supports only AT command operation
152 via fc-shell; the C-Sample UI hack we have built earlier in tcs211-c139 has NOT
153 been incorporated into Magnetite - at least not yet.
154
155 When compiling our Magnetite firmware for the C139 target, you will need to
156 select the l1reconst configuration - it is the only currently available
157 configuration that works on this target. Therefore, you configure.sh command
158 should be:
159
160 ./configure.sh c139 l1reconst
161
162 See the Compiling write-up for more details.
163
164 Because we have not deblobbed the G23M firmware component yet (the l1reconst
165 configuration uses G23M binary blobs from TCS211/Sotovik), your Magnetite fw
166 build will include FAX_AND_DATA and GPRS functionality. In the FreeCalypso
167 environment where we are not doing WAP or MMS this functionality can only be
168 exercised on targets that bring out a classic modem UART with the classic AT
169 command interface to the external host, but Mot C139 is not one of those
170 targets - hence on the C139 all FAX_AND_DATA and GPRS code is nothing but dead
171 weight. We will only be able to remove this dead weight when and if we fully
172 deblob all of L1 and G23M, so it will be a while before we get there, and we'll
173 have to carry the dead weight until then.