qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] PPC Haiku


From: François Revol
Subject: [Qemu-devel] PPC Haiku
Date: Tue, 17 Feb 2009 14:48:40 +0100 CET

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 via email to

[Prev in Thread] Current Thread [Next in Thread]