AF:
NF:0
PS:10
SRH:1
SFN:
DSR:
MID:<20070912144020.2cf739c1@ripper.onstor.net>
CFG:
PT:0
S:andy.sharp@onstor.com
RQ:
SSV:onstor-exch02.onstor.net
NSV:
SSH:
R:<brian.stark@onstor.com>,<warren.gale@onstor.com>
MAID:1
X-Sylpheed-Privacy-System:
X-Sylpheed-Sign:0
SCF:#mh/Mailbox/sent
X-Sylpheed-End-Special-Headers: 1
Date: Wed, 12 Sep 2007 14:49:55 -0700
From: Andrew Sharp <andy.sharp@onstor.com>
To: Brian Stark <brian.stark@onstor.com>, Warren Gale
 <warren.gale@onstor.com>
Subject: prom is doing something funky, not the chicken
Message-ID: <20070912144955.7e04a73a@ripper.onstor.net>
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

When I boot a kernel which wipes out the prom and takes over all
memory, everything works fine.  When I boot a kernel which tries to
leave the prom intact and not use that memory, the boot process stops
at the same EA every time, can't be a coincidence.

Here is what I get:

COUGAR-PROM> g                       
This kernel optimized for ONStor Cougar board without CFE
Determined physical RAM map:
 memory: 0000000003000000 @ 0000000000000000 (ROM data)
 memory: 0000000002000000 @ 0000000003000000 (usable)
 memory: 0000000003000000 @ 0000000000000000 (ROM data)
 memory: 000000000d000000 @ 0000000003000000 (usable)
 memory: 0000000010000000 @ 0000000080000000 (usable)
Wasting 688128 bytes for tracking 12288 unused pages
832a271c 0200000d break   512
COUGAR-PROM>


You guys can boot it yourselves and see what's going on, just load the
kernel with these prom commands:

bsd rt add 10.0.0.0 255.255.0.0 10.1.1.1
load -a ffffffff83000000 10.0.0.42 vmlinux.cg-memprob

and then start it with 'g'

I can change the code all ways from sunday, so that there is something
different at that address, but it always stops at that address.

Let me know what you think.

Cheers,

a
