changeset 86:2f12c31fcc9c

loadtools/scripts: hw configuration for GTA02
author Michael Spacefalcon <msokolov@ivan.Harhan.ORG>
date Tue, 20 Aug 2013 07:02:36 +0000
parents 6f8d3771aa6c
children 321f6a9ae989
files loadtools/scripts/gta02.config loadtools/scripts/k5a3281.init
diffstat 2 files changed, 22 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/loadtools/scripts/gta02.config	Tue Aug 20 05:14:45 2013 +0000
+++ b/loadtools/scripts/gta02.config	Tue Aug 20 07:02:36 2013 +0000
@@ -4,3 +4,12 @@
 # fully upon exit.
 
 exit-mode gta02-cutpwr
+
+# The following parameters go into the <p command sent to the boot ROM
+# same values as in pirelli.config, apparently correct for this modem too
+
+pll-config 4/1		# 26 MHz in, PLL&DSP @ 104 MHz, ARM @ 52 MHz
+rhea-cntl 0x00		# fastest setting, used by OsmocomBB, presumably correct
+
+# Configure memory timings with loadagent commands
+init-script k5a3281.init
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/loadtools/scripts/k5a3281.init	Tue Aug 20 07:02:36 2013 +0000
@@ -0,0 +1,13 @@
+# The RAM+flash MCP in the GTA02 GSM modem block is SEC K5A3281CTM.
+# The closest datasheet that could be found is for K5A3280;
+# all current understanding of this IC is based on the latter datasheet.
+
+# The flash part of the MCP is wired to nCS0.  The access time is 70 ns
+# just like on the flash part used in the Pirelli DP-L10, so use the
+# same setting.
+w16 fffffb00 00A4
+
+# The RAM part of this MCP (wired to nCS1 as usual) appears to be real
+# SRAM, not pSRAM like in S71PL129NC0.  The access time is advertised
+# as 55 ns, and OsmocomBB sets WS to 3.  We'll do the same.
+w16 fffffb02 00A3