diff loadtools/scripts/gen4.config @ 561:392525355ee7

loadtools/scripts: gtm900.config renamed to gen4.config It turns out that a GTM900 variant exists with 8 MiB flash, thus -h gen8 needs to be used for GTM900 modules as the general case, and the old -h gtm900 config is best renamed to -h gen4, although not currently official for any actual target.
author Mychaela Falconia <falcon@freecalypso.org>
date Thu, 30 Jan 2020 07:10:20 +0000
parents loadtools/scripts/gtm900.config@26bb2c069427
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loadtools/scripts/gen4.config	Thu Jan 30 07:10:20 2020 +0000
@@ -0,0 +1,20 @@
+# This config is meant to be applicable to most "generic" or "vanilla"
+# Calypso devices with just the following properties expected:
+#
+# * Calypso chip is C035, meaning it's ok to run the PLL at 104 MHz
+#   and give 52 MHz to the ARM7;
+# * There is one flash bank on nCS0 and one XRAM bank on nCS1;
+# * No more than 4 MiB flash, thus no ADD22.
+
+# 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
+
+# Flash configuration
+flash single-4M 0x03000000
+
+# Perform a Iota poweroff when we are done
+exit-mode iota-off