FreeCalypso > hg > fc-magnetite
annotate scripts/cfg-template @ 636:57e67ca2e1cb
pcmdata.c: default +CGMI to "FreeCalypso" and +CGMM to model
The present change has no effect whatsoever on Falconia-made and Openmoko-made
devices on which /pcm/CGMI and /pcm/CGMM files have been programmed in FFS
with sensible ID strings by the respective factories, but what should AT+CGMI
and AT+CGMM queries return when the device is a Huawei GTM900 or Tango modem
that has been converted to FreeCalypso with a firmware change? Before the
present change they would return compiled-in defaults of "<manufacturer>" and
"<model>", respectively; with the present change the firmware will self-identify
as "FreeCalypso GTM900-FC" or "FreeCalypso Tango" on the two respective targets.
This firmware identification will become important if someone incorporates an
FC-converted GTM900 or Tango modem into a ZeroPhone-style smartphone where some
high-level software like ofono will be talking to the modem and will need to
properly identify this modem as FreeCalypso, as opposed to some other AT command
modem flavor with different quirks.
In technical terms, the compiled-in default for the AT+CGMI query (which will
always be overridden by the /pcm/CGMI file in FFS if one is present) is now
"FreeCalypso" in all configs on all targets; the compiled-in default for the
AT+CGMM query (likewise always overridden by /pcm/CGMM if present) is
"GTM900-FC" if CONFIG_TARGET_GTM900 or "Tango" if CONFIG_TARGET_TANGO or the
original default of "<model>" otherwise.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 19 Jan 2020 20:14:58 +0000 |
parents | 3d772a6268c4 |
children | 8cf3029429f3 |
rev | line source |
---|---|
387
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 [board.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 BOARD 41 |
451
fd1d9063ad40
config mechanism: added ability to build D-Sample B&W UI configuration
Mychaela Falconia <falcon@freecalypso.org>
parents:
387
diff
changeset
|
4 DSAMPLE_FULL_COLOR var |
387
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 [chipset.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 ANLG_FAM 2 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 ANLG_PG 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 CHIPSET var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 [debug.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 TI_NUC_MONITOR 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 TI_PROFILER 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 [dio.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 DIOIL_CONFIG 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
20 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
21 [ffs.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
22 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
23 TARGET 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
24 _RVF 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
25 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
26 [l1sw.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
27 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
28 AMR var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
29 CUST 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
30 DCO_ALGO 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
31 IDS var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
32 L1_12NEIGH 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
33 L1_EOTD 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
34 L1_EOTD_QBIT_ACC 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
35 L1_GPRS var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
36 L1_GTT 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
37 L1_MIDI 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
38 L1_VOICE_MEMO_AMR var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
39 MELODY_E2 var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
40 OP_L1_STANDALONE 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
41 OP_RIV_AUDIO 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
42 ORDER2_TX_TEMP_CAL 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
43 RAZ_VULSWITCH_REGAUDIO 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
44 SECURITY 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
45 SPEECH_RECO var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
46 TESTMODE 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
47 TRACE_TYPE 4 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
48 VCXO_ALGO 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
49 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
50 [r2d.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
51 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
52 R2D_ASM 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
53 R2D_LCD_TEST 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
54 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
55 [rf.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
56 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
57 RF var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
58 RF_FAM var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
59 RF_PA var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
60 RF_PG var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
61 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
62 [rv.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
63 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
64 RVTOOL 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
65 TEST 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
66 _GSM 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
67 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
68 [swconfig.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
69 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
70 ALR 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
71 BT 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
72 DP 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
73 DWNLD 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
74 GSMLITE 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
75 L1_DYN_DSP_DWNLD var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
76 LONG_JUMP 3 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
77 MOVE_IN_INTERNAL_RAM 1 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
78 OP_WCP 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
79 PMODE var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
80 RVDATA_INTERNALRAM 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
81 SRVC var |
456
3d772a6268c4
config mechanism: allow TR_BAUD_CONFIG to be set on ./configure.sh line
Mychaela Falconia <falcon@freecalypso.org>
parents:
451
diff
changeset
|
82 TR_BAUD_CONFIG var |
387
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
83 WCP_PROF 0 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
84 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
85 [sys.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
86 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
87 DSP var |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
88 STD 6 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
89 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
90 [trace.cfg] |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
91 |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
92 LAYER_DBG 0xFFFFFFFF |
a05086335d8e
scripts/cfg-template: template for generating *.cfg files
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
93 TRACE_LEVEL_FILTER 5 |