From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LCZ4K-0005U1-Jb for qemu-devel@nongnu.org; Tue, 16 Dec 2008 07:30:32 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LCZ4I-0005TH-RJ for qemu-devel@nongnu.org; Tue, 16 Dec 2008 07:30:31 -0500 Received: from [199.232.76.173] (port=59931 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LCZ4I-0005TD-DI for qemu-devel@nongnu.org; Tue, 16 Dec 2008 07:30:30 -0500 Received: from mx20.gnu.org ([199.232.41.8]:16391) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LCZ4I-0000bE-5r for qemu-devel@nongnu.org; Tue, 16 Dec 2008 07:30:30 -0500 Received: from mail.codesourcery.com ([65.74.133.4]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LCZ4F-000479-SN for qemu-devel@nongnu.org; Tue, 16 Dec 2008 07:30:28 -0500 From: Paul Brook Subject: Re: [Qemu-devel] [6064] Implement device tree support needed for Bamboo emulation Date: Tue, 16 Dec 2008 12:30:23 +0000 References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200812161230.24052.paul@codesourcery.com> Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Hollis Blanchard , Aurelien Jarno > 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? > 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. Certainly adding libfdt_env.h, which is never used, seems very wrong. I'm pretty sure this won't build on win32 either. Paul