any pointers on how to qemu-system-ppc a powerpc kernel on 11.10?

Colin Watson cjwatson at ubuntu.com
Thu Nov 24 08:25:18 UTC 2011


On Wed, Nov 23, 2011 at 04:29:49PM -0500, Robert P. J. Day wrote:
> qemu: hardware error: qemu: could not load PowerPC bios 'openbios-ppc'

Unfortunately the openbios-ppc package can only be built on a powerpc
system, and a long-standing Launchpad bug means that we can't arrange
for architecture-independent Ubuntu packages to be built on
architectures other than i386.  Maybe some day we'll get this fixed.  In
the meantime, I'd suggest just grabbing the package directly from Debian
and installing it using 'dpkg -i', as it's small and has no
dependencies:

  http://ftp.debian.org/debian/pool/main/o/openbios-ppc/

Using this, I've been able to debug problems with Ubuntu powerpc images
like this (obviously -cpu and -M details will be board-specific):

  qemu-system-ppc -cpu G4 -M mac99 -bios /usr/share/openbios/openbios-ppc -cdrom .iso -hda foo.img -boot order=d

Good luck,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]




More information about the ubuntu-users mailing list