annotate loadtools/scripts/compal.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 326363ba5bf4
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
383
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 # Set WS=3 for both nCS0 and nCS1. This configuration is used by OsmocomBB
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 # for all 3 Compal models (E86/88/99), and is also seen in the IDA disassembly
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3 # listing of c115-1.0.46.E firmware contributed by Christophe Devine.
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5 w16 fffffb00 00A3
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 w16 fffffb02 00A3
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8 # We need to set the FFFF:FB10 register to map the flash (not the boot ROM)
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 # to address 0. We need this mapping in order to be able to dump and program
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 # the entire flash, as for some reason the alternate nCS0 mapping at 0x03000000
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11 # does not work on Compal phones. (That alternate mapping works fine on
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 # Openmoko and Pirelli phones, though. Perhaps the different Calypso chip
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 # version is the culprit, or perhaps this alternate mapping works only if the
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14 # physical nIBOOT pin is low.)
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15
326363ba5bf4 loadtools: compal.config and compal.init created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
16 w16 fffffb10 0300