From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCdWl-0000vu-Hz for qemu-devel@nongnu.org; Tue, 16 Dec 2008 12:16:11 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCdWj-0000sy-QS for qemu-devel@nongnu.org; Tue, 16 Dec 2008 12:16:10 -0500 Received: from [199.232.76.173] (port=57984 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCdWj-0000sd-8a for qemu-devel@nongnu.org; Tue, 16 Dec 2008 12:16:09 -0500 Received: from e31.co.us.ibm.com ([32.97.110.149]:51879) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCdWi-0001Wq-MM for qemu-devel@nongnu.org; Tue, 16 Dec 2008 12:16:08 -0500 Received: from d03relay03.boulder.ibm.com (d03relay03.boulder.ibm.com [9.17.195.228]) by e31.co.us.ibm.com (8.13.1/8.13.1) with ESMTP id mBGHEdOD017317 for ; Tue, 16 Dec 2008 10:14:39 -0700 Received: from d03av01.boulder.ibm.com (d03av01.boulder.ibm.com [9.17.195.167]) by d03relay03.boulder.ibm.com (8.13.8/8.13.8/NCO v9.1) with ESMTP id mBGHFsos110434 for ; Tue, 16 Dec 2008 10:16:01 -0700 Received: from d03av01.boulder.ibm.com (loopback [127.0.0.1]) by d03av01.boulder.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id mBGHFrlB017432 for ; Tue, 16 Dec 2008 10:15:53 -0700 Subject: Re: [Qemu-devel] [6064] Implement device tree support needed for Bamboo emulation From: Hollis Blanchard In-Reply-To: <20081216164628.GG20024@redhat.com> References: <200812161230.24052.paul@codesourcery.com> <1229440187.31337.15.camel@localhost.localdomain> <20081216164628.GG20024@redhat.com> Content-Type: text/plain Date: Tue, 16 Dec 2008 11:15:52 -0600 Message-Id: <1229447752.31337.46.camel@localhost.localdomain> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Daniel P. Berrange" , qemu-devel@nongnu.org Cc: Josh Boyer , Paul Brook , Aurelien Jarno On Tue, 2008-12-16 at 16:46 +0000, Daniel P. Berrange wrote: > On Tue, Dec 16, 2008 at 03:09:47PM +0000, Hollis Blanchard wrote: > > On Tue, 2008-12-16 at 12:30 +0000, Paul Brook wrote: > > > > To implement the -kernel, -initrd, and -append options, 4xx board emulation > > > > must load the guest kernel as if firmware had loaded it. Where u-boot would > > > > be the firmware, we must load the flat device tree into memory and set key > > > > fields such as /chosen/bootargs. > > > > > > Then why is it optional? > > > > As you mention below, libfdt isn't generally available yet, and since > > it's possible to make a real firmware work in this environment (in which > > case -kernel isn't needed), the code can still be useful. > > > > If you'd prefer to make libfdt mandatory, I'm fine with that. > > > > > > This patch introduces a dependency on libfdt for flat device tree support. > > > > > > I don't like the way this is done. > > > > > > AFAIK libfdt isn't present in any of the major distros. I thought the > > > conclusion was that we should import libfdt into qemu. > > > > That was our conclusion, but Anthony never agreed. > > > > FWIW, I have requested that Fedora and Debian package libfdt, and they > > agreed in principle, but it's still missing in Fedora 10 for example. > > If you've got a package review ticket open against Fedora for libfdt > inclusion, let me know the bug number and I'm happy to do the review, > so it is not unduely delayed on its path into Fedora repositories. https://bugzilla.redhat.com/show_bug.cgi?id=443882 IIRC Josh Boyer looked into this beyond what's reflected in the bug report, but I don't remember the current status. -- Hollis Blanchard IBM Linux Technology Center