changeset 522:26bb2c069427

loadtools/scripts: added experimental support for gtm900 target
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 06 Jun 2019 06:56:32 +0000
parents 6604403aa212
children 9a478d33b3ca
files loadtools/scripts/basic-4ws-4mb.init loadtools/scripts/gtm900.config
diffstat 2 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loadtools/scripts/basic-4ws-4mb.init	Thu Jun 06 06:56:32 2019 +0000
@@ -0,0 +1,9 @@
+# This loadtool init script provides memory interface register setup
+# for targets which fit the following criteria:
+#
+# Classic chip select arrangement: nCS0 for flash and nCS1 for XRAM
+# 4 wait states are to be used (register setting 00A4)
+# No ADD22 - both flash and XRAM are 4 MiB or less
+
+w16 fffffb00 00A4
+w16 fffffb02 00A4
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loadtools/scripts/gtm900.config	Thu Jun 06 06:56:32 2019 +0000
@@ -0,0 +1,13 @@
+# The following parameters go into the <p command sent to the boot ROM
+pll-config 4/1		# 26 MHz in, PLL&DSP @ 104 MHz, ARM @ 52 MHz
+rhea-cntl 0x00		# good for all Calypso platforms
+
+# The remaining settings are carried out via loadagent commands
+init-script basic-4ws-4mb.init
+
+# This modem has a single-bank 4 MiB flash chip on nCS0,
+# using the usual 0x03000000 mapping like on other targets
+flash single-4M 0x03000000
+
+# Perform a Iota poweroff when we are done
+exit-mode iota-off