From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 24 01:25:05 2008 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9FFF7106564A for ; Thu, 24 Jul 2008 01:25:05 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from agogare.doit.wisc.edu (agogare.doit.wisc.edu [144.92.197.211]) by mx1.freebsd.org (Postfix) with ESMTP id 63B368FC08 for ; Thu, 24 Jul 2008 01:25:05 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=ISO-8859-1; format=flowed Received: from avs-daemon.smtpauth2.wiscmail.wisc.edu by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) id <0K4H00F00IHS6C00@smtpauth2.wiscmail.wisc.edu> for powerpc@freebsd.org; Wed, 23 Jul 2008 19:25:04 -0500 (CDT) Received: from trantor.tachypleus.net (adsl-99-153-133-60.dsl.mdsnwi.sbcglobal.net [99.153.133.60]) by smtpauth2.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 6.3-6.03 (built Mar 14 2008; 32bit)) with ESMTPSA id <0K4H003BOIHRBE20@smtpauth2.wiscmail.wisc.edu> for powerpc@freebsd.org; Wed, 23 Jul 2008 19:25:03 -0500 (CDT) Date: Wed, 23 Jul 2008 19:27:36 -0500 From: Nathan Whitehorn In-reply-to: To: powerpc@freebsd.org Message-id: <4887CC78.8040707@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=99.153.133.60 X-Spam-PmxInfo: Server=avs-9, Version=5.4.1.325704, Antispam-Engine: 2.6.0.325393, Antispam-Data: 2008.7.23.234900, SenderIP=99.153.133.60 References: <20080723.164741.163264646.imp@bsdimp.com> User-Agent: Thunderbird 2.0.0.14 (X11/20080628) Cc: Subject: Re: Device trees 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, 24 Jul 2008 01:25:05 -0000 Benno Rice wrote: > > On 24/07/2008, at 8:47 AM, M. Warner Losh wrote: > >> Does FreeBSD/powerpc on the MPC85xx machine use the fake device open >> firmware tree stuff from uboot (aka dts in the linux kernel sources)? > > I've got a machine (Mikrotik RouterBOARD 333, uses MPC8321) that has > this. I've been working with one of the dtc developers to port their > code over to FreeBSD. I'm trying to hide it underneath our existing > OpenFirmware stuff. I've got a few more bugs to get out of it but I can > probably send you some patches early next week... > Can you use this to abstract real OF too? We don't support real mode Open Firmware and IBM is shipping new systems with a very basic firmware that runs only in real mode (this includes the Bimini 970MP dev board, apparently, as well as their Cell blades). The easiest course seems to be just to pretend it's a flattened device tree if we can support that. -Nathan