From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hollis Blanchard Date: Thu, 11 Dec 2008 23:08:44 +0000 Subject: Re: [Qemu-devel] [PATCH 6/6] IBM PowerPC 440EP Bamboo reference Message-Id: <1229036924.26586.48.camel@localhost.localdomain> List-Id: References: <1229028752-9480-1-git-send-email-hollisb@us.ibm.com> <8d7e31f5f951172065c0bb9a6ec333a052c7ece2.1229027683.git.hollisb@us.ibm.com> <494188A2.10009@codemonkey.ws> In-Reply-To: <494188A2.10009@codemonkey.ws> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: qemu-devel@nongnu.org Cc: kvm-ppc@vger.kernel.org On Thu, 2008-12-11 at 15:39 -0600, Anthony Liguori wrote: > Hollis Blanchard wrote: > > + > > +#define BINARY_DEVICE_TREE_FILE "bamboo.dtb" > > + > > +static void *bamboo_load_device_tree(void *addr, > > + uint32_t ramsize, > > + target_phys_addr_t initrd_base, > > + target_phys_addr_t initrd_size, > > + const char *kernel_cmdline) > > +{ > > + void *fdt = NULL; > > +#ifdef HAVE_FDT > > > > Is this at all usable without libfdt? If not, just don't compile this > board in unless libfdt is present. In practice, we've only tested with the -kernel option, which does require libfdt. However, in theory there is nothing that precludes running a firmware (such as u-boot) inside the KVM guest. Jean-Christophe is working on improving the ppc4xx device emulation so that becomes possible in the future. -- Hollis Blanchard IBM Linux Technology Center