annotate loadtools/scripts/c05i.config @ 1011:6d9b10633f10 default tip

etmsync Pirelli IMEI retrieval: fix poor use of printf() Bug reported by Vadim Yanitskiy <fixeria@osmocom.org>: the construct where a static-allocated string was passed to printf() without any format arguments causes newer compilers to report a security problem. Given that formatted output is not needed here, just fixed string output, change printf() to fputs(), and direct the error message to stderr while at it.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 23 May 2024 17:29:57 +0000
parents 8f84b26bd111
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
567
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
1 # The present hw parameter file is a minimal config that is appropriate to use
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
2 # if the target is known to have a Calypso C05 chip and a Iota ABB chip, but
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
3 # nothing else is known. This minimal config is not usable for flash
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
4 # manipulation or for fc-xram, but it may be useful for fc-iram or low-level
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
5 # (non-flash) fc-loadtool operations. This config is also a good choice for
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
6 # fc-buzplay and fc-dspromdump.
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
7
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
8 # The following parameters go into the <p command sent to the boot ROM
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
9 pll-config 3/1 # ARM @ 39 MHz, PLL&DSP @ 78 MHz if 26 MHz in
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
10 rhea-cntl 0x00 # good for all Calypso platforms
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
11
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
12 # Perform a Iota poweroff when we are done
8f84b26bd111 loadtools/scripts: c035i.config and c05i.config created
Mychaela Falconia <falcon@freecalypso.org>
parents:
diff changeset
13 exit-mode iota-off