comparison loadtools/scripts/compal.config @ 0:e7502631a0f9

initial import from freecalypso-sw rev 1033:5ab737ac3ad7
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 11 Jun 2016 00:13:35 +0000
parents
children 49ee210fc4fb
comparison
equal deleted inserted replaced
-1:000000000000 0:e7502631a0f9
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
28
29 # Flash: use CFI autodetection, 4 MiB max
30 # mapped at 0, see compal.init for the explanation
31 flash cfi-4M 0
32
33 boot-reflash-hack 0x820000 0x10000
34
35 # Perform a Iota poweroff when we are done
36 exit-mode iota-off