From owner-freebsd-ppc@FreeBSD.ORG Thu Jun 1 13:56:51 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 61ED016A44B; Thu, 1 Jun 2006 13:56:51 +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 1ECEB43D48; Thu, 1 Jun 2006 13:56:50 +0000 (GMT) (envelope-from matt@genesi-usa.com) Received: from p54b0f09d.dip.t-dialin.net ([84.176.240.157] helo=yukito) by mail.genesippc.com with esmtpa (Exim 4.62 (FreeBSD)) (envelope-from ) id 1FlncO-000FWB-6T; Thu, 01 Jun 2006 13:53:44 +0000 From: "Matt Sealey" To: "'Peter Grehan'" , "'Aditya Godbole'" , Date: Thu, 1 Jun 2006 08:56:48 -0500 Organization: Genesi Message-ID: <00cf01c68583$3d2b5da0$99dfdfdf@bakuhatsu.net> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <4b178a13.c18b236b.81b8e00@dommail.onthenet.com.au> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 Thread-Index: AcaFcYjTDphiXxYsRVe3qtqfGpC36AAEXJQg Cc: Subject: RE: Booting from u-boot 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, 01 Jun 2006 13:56:51 -0000 > >openfirmware code. In other words, implement the 'openfirmware' > >function in the kernel itself and use it. > > That is an interesting approach, though you may end up doing > just as much work in writing the emulation code as if you > removed the dependency on openfirmware in the kernel. > > >Has anyone done this before? > > Not to my knowledge. This kind of approach is used by Sun in their SPARC Solaris ports, as the "OpenBootPROM" implementation never got past a certain stage, instead they have enough to find the disks, ethernet, load a filesystem, and then the boot loader layers on top a more "compatible" OpenFirmware representation which presents to the real OS. The OF on Apple is a little better/more complete and of course the Genesi OpenFirmware kicks it's ass even more :3 -- Matt Sealey Manager, Genesi, Developer Relations