annotate loadtools/scripts/k5a3281.init @ 884:353daaa6014d

gsm-fw/gpf/conf/gsmcomp.c: increased max partition in the voice-only config The code we got from TCS211 had the maximum prim pool partition size set to 900 bytes in the voice-only config (no FAX_AND_DATA, no GPRS) and to 1600 bytes in every other config. As it turns out, this "minimized" config breaks when the AT command interface is used with %CPI enabled, as the responsible code in ATI does an ACI_MALLOC of 1012 bytes. TI may have considered this case to be unsupported usage (perhaps they didn't care about the combination of a voice-only PS with AT command control), but we do want this use case to work without crashing. Solution: I made the largest prim pool the same as it is with FAX_AND_DATA: 3 partitions of 1600 bytes.
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 27 Jun 2015 07:31:30 +0000
parents f8bb6cd4edd3
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
86
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 # The RAM+flash MCP in the GTA02 GSM modem block is SEC K5A3281CTM.
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 # The closest datasheet that could be found is for K5A3280;
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 # all current understanding of this IC is based on the latter datasheet.
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
141
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
5 # OsmocomBB sets WS=3 for both nCS0 and nCS1. At first I was concerned that
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
6 # the setting was wrong for nCS0, but I have now located the responsible
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
7 # code in the moko11 binary (see the moko11 notes file in the
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
8 # freecalypso-reveng Hg tree) and confirmed that the official firmware
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
9 # runs with the same settings. So let's do likewise.
86
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10
141
f8bb6cd4edd3 k5a3281.init (for GTA0x): set WS=3 for nCS0 like the official firmware does
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 86
diff changeset
11 w16 fffffb00 00A3
86
2f12c31fcc9c loadtools/scripts: hw configuration for GTA02
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 w16 fffffb02 00A3