From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MGFPz-0000tr-QS for qemu-devel@nongnu.org; Mon, 15 Jun 2009 12:52:24 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MGFPr-0000gg-TR for qemu-devel@nongnu.org; Mon, 15 Jun 2009 12:52:19 -0400 Received: from [199.232.76.173] (port=33373 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MGFPr-0000gP-G9 for qemu-devel@nongnu.org; Mon, 15 Jun 2009 12:52:15 -0400 Received: from fg-out-1718.google.com ([72.14.220.158]:53567) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MGFPq-0007py-Vu for qemu-devel@nongnu.org; Mon, 15 Jun 2009 12:52:15 -0400 Received: by fg-out-1718.google.com with SMTP id l27so492352fgb.8 for ; Mon, 15 Jun 2009 09:52:09 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: References: <3cdfa5bc0906142140nf2a78rf2a07c3185a9614d@mail.gmail.com> Date: Mon, 15 Jun 2009 19:52:09 +0300 Message-ID: Subject: Re: [Qemu-devel] PowerPC 440 support From: Blue Swirl Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Hollis Blanchard Cc: Baojun Wang , "Richard W.M. Jones" , qemu-devel@nongnu.org On 6/15/09, Hollis Blanchard wrote: > KVM PPC execution doesn't use firmware today. Instead we create the device > tree in qemu itself, stuff it into guest memory, and point a guest register > at it on entry. This was just a shortcut/hack, because we didn't have enough > time to enable both Linux and uboot. > > I agree that the best way to do things long-term is to run u-boot inside the > guest environment. That will likely require improvements to qemu's device > emulation, and also we'll probably need to work out a way for qemu to pass > parameters (e.g. memory size) to u-boot. IMHO, the best approach there would > be to have u-boot interpret a device tree from qemu, then modify it and pass > it on to the kernel. Obviously that will require u-boot work. I'm not familiar with u-boot, could we use OpenBIOS instead? Is u-boot used on real hardware?