From owner-freebsd-ppc@FreeBSD.ORG Fri Jun 30 08:32:36 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 D60F216A416; Fri, 30 Jun 2006 08:32:36 +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 662E64428B; Fri, 30 Jun 2006 08:32:36 +0000 (GMT) (envelope-from matt@genesi-usa.com) Received: from p54b0d58f.dip.t-dialin.net ([84.176.213.143] helo=yukito) by mail.genesippc.com with esmtpa (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FwEMZ-000DSH-3x; Fri, 30 Jun 2006 08:28:31 +0000 From: "Matt Sealey" To: "'Peter Grehan'" Date: Fri, 30 Jun 2006 03:32:27 -0500 Organization: Genesi Message-ID: <011f01c69c1f$bb0c1bd0$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 In-Reply-To: <44A436FD.4010906@freebsd.org> Thread-Index: AcabuWkH/eqAlYjXT8+1mFQJw1O+RwAZX3Ng 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: Fri, 30 Jun 2006 08:32:36 -0000 > -----Original Message----- > From: Peter Grehan [mailto:grehan@freebsd.org] > Sent: Thursday, June 29, 2006 3:24 PM > To: matt@genesi-usa.com > Cc: freebsd-ppc@freebsd.org > Subject: Re: FreeBSD 6.0 on Pegasos/ODW > > Hi Matt, > > > memmap before loading kernel: > > > > Virtual Range Physical Range #Pages Mode > > > > memmap after "load kernel": > > > > Virtual Range Physical Range #Pages Mode > > > > .. nothing! :) > > That's a major problem. FreeBSD (and NetBSD) keep ofw > resident, and rely on the ofw memmap to not blow it away > after the kernel has been loaded, and also to reconstruct the > same virtual space that ofw was using when calling back into it. I understood that from the very beginning. So... what is FreeBSD doing wrong here? Or what bug did we find in the firmware? The Linux chrp bootloader gets the memory map properties okay. Where's the code for this so I can show it to the guy who can instantly say "this is wrong" or "uhh I forgot to code that property!" :) > > What exactly DO I need to compile FreeBSD? > > A PC running FreeBSD >= 6.*, and a source tree > > # cd /src > # make buildworld TARGET_ARCH=powerpc > # make buildkernel TARGET_ARCH=powerpc Okay I have access to one now (thanks Peter Czanik :) How do I get a PPC compiler onto there or does every FreeBSD ship with one now it's a real release platform? This won't destroy any compiles or objects he made will it? I mean it's not supposed to but it WON'T, right? :D -- Matt Sealey Manager, Genesi, Developer Relations