From owner-freebsd-ppc@FreeBSD.ORG Thu Jun 29 12:18:29 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 D0BA516A410; Thu, 29 Jun 2006 12:18:29 +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 B8EAB43DC0; Thu, 29 Jun 2006 12:18:26 +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 1FvvPb-000CEr-PA; Thu, 29 Jun 2006 12:14:24 +0000 From: "Matt Sealey" To: Date: Thu, 29 Jun 2006 07:18:19 -0500 Organization: Genesi Message-ID: <007c01c69b76$1dbc6550$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: <44A2BF51.9090204@freebsd.org> Thread-Index: Acaa2ZSzh8O5mGvFTCeDq+8o43fETgAnCT7Q 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: Thu, 29 Jun 2006 12:18:29 -0000 > So, I think the overwriting should only occur if ofw is > allowing the loader to claim memory used by the kernel. > > At the loader prompt, issue a 'memmap' command: that should > dump what ofw returns as it's map. You could then load the > kernel (but not boot) and issue 'memmap' again to see what > effect the kernel and env has on the memory map. memmap before loading kernel: Virtual Range Physical Range #Pages Mode memmap after "load kernel": Virtual Range Physical Range #Pages Mode .. nothing! :) > > 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.. > > That could work. You will have to modify the linker script > in sys/conf/ldscript.powerpc to change the load address. Okay that means recompiling stuff then. What exactly DO I need to compile FreeBSD? I've done it before on a PC to install a custom build on another PC, and set up the cross compiler setup *once* but never attempted to use it. The problem is all I have here is this laptop (I am using it in XP right now) and a bunch of Pegasos systems. I might be able to find a Beige G3 Mac somewhere. -- Matt Sealey Manager, Genesi, Developer Relations