qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: laurent@lvivier.info
To: qemu-devel@nongnu.org
Cc: lsorense@csclub.uwaterloo.ca
Subject: RE: [Qemu-devel] Small powerpc system emulation problem with linux
Date: Wed, 14 Jan 2009 17:41:19 +0100	[thread overview]
Message-ID: <17981623.360991231951279667.JavaMail.servlet@kundenserver> (raw)

[...]
>Debian tried to isntall the quik boot loader for oldworld mac's since
>that is what /proc/cpuinfo in linux claims to see, even though powermac
>g3 blue&white boxes (I have one here) is newworld, as are all powermac's

qemu emulates now by default a G3 beige (Silk), which is oldworld.

>using openfirmware 3.  newworld systems should use yaboot, but of course
>the installer had not setup the partitions for yaboot since it didn't
>see a newworld machine, and yaboot's installer refused to run since it
>wasn't a newworld machine.  quik boot's installer also refused to run
>since it wasn't a supported oldworld machine either.

In last openbios, I've managed to be able to boot with quik. But debian-installer doesn't create a correct quik.conf.

[...]

>So the main problems seem to be that the openbios firmware doesn't
>include an entry for 'interrupt-controller' which is the entry the linux
>kernel looks for to device a machine is newworld rather than oldworld in
>the powermac setup.  The other is that debian's yaboot is out of date.

As qemu emulates a newworld machine, openbios doesn't create an entry for interrupt-controller.

>The yaboot problem is being worked on.
>
>So now I am wondering what has to be done to make qemu appear as a
>newworld mac, since that is what the machine it claims to emulate is.
>Is this simply a mistake in openbios for qemu or does qemu actually
>emulate oldworld to some extent?

use qemu with "-M mac99". But for the moment it doesn't support openbios.

>
>I tried adding an entry for 'interrupt-controller' following the pearpc
>code in openbios, but that just resulted in a failure to boot the linux

Bad Idea...

>kernel, probably because it tried to access the machine as a newworld
>box, and couldn't find something it needed.  I wish I knew how to dump
>the openfirmware tree on the real powermac g3 to see what it has
>compared to what qemu with openbios currently sees.

lsprop /proc/device-tree

Regards,
Laurent

             reply	other threads:[~2009-01-14 16:41 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-14 16:41 laurent [this message]
2009-01-14 23:05 ` [Qemu-devel] Small powerpc system emulation problem with linux Lennart Sorensen
2009-01-14 23:36   ` Laurent Vivier
  -- strict thread matches above, loose matches on Subject: below --
2009-01-14 16:21 Lennart Sorensen
2009-01-14 16:37 ` Aurelien Jarno
2009-01-14 23:08   ` Lennart Sorensen
2009-01-14 23:26     ` Aurelien Jarno
2009-01-14 23:44       ` Laurent Vivier
2009-01-15 16:12       ` Lennart Sorensen

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=17981623.360991231951279667.JavaMail.servlet@kundenserver \
    --to=laurent@lvivier.info \
    --cc=lsorense@csclub.uwaterloo.ca \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).