annotate loadtools/scripts/c155.config @ 645:14826aa2db26

SIM integration: sim.c compiles; massive cleaning for readability
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Wed, 03 Sep 2014 22:11:25 +0000
parents fe9e620c89ff
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
420
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
1 # This configuration is for Motorola C155/156 phones. Use the "generic"
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
2 # compal configuration for C11x/123 and C139/140.
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
3
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
4 compal-stage thumb
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
5
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
6 # Parameters for the Calypso boot ROM;
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
7 # will result in the ARM core being clocked at 52 MHz as we want.
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
8
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
9 pll-config 4/1
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
10 rhea-cntl 0x00
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
11
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
12 # The remaining settings are carried out via loadagent commands
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
13 init-script c155.init
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
14
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
15 # Flash: use CFI autodetection, 8 MiB max
479
fe9e620c89ff loadtools on C155/156: use the flash mapping at 0x03000000
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 420
diff changeset
16 # Unlike C139, C155 and C156 phones do have working flash mapping at 0x03000000
fe9e620c89ff loadtools on C155/156: use the flash mapping at 0x03000000
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents: 420
diff changeset
17 flash cfi-8M 0x03000000
420
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
18
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
19 # bottom boot flash, sector 0 is only 8 KiB
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
20 boot-reflash-hack 0x820000 0x2000
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
21
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
22 # Perform a Iota poweroff when we are done
57c681499f48 loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff changeset
23 exit-mode iota-off