FreeCalypso > hg > fc-magnetite
annotate blobs/patches/main-fchw.patch @ 662:8cd8fd15a095
SIM speed enhancement re-enabled and made configurable
TI's original code supported SIM speed enhancement, but Openmoko had it
disabled, and OM's disabling of speed enhancement somehow caused certain
SIM cards to start working which didn't work before (OM's bug #666).
Because our FC community is much smaller in year 2020 than OM's community
was in their day, we are not able to find one of those #666-affected SIMs,
thus the real issue they had encountered remains elusive. Thus our
solution is to re-enable SIM speed enhancement and simply wait for if
and when someone runs into a #666-affected SIM once again. We provide
a SIM_allow_speed_enhancement global variable that allows SIM speed
enhancement to be enabled or disabled per session, and an /etc/SIM_spenh
file in FFS that allows it to enabled or disabled on a non-volatile
basis. SIM speed enhancement is now enabled by default.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 24 May 2020 05:02:28 +0000 |
parents | acb07ce22054 |
children |
rev | line source |
---|---|
55
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # This patch applies to the Init_Target() function in the init.obj module in |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 # main.lib; it is an example of how this code will need to be patched for |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 # running on our own future FreeCalypso hardware if we choose to use the same |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 # Spansion S71PL129NC0 flash+pSRAM MCP as used in the Pirelli DP-L10 and use |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 # the same memory timings as set by Pirelli's firmware. |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 [init.obj] |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 # value goes into nCS0, nCS1 and nCS3 config registers |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 .text 66 A4 |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 # value goes into nCS2 config reg |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 .text 6C A4 |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 # nop out the write into 0x02700000 |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 .text 128 C0 |
acb07ce22054
blobs/patches: a couple of patched libs imported from tcs211-patches
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 .text 129 46 |