From owner-freebsd-ppc@FreeBSD.ORG Wed May 31 06:39:42 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 6382416A420 for ; Wed, 31 May 2006 06:39:42 +0000 (UTC) (envelope-from aag.lists@gmail.com) Received: from py-out-1112.google.com (py-out-1112.google.com [64.233.166.183]) by mx1.FreeBSD.org (Postfix) with ESMTP id F16D843D5A for ; Wed, 31 May 2006 06:39:41 +0000 (GMT) (envelope-from aag.lists@gmail.com) Received: by py-out-1112.google.com with SMTP id o67so497756pye for ; Tue, 30 May 2006 23:39:41 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=eaD7Dy6amGiyT8/rBlP9PVG+CXMlFbglHqvwVnC2vfsqheMvH6BvsbMb+SDvK7CbcA0U4ltdg6kPeIHFZ00IgoUGmKt21QVw/RW5S6tqEk0GVf6bDtqQZ4J2T4M57rkGpH6MtXBqES4X7mle268KOZHA4U4j6ogho+uQDM3JYB8= Received: by 10.35.36.13 with SMTP id o13mr3679175pyj; Tue, 30 May 2006 23:39:41 -0700 (PDT) Received: by 10.35.50.12 with HTTP; Tue, 30 May 2006 23:39:41 -0700 (PDT) Message-ID: <2f3a439f0605302339y25f5081cuab8e79467043490b@mail.gmail.com> Date: Wed, 31 May 2006 12:09:41 +0530 From: "Aditya Godbole" To: freebsd-ppc@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: 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: Wed, 31 May 2006 06:40:02 -0000 Hi, 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. Has anyone done this before? Any information on what functionality I would need to provide and pointers to some conclusive documentation would be useful. -aditya