FreeCalypso > hg > freecalypso-sw
view loadtools/scripts/compal.init @ 923:10b4bed10192
gsm-fw/L1: fix for the DSP patch corruption bug
The L1 code we got from the LoCosto fw contains a feature for DSP CPU load
measurement. This feature is a LoCosto-ism, i.e., not applicable to earlier
DBB chips (Calypso) with their respective earlier DSP ROMs. Most of the
code dealing with that feature is conditionalized as #if (DSP >= 38),
but one spot was missed, and the MCU code was writing into an API word
dealing with this feature. In TCS211 this DSP API word happens to be
used by the DSP code patch, hence that write was corrupting the patched
DSP code.
author | Mychaela Falconia <falcon@ivan.Harhan.ORG> |
---|---|
date | Mon, 19 Oct 2015 17:13:56 +0000 |
parents | 326363ba5bf4 |
children |
line wrap: on
line source
# Set WS=3 for both nCS0 and nCS1. This configuration is used by OsmocomBB # for all 3 Compal models (E86/88/99), and is also seen in the IDA disassembly # listing of c115-1.0.46.E firmware contributed by Christophe Devine. w16 fffffb00 00A3 w16 fffffb02 00A3 # We need to set the FFFF:FB10 register to map the flash (not the boot ROM) # to address 0. We need this mapping in order to be able to dump and program # the entire flash, as for some reason the alternate nCS0 mapping at 0x03000000 # does not work on Compal phones. (That alternate mapping works fine on # Openmoko and Pirelli phones, though. Perhaps the different Calypso chip # version is the culprit, or perhaps this alternate mapping works only if the # physical nIBOOT pin is low.) w16 fffffb10 0300