qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "François Revol" <revol@free.fr>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] PPC Haiku
Date: Tue, 17 Feb 2009 14:48:40 +0100 CET	[thread overview]
Message-ID: <14798487906-BeMail@laptop> (raw)

It seems the ppc OF loader for Haiku finally starts in OpenBIOS on qemu
:)

Though it currently stops here:
http://dev.haiku-os.org/browser/haiku/trunk/src/system/boot/platform/openfirmware/arch/ppc/mmu.cpp#L963

It seems OpenBIOS doesn't call the loader with translation turned on or
something alike. I thought OF specs required it, but it seems OpenBIOS
isn't alone there...
We will have to handle this case by creating the mappings ourselves it
seems...


For those interested in trying it, cf.

http://www.haiku-os.org/documents/dev/getting_linux_developer_tools
http://www.haiku-os.org/documents/dev/building_haiku_on_ubuntu_linux_step_by_step

You'd just use "ppc" instead of "x86" when running configure, with gcc4
since gcc2 is useless for ppc (just used for binary compatibility on
x86).

Then you can either build the full image:
jam -q haiku-image
which isn't bootable yet, or just go directly to the boot HFS/ISO:
jam -q haiku-boot-cd-ppc

I use then:

qemu-system-ppc -serial stdio -cdrom generated/haiku-boot-cd-ppc.iso -
boot d



François.

             reply	other threads:[~2009-02-17 13:47 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-17 13:48 François Revol [this message]
2009-02-17 13:57 ` [Qemu-devel] PPC Haiku Laurent Vivier
2009-02-17 14:08   ` François Revol
2009-02-17 15:34     ` Blue Swirl
2009-02-17 16:23       ` François Revol
2009-02-17 17:12         ` Blue Swirl
2009-02-17 21:47           ` Alexander Graf
2009-02-17 22:17             ` Laurent Vivier
2009-02-18 10:08               ` Julian Seward
2009-02-18 10:23                 ` Laurent Vivier
2009-02-18 14:05                 ` PPC Fedora [was Re: [Qemu-devel] PPC Haiku] Laurent Vivier

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=14798487906-BeMail@laptop \
    --to=revol@free.fr \
    --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).