FreeCalypso > hg > freecalypso-tools
annotate loadtools/scripts/leonardo.config @ 585:d3e2b23ebf1d
doc/Target-boot-control: finished for now
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Mon, 03 Feb 2020 05:22:21 +0000 |
parents | 0093bf43c813 |
children |
rev | line source |
---|---|
555
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
1 # Most Leonardo boards will probably have Calypso C035 chips on them, |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
2 # but we know that some very early Leonardo boards had been built with |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
3 # Calypso C05B, thus we need to stay within the lower clock frequency |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
4 # limits of the latter. |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
5 |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
6 # The following parameters go into the <p command sent to the boot ROM |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
7 pll-config 3/1 # 26 MHz in, PLL&DSP @ 78 MHz, ARM @ 39 MHz |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
8 rhea-cntl 0x00 # good for all Calypso platforms |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
9 |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
10 # The remaining settings are carried out via loadagent commands |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
11 init-script cs2-4ws-8mb.init |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
12 |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
13 # There had been many Leonardo board variants with different flash chips, |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
14 # including a version with a second flash chip select on nCS2 - thus nCS2 |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
15 # is considered to be reserved for flash in the Leonardo family. |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
16 flash dual-8M 0x03000000 0x01800000 |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
17 |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
18 # Perform a Iota poweroff when we are done |
0093bf43c813
loadtools/scripts: added leonardo and tango configs
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff
changeset
|
19 exit-mode iota-off |