FreeCalypso > hg > freecalypso-sw
comparison loadtools/scripts/compal.config @ 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 | 134c047c1269 |
comparison
equal
deleted
inserted
replaced
| 382:a2210b0361c1 | 383:326363ba5bf4 |
|---|---|
| 1 # This configuration is intended to be applicable to all of C11x, C123, | |
| 2 # C139 and C140. The "plain" version of compalstage selected below | |
| 3 # should work for all C11x/123; it will also work on C139/140 phones | |
| 4 # that had the simpler boot code flashed into them, as will be used for | |
| 5 # FreeCalypso. When running loadtools with this config on C139/140 | |
| 6 # phones that still have the "official" fw in them, one will need to | |
| 7 # specify -h compal -c 1003 to use the inefficient ~15 KiB version of | |
| 8 # compalstage. | |
| 9 | |
| 10 compal-stage plain | |
| 11 | |
| 12 # Whether we are breaking in through compalstage (as above) or through | |
| 13 # tfc139, the re-enabled Calypso boot ROM is used to load our loadagent | |
| 14 # into IRAM. The boot ROM will autodetect the Calypso input clock as | |
| 15 # 26 MHz (physical reality) when entered through compalstage, or as | |
| 16 # 13 MHz when entered through tfc139 - the latter results from the | |
| 17 # original fw setting bit 7 in the FFFF:FD02 register (VTCXO_DIV2), | |
| 18 # which the boot ROM does not clear. | |
| 19 # | |
| 20 # However, the following configuration will result in the ARM core | |
| 21 # being clocked at 52 MHz in both cases. | |
| 22 | |
| 23 pll-config 4/1 | |
| 24 rhea-cntl 0x00 | |
| 25 | |
| 26 # The remaining settings are carried out via loadagent commands | |
| 27 init-script compal.init |
