AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20081103101527.1ffdb610@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:exch1.onstor.net
NSV:
SSH:
R:<bfisher@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
RMID:#imap/andys@onstor.net@exch1.onstor.net/INBOX	0	490BB9DD.3010307@onstor.com
X-Sylpheed-End-Special-Headers: 1
Date: Mon, 3 Nov 2008 10:15:31 -0800
From: Andrew Sharp <andy.sharp@onstor.com>
To: Bill Fisher <bfisher@onstor.com>
Subject: Re: Memory Map of SSC and TxRx; Separate Views
Message-ID: <20081103101531.66b217ef@ripper.onstor.net>
In-Reply-To: <490BB9DD.3010307@onstor.com>
References: <490B9183.3080604@onstor.com>
	<2779531E7C760D4491C96305019FEEB5175A83C996@exch1.onstor.net>
	<20081031182414.41c711dd@ripper.onstor.net>
	<490BB9DD.3010307@onstor.com>
Organization: Onstor
X-Mailer: Sylpheed-Claws 2.6.0 (GTK+ 2.8.20; x86_64-pc-linux-gnu)
Mime-Version: 1.0
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

No, it shouldn't be all zeroes like that.  Looks like the code isn't
being copied or something.

On Fri, 31 Oct 2008 19:07:25 -0700 Bill Fisher <bfisher@onstor.com>
wrote:

> Andy Sharp wrote:
> > current prom on ssc autoload loads it to 4200...
> > 
> > which doesn't jibe with the docs that bill showed me, but it must be
> > what the txrx prom is using as a source address.  i assume that the
> > txrx prom waits for the magical address to get written with the
> > magical word, and then copies the image from 4200 to 8200 or 8300
> > or wherever the txrx load/start address is.
> > 
> > do i have that right?  the txrx prom copies the image to the real
> > load address?  if that's the case, then we would have to do that
> > step by hand if we aren't using autoload on the txrx prom?
> > 
> 
> 	Ok, I rebuilt the linux kernel "SWARM" with the starting
> address at 83000000 and get the following failure.
> 
> > Initializing Autoloader, hit control-E to bypass
> > ................................................................................
> > 
> > Type ctrl-e to stop autoload.
> > Waiting for TXRX image to be loaded...done
> > 
> > Exception Cause=Sys (0000000000008020)
> > EPC = 0xffffffff8300729c
> > ERREPC = 0x26c50da6
> > BADVADDR = 0xf6300efeffa0eb1e
> > RA = 0x0
> 
> 
> =====================
> 
> I verified the _text address in the kernel is 0x83000000 and the conv
> run fine.
> 
> I find the following code loaded around 0x83000000 after dumping
> memory on the txrx:
> 
> 
> > TXRX0-PROM> d -w 83000000 256
> > ffffffff83000000  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000010  00000000 00000000
> > 00000000 00000000   ................ ffffffff83000020  00000000
> > 00000000  00000000 00000000   ................ ffffffff83000030
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000040  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000050  00000000 00000000
> > 00000000 00000000   ................ ffffffff83000060  00000000
> > 00000000  00000000 00000000   ................ ffffffff83000070
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000080  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000090  00000000 00000000
> > 00000000 00000000   ................ ffffffff830000a0  00000000
> > 00000000  00000000 00000000   ................ ffffffff830000b0
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff830000c0  00000000 00000000  00000000
> > 00000000   ................ ffffffff830000d0  00000000 00000000
> > 00000000 00000000   ................ ffffffff830000e0  00000000
> > 00000000  00000000 00000000   ................ ffffffff830000f0
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000100  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000110  00000000 00000000
> > 00000000 00000000   ................ ffffffff83000120  00000000
> > 00000000  00000000 00000000   ................ ffffffff83000130
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000140  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000150  00000000 00000000
> > 00000000 00000000   ................ ffffffff83000160  00000000
> > 00000000  00000000 00000000   ................ ffffffff83000170
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000180  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000190  00000000 00000000
> > 00000000 00000000   ................ ffffffff830001a0  00000000
> > 00000000  00000000 00000000   ................ ffffffff830001b0
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff830001c0  00000000 00000000  00000000
> > 00000000   ................ ffffffff830001d0  00000000 00000000
> > 00000000 00000000   ................ ffffffff830001e0  00000000
> > 00000000  00000000 00000000   ................ ffffffff830001f0
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000200  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000210  00000000 00000000
> > 00000000 00000000   ................ ffffffff83000220  00000000
> > 00000000  00000000 00000000   ................ ffffffff83000230
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000240  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000250  00000000 00000000
> > 00000000 00000000   ................ ffffffff83000260  00000000
> > 00000000  00000000 00000000   ................ ffffffff83000270
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000280  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000290  00000000 00000000
> > 00000000 00000000   ................ ffffffff830002a0  00000000
> > 00000000  00000000 00000000   ................ ffffffff830002b0
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff830002c0  00000000 00000000  00000000
> > 00000000   ................ ffffffff830002d0  00000000 00000000
> > 00000000 00000000   ................ ffffffff830002e0  00000000
> > 00000000  00000000 00000000   ................ ffffffff830002f0
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000300  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000310  00000000 00000000
> > 00000000 00000000   ................ ffffffff83000320  00000000
> > 00000000  00000000 00000000   ................ ffffffff83000330
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000340  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000350  00000000 00000000
> > 00000000 00000000   ................ ffffffff83000360  00000000
> > 00000000  00000000 00000000   ................ ffffffff83000370
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000380  00000000 00000000  00000000
> > 00000000   ................ ffffffff83000390  00000000 00000000
> > 00000000 00000000   ................ ffffffff830003a0  00000000
> > 00000000  00000000 00000000   ................ ffffffff830003b0
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff830003c0  00000000 00000000  00000000
> > 00000000   ................ ffffffff830003d0  00000000 00000000
> > 00000000 00000000   ................ ffffffff830003e0  00000000
> > 00000000  00000000 00000000   ................ ffffffff830003f0
> > 00000000 00000000  00000000 00000000   ................
> > ffffffff83000400  3c028331 3c068331  2445b50c 24c6b480
> > 1..<1..<..E$...$ ffffffff83000410  08c01ca6 ac44b50c  27bdffa0
> > afbf005c   ......D....'\... ffffffff83000420  afb40048 afb30044
> > afb00038 afbe0058   H...D...8...X... ffffffff83000430  afb70054
> > afb60050  afb5004c afb20040   T...P...L...@... ffffffff83000440
> > 0cca5563 afb1003c  24050003 8f840000   cU..<......$....
> > ffffffff83000450  3c138331 0cc08078  3c148334 8f850000
> > 1..<x...4..<.... ffffffff83000460  3c028331 8e64b594  ac45ce4c
> > 3c028335   1..<..d.L.E.5..<
> 
> If I recall correctly "0's" are no-op's under mips. Hence do
> we indeed execute 1024 no-ops before doing real work?
> 
> Do you have an option in pmon to decode memory as instructions?
> 
> I don't see one via the "d" command.
> 
> Later,
> 
> -- Bill
