view loadtools/scripts/c155.init @ 867:c4da570dca83

int_osx_receive_prim() in gsm-fw/gpf/osx/osx.c: there was an error in the reconstruction of this function from disassembly in the logic that implements special handling for MPHC_RXLEV_REQ messages. The code is now fixed to properly match what the binary object version does; with this fix the firmware now performs the power measurement phase correctly and the initial network registration succeeds.
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sat, 16 May 2015 06:34:09 +0000
parents fe9e620c89ff
children
line wrap: on
line source

# Set WS=3 for both nCS0 and nCS1, same as the more basic Compal phones

w16 fffffb00 00A3
w16 fffffb02 00A3

# We need to switch the CS4/ADD22 pin from its default function of CS4
# to the needed ADD22, to access the 8 MiB of flash.  Compal's C155/156
# in-flash boot code does this setting, but let's do it ourselves too.

w16 fffef006 0008

# We don't mess with the FFFF:FB10 register on C155/156, i.e., we
# leave the "enable boot ROM" setting established by compalstage.
# Unlike C139, C155 and C156 phones do have working flash mapping
# at 0x03000000, so we use that.