FreeCalypso > hg > freecalypso-tools
annotate doc/Host-tools-overview @ 276:d332fbf5c145
etmsync: host_mkdir() function factored out of fc-fsio
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 17 Nov 2017 00:26:09 +0000 |
parents | 97d6d593ffc6 |
children | 0cfb2e3aeda4 |
rev | line source |
---|---|
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
1 FreeCalypso host tools suite includes a large number of different tools, many |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
2 of which are quite specialized and rarely needed. The following tools are the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
3 most essential ones: |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 fc-loadtool This is the tool used to read and write the non-volatile flash |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 memory of supported GSM devices. It can be used to reflash |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 these devices with new firmware (whether pre-existing or new |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 firmwares developed within our project), and to save and restore |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 flash backups. This tool operates on the target device (phone |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 or modem) while its regular firmware is shut down. |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
12 fc-iram, Reprogramming the non-volatile flash memory is not the only way |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
13 fc-xram, to run your own code on a Calypso GSM device. If your code is |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
14 fc-compalram small enough to fit entirely into the available RAM on the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
15 device, and you would like to just run it without flashing it |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
16 permanently, these tools do the job of loading code images into |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
17 different kinds of RAM through different download protocols. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
18 Some phones have large enough RAM to allow a complete functional |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
19 firmware image to be run via fc-xram without flashing. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
20 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
21 rvinterf This program is our engine for communicating with up & running |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
22 TI-based firmwares through the RVTMUX binary packet interface. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
23 It receives and decodes all debug trace and other packets |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
24 emitted by the target fw, and allows the options of printing |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
25 them on the terminal, saving them to a log file, and/or passing |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
26 them to other programs that connect to rvinterf as local socket |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
27 clients. In the other direction those latter client programs |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
28 can send arbitrary command packets to the target fw. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
29 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
30 fc-fsio Going through rvinterf, this tool connects to GSM devices |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
31 running one of the supported firmware versions while the fw is |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
32 running (unlike fc-loadtool which operates on a device while |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
33 its regular fw is shut down) and allows you to manipulate |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
34 (read and write) the device's flash file system. It is thus a |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
35 higher-level tool than fc-loadtool. It is intended primarily |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
36 for working with our own firmwares, but it also works with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
37 Pirelli's original fw. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 fc-shell FreeCalypso firmwares have a feature of our own invention (not |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 present in any pre-existing ones) to accept AT commands over |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 the RVTMUX interface. It is useful when no second UART is |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 available for a dedicated standard AT command interface. |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 fc-shell is the tool that allows you to send AT commands to the |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 firmware in this manner; it also allows a few other kinds of |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
45 asynchronous commands to be sent. It works through rvinterf. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
47 And here is a listing of all other tools in mostly-alphabetical order: |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
49 c139explore This is a run-from-RAM (no flashing) program for Mot C139/140 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
50 phones that exercises their peripheral hardware: LCD, keypad |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
51 backlight, buzzer and vibrator. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 ctracedec GSM firmwares built in TI's Windows environment (official ones |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 as well as our own hacks based on the TCS211 semi-src) have a |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 "compressed trace" misfeature whereby many of the ASCII strings |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 in debug trace messages get replaced with numeric indices at |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 build time, and these numeric indices are all that gets emitted |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 on the RVTMUX serial channel. This numeric trace output can be |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 turned back into ASCII strings if you have the str2ind.tab file |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 corresponding to the fw version that emitted the output in |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 question; this ctracedec utility performs that decoding. |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
63 fc-buzplay This program plays piezoelectic buzzer melodies on an actual |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
64 Calypso device equipped with such a buzzer (Mot C1xx, TI's |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
65 D-Sample board, our planned future HSMBP) by loading a buzplayer |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
66 agent onto the target and feeding melodies to be played to it. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
67 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
68 fc-cal2text This utility takes a dump of TI's /gsm/rf flash file system |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
69 directory subtree as input (either extracted in vitro with tiffs |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
70 or read out in vivo with fc-fsio) and converts all RF tables |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
71 found therein into a readable ASCII format. See the RF_tables |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
72 article for more details. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
73 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
74 fc-dspapidump This utility uses ETM in synchronous mode (going through |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
75 rvinterf) to read and dump the contents of the DSP API RAM in a |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
76 target Calypso GSM device while the firmware is running. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
78 fc-e1decode This utility decodes a melody in TI's Melody E1 format from the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
79 the native binary format to our own ASCII-based representation; |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
80 see the Melody_E1 article for more information. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
81 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
82 fc-e1gen This utility compiles an E1 melody from our own ASCII source |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
83 format into binary bits to be loaded into a FreeCalypso phone; |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
84 see the Melody_E1 article for more information. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
86 fc-fr2tch This hack-utility converts a GSM 06.10 speech sample from the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
87 de facto standard libgsm format (which can be recorded with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
88 standard tools like SoX) into an uplink play file that can be |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
89 played with the tch play command in fc-shell; see the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
90 TCH-bit-access article for more information. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
92 fc-gsm2vm This utility converts a GSM 06.10 speech sample from the same |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
93 libgsm source format into a voice memo file that can be |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
94 uploaded into the FFS of a FreeCalypso device and played with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
95 the audio_vm_play_start() API or the AT@VMP command that |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
96 invokes the latter. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
97 |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
98 fc-lcdemu We have TI's TCS211 firmware semi-src that includes TI's |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
99 demo/prototype phone UI targeting the 176x220 pixel LCD on TI's |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
100 D-Sample development kit, but no suitable hardware on which we |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
101 could run this fw with this UI and see it in action. We built |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
102 a hacked-up version of the fw that emits all raster blits |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
103 intended for the big LCD on the RVTMUX serial interface, and |
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
104 this fc-lcdemu utility is a plug-in for rvinterf that actually |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
105 displays these LCD blits in an X11 window. This program is not |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
106 built by default as it requires libX11 to compile and an X11 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
107 display to run. |
0
e7502631a0f9
initial import from freecalypso-sw rev 1033:5ab737ac3ad7
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
108 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
109 fc-memdump This tool captures a memory dump from a GSM device whose |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
110 firmware implements one of TI's Test Mode memory read commands, |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
111 either the old TM3 version or the new ETM one. It works with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
112 FreeCalypso Citrine, with TCS211-based firmwares including |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
113 FreeCalypso Magnetite, with really old TI firmwares which |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
114 predate ETM, and with Mot C1xx original firmwares. It works |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
115 through rvinterf. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
116 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
117 fc-rgbconv A simple aid for phone UI development that converts RGB color |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
118 values between human-intuitive 8:8:8 format and the 5:6:5 format |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
119 used by the color LCDs in the phones targeted by FreeCalypso. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
120 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
121 fc-serterm This tool is a trivial serial terminal program. Its special |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
122 feature is that any output coming from the serial port that |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
123 isn't printable ASCII is displayed as by cat -v. It is useful |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
124 for talking to serially-interfaced devices that mix ASCII with |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
125 binary in their serial talk. |
23
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
126 |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
127 fc-tch2fr This hack-utility takes a TCH downlink recording produced with |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
128 the tch record command in fc-shell and converts it to a playable |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
129 libgsm file which will most likely contain some garbage by |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
130 disregarding the non-understood DSP status words; see the |
10b71f01f4ff
doc/Host-tools-overview updated for the current state of the tools
Mychaela Falconia <falcon@freecalypso.org>
parents:
0
diff
changeset
|
131 TCH-bit-access article for more information. |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
132 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
133 fc-tmsh TI-based GSM firmwares provide a rich set of Test Mode commands |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
134 that can be issued through the RVTMUX (debug trace) serial |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
135 channel, used for L1/RF test functions, production line RF |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
136 calibration, FFS (flash file system) access, audio configuration |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
137 and other miscellany. fc-tmsh is our test mode shell for |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
138 sending these Test Mode commands to targets and displaying |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
139 decoded target responses; it works through rvinterf. fc-tmsh |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
140 supports all Test Mode commands (both TM3 and ETM) implemented |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
141 in our target firmwares except FFS access; use fc-fsio for the |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
142 latter. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
143 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
144 fc-vm2hex This utility converts the old-fashioned (non-AMR) voice memo |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
145 files read out of FFS into hex strings that can be analyzed by |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
146 a human or further fed to fc-tch2fr. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
147 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
148 imei-luhn A simple utility for computing or verifying the Luhn check |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
149 digit of an IMEI number. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
150 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
151 pirexplore This is a run-from-RAM (no flashing) program for Pirelli DP-L10 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
152 phones that exercises their peripheral hardware, primarily their |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
153 LCD. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
154 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
155 rvtdump This tool produces a human-readable dump of all output emitted |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
156 by a TI-based GSM fw on the RVTMUX binary packet interface. It |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
157 can also log this dump to a file. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
158 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
159 tfc139 This tool breaks into Mot C1xx phones via shellcode injection, |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
160 a method that works despite any bootloader locks, allowing you |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
161 to reflash locked phones with new firmware with fc-loadtool. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
162 The name of the utility is historical: previously it was |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
163 specific to TFC139 phones (C139s sold with TracFone branding), |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
164 but the current version is expected to work with all Mot C1xx |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
165 firmware versions. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
166 |
244
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
167 tiaud-compile This utility compiles an audio mode configuration table for TI's |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
168 Audio Service from our own ASCII source format into the binary |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
169 format for uploading into FreeCalypso GSM device FFS with |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
170 fc-fsio. |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
171 |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
172 tiaud-decomp This utility decodes TI's audio mode configuration files read |
244
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
173 out of FFS into our own ASCII format. It is the reverse of the |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
174 operation performed by tiaud-compile. |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
175 |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
176 tiaud-mkvol This utility is a companion to tiaud-compile that generates the |
97d6d593ffc6
doc/Host-tools-overview: tiaud-compile and tiaud-mkvol documented
Mychaela Falconia <falcon@freecalypso.org>
parents:
216
diff
changeset
|
177 *.vol binary files which need to accompany the main *.cfg ones. |
216
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
178 |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
179 tiffs, These tools perform "in vitro" analysis of flash file system |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
180 mokoffs, (FFS) images read out of GSM devices with TI-based firmwares. |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
181 pirffs You can list and extract the FFS content captured as a raw |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
182 flash image, and even perform a few "forensic" operations along |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
183 the lines of reading deleted files and seeing the history of |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
184 FFS modifications. tiffs is the main program, whereas mokoffs |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
185 and pirffs are convenience wrappers for the common FFS |
7e3e3a958e3f
doc/Host-tools-overview: updated and simplified
Mychaela Falconia <falcon@freecalypso.org>
parents:
154
diff
changeset
|
186 configurations from Openmoko and Pirelli. |