changeset 513:e8a2634aa265

loadtools/scripts/w220.*: added support for Mot W220 target
author Mychaela Falconia <falcon@freecalypso.org>
date Tue, 28 May 2019 17:49:04 +0000
parents b0f9d38bfd9e
children 5f66dd6e676b
files loadtools/scripts/w220.config loadtools/scripts/w220.init
diffstat 2 files changed, 21 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loadtools/scripts/w220.config	Tue May 28 17:49:04 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 w220.init
+
+# This phone has a single-bank 8 MiB flash chip on nCS0,
+# using the usual 0x03000000 mapping like on other targets
+flash single-8M 0x03000000
+
+# Perform a Iota poweroff when we are done
+exit-mode iota-off
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loadtools/scripts/w220.init	Tue May 28 17:49:04 2019 +0000
@@ -0,0 +1,8 @@
+# This Motorola W220 phone has a single-bank flash chip on nCS0 and
+# XRAM on nCS3 instead of the usual nCS1.  The timings are unknown,
+# so we set a conservative WS=4.  The flash is 8 MiB, so we need to
+# enable ADD22.
+
+w16 fffffb00 00A4
+w16 fffffb06 00A4
+w16 fffef006 0008