From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 28 08:22:40 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3D7216A400; Wed, 28 Jun 2006 08:22:40 +0000 (UTC) (envelope-from matt@genesi-usa.com) Received: from mail.genesippc.com (mithrandir.softwarenexus.net [66.98.186.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E6C143D48; Wed, 28 Jun 2006 08:22:40 +0000 (GMT) (envelope-from matt@genesi-usa.com) Received: from p54b0ff10.dip.t-dialin.net ([84.176.255.16] helo=yukito) by mail.genesippc.com with esmtpa (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FvVFv-000LdA-8Q; Wed, 28 Jun 2006 08:18:39 +0000 From: "Matt Sealey" To: , "'Peter Grehan'" Date: Wed, 28 Jun 2006 03:22:32 -0500 Organization: Genesi Message-ID: <008201c69a8c$039bf810$99dfdfdf@bakuhatsu.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcaaIndv9oBuvUb+Sjq1EMYjx3/lgAAYVxjAAAHwUHA= In-Reply-To: <007701c69a85$08ec9c90$99dfdfdf@bakuhatsu.net> Cc: freebsd-ppc@freebsd.org Subject: RE: FreeBSD 6.0 on Pegasos/ODW X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: matt@genesi-usa.com List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Jun 2006 08:22:40 -0000 I just had a thought: The kernel says it's loaded at 0x130788. That's within the first 2MB of memory on the system. It MAY be that we're writing the kernel over the OpenFirmware copy and the stack (which works backwards from the OF image if I remember correctly) or something like that. How does FreeBSD allocate it's memory from the point the kernel is loaded, through claim or just assuming it owns it all at that point? Having it put the kernel somewhere after the first 32MB would be a good test. Our load-base variable is set to 0x4000000 so the loader goes there. I will see if I can get you guys a decent copy of the memory map.. -- Matt Sealey Manager, Genesi, Developer Relations