From owner-freebsd-ppc@FreeBSD.ORG Thu Jul 24 03:41:32 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 4FE781065676 for ; Thu, 24 Jul 2008 03:41:32 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from harmony.bsdimp.com (bsdimp.com [199.45.160.85]) by mx1.freebsd.org (Postfix) with ESMTP id EC37A8FC1A for ; Thu, 24 Jul 2008 03:41:31 +0000 (UTC) (envelope-from imp@bsdimp.com) Received: from localhost (localhost [127.0.0.1]) by harmony.bsdimp.com (8.14.2/8.14.1) with ESMTP id m6O3c4OS036400; Wed, 23 Jul 2008 21:38:07 -0600 (MDT) (envelope-from imp@bsdimp.com) Date: Wed, 23 Jul 2008 21:38:17 -0600 (MDT) Message-Id: <20080723.213817.1661913390.imp@bsdimp.com> To: benno@jeamland.net From: "M. Warner Losh" In-Reply-To: References: <20080723.164741.163264646.imp@bsdimp.com> X-Mailer: Mew version 5.2 on Emacs 21.3 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: powerpc@freebsd.org 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 03:41:32 -0000 In message: Benno Rice writes: : : 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. Cool! : 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... That's basically what Linux does. They force the boot loader to pass in all kinds of information about the system. This makes a lot of sense, I think. Are you booting /boot/loader? Or directly booting the kernel from uboot? In message: <106CEF8A-EA8A-48BC-BAF7-B9C112F58A92@mac.com> Marcel Moolenaar writes: : No, it doesn't. Is there any reason it doesn't? Having looked at the dtc stuff, it seems to have all the requirements of device enumeration that we talked about at BSDcan... Warner