FreeCalypso > hg > freecalypso-tools
annotate loadtools/scripts/leonardo.config @ 926:6a0aa8d36d06
rvinterf backslash escape: introduce libprint
The new helper function library named libprint is meant to replace
the badly misnamed libg23, and will soon contain functions for
printing all of the same kinds of GPF TST packets that are now handled
in libg23. However, we are also moving safe_print_trace() from libasync
to this new library, and changing it to emit our new backslash escape
format.
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Tue, 23 May 2023 03:47:46 +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 |