From: Martin <qemumail@olifantasia.com>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] powerpc system emulation and the need for ppc-rom.bin (firmware)
Date: Thu, 10 Jun 2004 23:04:14 +0200 [thread overview]
Message-ID: <40C8CCCE.8030705@olifantasia.com> (raw)
Jocelyn mentioned some time ago that powerpc (system)emulation could be
broken at the moment because there are some majore changes in progress.
At the moment it does build just fine only it is not usable because it
thinks it needs a powerpc rom bios (firmware)
This loading is done in hw/ppc_prep.c (and hw/ppc_chrp.c)
up and until revision 1.10 of ppc_prep.c the loading was done in the
else part of if(linux_boot)
In other words, if you load a linux kernel directly you don't need
ppc_rom.bin
from version 1.11 and on qemu always tries to load ppc_rom.bin (and
always fails because it is not there: "could not load PPC PREP bios
'/usr/local/share/qemu/ppc_rom.bin'")
Is there a special reason for this?
Otherwise I would suggest moving it back in the else clause so we can
still use recent cvs snapshots (with new features and bugfixes like pci
support)
It would of course also be great if a (working) ppc_rom firmware would
be available.
How is the progress on this going?
Jocelyn, what are you using at the moment, an existing firmware for a
real device or an opensource openfirmware implementation?
I also found that there is a new commandline option -prep
I think this chooses between prep and chrp emulation.
How different are the two emulations at the moment?
Greetings,
Martin
hw/ppc_prep.c
Revision: 1.10
if (linux_boot) {
/* Do stuff to load linux kernel */
} else
{
/* allocate and load BIOS ppc_rom.bin */
}
hw/ppc_prep.c
Revision: 1.11, Wed May 26 22:53:03 2004 UTC (2 weeks ago) by bellard
/* allocate and load BIOS ppc_rom.bin */
if (linux_boot) {
/* Do stuff to load linux kernel */
}
next reply other threads:[~2004-06-10 21:04 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-06-10 21:04 Martin [this message]
2004-06-10 22:27 ` [Qemu-devel] powerpc system emulation and the need for ppc-rom.bin (firmware) J. Mayer
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=40C8CCCE.8030705@olifantasia.com \
--to=qemumail@olifantasia.com \
--cc=qemu-devel@nongnu.org \
/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.