From mboxrd@z Thu Jan 1 00:00:00 1970 From: Scott Wood Date: Tue, 27 Mar 2012 16:58:36 -0500 Subject: [U-Boot] Using qemu-system-ppc to boot U-Boot In-Reply-To: <20120327215538.GA5418@bill-the-cat> References: <20120327205350.1B2CA2002FF@gemini.denx.de> <4F722A44.1080504@freescale.com> <20120327215538.GA5418@bill-the-cat> Message-ID: <4F72380C.50905@freescale.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 03/27/2012 04:55 PM, Tom Rini wrote: > On Tue, Mar 27, 2012 at 03:59:48PM -0500, Scott Wood wrote: >> On 03/27/2012 03:53 PM, Wolfgang Denk wrote: >>> Dear Frank, >>> >>> In message you wrote: >>>> >>>> I'm trying to figure out if anyone has ported a PPC system to QEMU >>>> that is capable of booting U-Boot. Similar to the ARM versatilepb >>>> target, but for PPC instead. I've tried the Bamboo and MPC8544DS but >>>> it seems they only use stubs to OS calls and parses a DTB for info. >>> >>> Did you check which configurations the Yocto project are using? They >>> provide qemu based emulations for ARM, MIPS, PPC and x86, and I would >>> be really surprised if the ARM and PPC configs were not based on >>> U-Boot ... [ARM: beagleboard; PPC: mpc8315e-rdb; MIPS: >>> routerstationpro] >> >> I'm not familiar with what Yocto does, but at least for Freescale PPC >> chips QEMU does not emulate enough of the hardware to run U-Boot (at >> least, not without significant U-Boot hacking that I'm not aware of >> anyone having done). QEMU loads Linux directly. > > Putting my OE-guy hat on, the qemu-ppc target used is 'mac99'. It was > switched over from prep back in January of this year. From my own past > diggings, there's not really a newer machine option as all of the > support added to qemu from Freescale and IBM has been kvm-oriented > rather than full machine emulation oriented. The mpc8544ds target does support emulation now (but not enough for U-Boot). -Scott