From: Tom Rini <trini@ti.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] Using qemu-system-ppc to boot U-Boot
Date: Tue, 27 Mar 2012 14:55:38 -0700 [thread overview]
Message-ID: <20120327215538.GA5418@bill-the-cat> (raw)
In-Reply-To: <4F722A44.1080504@freescale.com>
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 <CADNf2sxrQFDU0LLQWp5huRGgQiKbaLik1+2C=Oj=gjORP6XacA@mail.gmail.com> 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. So to run U-Boot under
qemu on a BE machine, you'd need to port U-Boot over. Or, build the
sandbox arch on a BE host, such as Linux running under qemu-ppc. Then
it should be BE, yes?
--
Tom
next prev parent reply other threads:[~2012-03-27 21:55 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-27 18:41 [U-Boot] Using qemu-system-ppc to boot U-Boot Frank Svendsbøe
2012-03-27 20:53 ` Wolfgang Denk
2012-03-27 20:59 ` Scott Wood
2012-03-27 21:55 ` Tom Rini [this message]
2012-03-27 21:58 ` Scott Wood
2012-03-28 17:13 ` Frank Svendsbøe
2012-03-27 22:16 ` Marek Vasut
2012-03-28 17:19 ` Frank Svendsbøe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20120327215538.GA5418@bill-the-cat \
--to=trini@ti.com \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.