From owner-freebsd-ppc@FreeBSD.ORG Thu Jun 1 11:52:52 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 F333D16B449 for ; Thu, 1 Jun 2006 11:52:51 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6A92B43D45 for ; Thu, 1 Jun 2006 11:52:50 +0000 (GMT) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (localhost.onthenet.com.au [127.0.0.1]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id BWG88617; Thu, 1 Jun 2006 21:52:44 +1000 (EST) Received: from 12.197.38.130 by dommail.onthenet.com.au (MOS 3.5.7-GR) with HTTP/1.1; Thu, 1 Jun 2006 21:52:44 +1000 Date: Thu, 1 Jun 2006 21:52:44 +1000 From: Peter Grehan To: Aditya Godbole , freebsd-ppc@freebsd.org X-Mailer: Mirapoint Webmail Direct 3.5.7-GR MIME-Version: 1.0 Message-Id: <4b178a13.c18b236b.81b8e00@dommail.onthenet.com.au> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: Subject: Re: Booting from u-boot X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list 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 11:52:54 -0000 >I want to get the kernel to boot from u-boot. U-boot >passes device tree information in a format derived from >the openfirmware specifications. The format is available >here -http://ozlabs.org/pipermail/linuxppc64-dev/2005-December/006994.html > >I was thinking of writing an openfirmware emulator code >that will map the information given by u-boot to the format >expected by the freebsd 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. later, Peter.