annotate loadtools/scripts/compal.config @ 391:8bbdf5221b24

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