FreeCalypso > hg > freecalypso-sw
comparison loadtools/scripts/compal.init @ 383:326363ba5bf4
loadtools: compal.config and compal.init created
| author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
|---|---|
| date | Tue, 10 Jun 2014 07:37:29 +0000 |
| parents | |
| children |
comparison
equal
deleted
inserted
replaced
| 382:a2210b0361c1 | 383:326363ba5bf4 |
|---|---|
| 1 # Set WS=3 for both nCS0 and nCS1. This configuration is used by OsmocomBB | |
| 2 # for all 3 Compal models (E86/88/99), and is also seen in the IDA disassembly | |
| 3 # listing of c115-1.0.46.E firmware contributed by Christophe Devine. | |
| 4 | |
| 5 w16 fffffb00 00A3 | |
| 6 w16 fffffb02 00A3 | |
| 7 | |
| 8 # We need to set the FFFF:FB10 register to map the flash (not the boot ROM) | |
| 9 # to address 0. We need this mapping in order to be able to dump and program | |
| 10 # the entire flash, as for some reason the alternate nCS0 mapping at 0x03000000 | |
| 11 # does not work on Compal phones. (That alternate mapping works fine on | |
| 12 # Openmoko and Pirelli phones, though. Perhaps the different Calypso chip | |
| 13 # version is the culprit, or perhaps this alternate mapping works only if the | |
| 14 # physical nIBOOT pin is low.) | |
| 15 | |
| 16 w16 fffffb10 0300 |
