FreeCalypso > hg > freecalypso-sw
annotate loadtools/scripts/c155.config @ 434:3822f3b198d4
fc-serterm: written
author | Michael Spacefalcon <msokolov@ivan.Harhan.ORG> |
---|---|
date | Sun, 22 Jun 2014 01:21:10 +0000 |
parents | 57c681499f48 |
children | fe9e620c89ff |
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 |
57c681499f48
loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
16 # mapped at 0, see compal.init for the explanation |
57c681499f48
loadtools/scripts/c155.{config,init}: created
Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
parents:
diff
changeset
|
17 flash cfi-8M 0 |
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 |