From owner-freebsd-ppc@FreeBSD.ORG Wed Jun 28 09:07:20 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 AF78D16A40E; Wed, 28 Jun 2006 09:07:20 +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 66E66446F5; Wed, 28 Jun 2006 09:07:20 +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 1FvVx8-000Ml4-EO; Wed, 28 Jun 2006 09:03:20 +0000 From: "Matt Sealey" To: "'Peter Grehan'" Date: Wed, 28 Jun 2006 04:07:11 -0500 Organization: Genesi Message-ID: <008401c69a92$4125b210$99dfdfdf@bakuhatsu.net> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 11 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcaaIndv9oBuvUb+Sjq1EMYjx3/lgAAYVxjAAAHwUHAAAah2gA== In-Reply-To: <008201c69a8c$039bf810$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 09:07:20 -0000 Talking to myself again..=20 I booted the kernel (boot cd boot/kernel/kernel) directly and it does = exactly the same thing (Cpppp) but with a warning that there was no = kernel metadata loaded. I did a little test booting the 6.0 CD on PearPC, which doesn't even get = into the loader; it claims memory that is already in use (ironically = exactly the memory that PearPC is using for it's page table). So.. perplexing. -- Matt Sealey Manager, Genesi, Developer Relations=20 > -----Original Message----- > From: Matt Sealey [mailto:matt@genesi-usa.com]=20 > Sent: Wednesday, June 28, 2006 3:23 AM > To: matt@genesi-usa.com; 'Peter Grehan' > Cc: freebsd-ppc@freebsd.org > Subject: RE: FreeBSD 6.0 on Pegasos/ODW >=20 >=20 > I just had a thought: >=20 > The kernel says it's loaded at 0x130788. >=20 > That's within the first 2MB of memory on the system. >=20 > It MAY be that we're writing the kernel over the OpenFirmware=20 > copy and the stack (which works backwards from the OF image=20 > if I remember > correctly) or something like that. >=20 > How does FreeBSD allocate it's memory from the point the=20 > kernel is loaded, through claim or just assuming it owns it=20 > all at that point? >=20 > Having it put the kernel somewhere after the first 32MB would=20 > be a good test. Our load-base variable is set to 0x4000000 so=20 > the loader goes there. I will see if I can get you guys a=20 > decent copy of the memory map.. >=20 > -- > Matt Sealey > Manager, Genesi, Developer Relations >=20 >=20