qemu-system-ppc: blank screen
Hi,
I'm trying to run qemu-system-ppc on a x86 box (Linux 2.6.12, gcc 3.4.3), but the SDL window that qemu opens just stays black, there's no output at all (nothing on stdout either).
For example, I tried to run qemu-system-ppc with the linux-ppc image from freeoszoo.org.
I launched qemu like this:
qemu-system-ppc -prep -kernel zImage.prep linux-ppc.img
In win32, qemu-system-ppc can start up with that image (although it doesn't boot properly).
I tried both the stable qemu release and cvs HEAD.
Any suggestions?
Thanks,
Tilman
Signature · 1 line
learn to quote: http://www.netmeister.org/news/learn2quote.html
Quoted 5 lines · Tilman Sauerbeck
Hi,
I'm trying to run qemu-system-ppc on a x86 box (Linux 2.6.12, gcc 3.4.3), but the SDL window that qemu opens just stays black, there's no output at all (nothing on stdout either).
Quoted 8 lines
For example, I tried to run qemu-system-ppc with the linux-ppc image from freeoszoo.org.
I launched qemu like this:qemu-system-ppc -prep -kernel zImage.prep linux-ppc.img
If you are using current CVS try qemu-system-ppc -M prep -kernel zImage.prep linux-ppc.img
BTW in order to get that image to boot you need patch for ide.c that Jim C Brown posted here few days ago. and that image has french keyb layout so do 'loadkeys' us when you get it to boot.
Tero
Tero Kaarlela <[email protected]> [2005-06-30 19:45]:
Quoted 7 lines
Quoted 7 lines
I'm trying to run qemu-system-ppc on a x86 box (Linux 2.6.12, gcc 3.4.3), but the SDL window that qemu opens just stays black, there's no output at all (nothing on stdout either).
For example, I tried to run qemu-system-ppc with the linux-ppc image from freeoszoo.org.
I launched qemu like this:
qemu-system-ppc -prep -kernel zImage.prep linux-ppc.img
Quoted 5 lines
If you are using current CVS try qemu-system-ppc -M prep -kernel zImage.prep linux-ppc.img
BTW in order to get that image to boot you need patch for
ide.cthat Jim C Brown posted here few days ago.
Sweet, with that command line switch and Jim's patch, qemu (cvs HEAD) will start up and boot linux-ppc.img just fine :)
Next, I tried to install a real Linux distro (CRUX PPC, cruxppc.sunsite.dk):
I created a disk image (crux-ppc-2.0.img) and started qemu like this:
qemu-system-ppc -M prep -kernel zImage.prep -cdrom crux-ppc-2.0.iso -boot d -hda crux-ppc-2.0.img
However, it doesn't boot correctly:
http://code-monkey.de//files/qemu-crux_ppc.png
Any idea how to fix this?
Thanks,
Tilman
Signature · 1 line
learn to quote: http://www.netmeister.org/news/learn2quote.html
Quoted 11 lines · Tilman Sauerbeck
Sweet, with that command line switch and Jim's patch, qemu (cvs HEAD) will start up and boot linux-ppc.img just fine :)
Next, I tried to install a real Linux distro (CRUX PPC, cruxppc.sunsite.dk):
I created a disk image (crux-ppc-2.0.img) and started qemu like this:
qemu-system-ppc -M prep -kernel zImage.prep -cdrom crux-ppc-2.0.iso -boot d -hda crux-ppc-2.0.img
Quoted 8 lines
However, it doesn't boot correctly:
http://code-monkey.de//files/qemu-crux_ppc.pngAny idea how to fix this?
Thanks,
Tilman
Does the error still occur when you remove my patch?
Signature · 2 lines
Infinite complexity begets infinite beauty. Infinite precision begets infinite perfection.
Jim C. Brown <[email protected]> [2005-06-30 15:35]:
Quoted 12 lines · Tilman Sauerbeck
Quoted 11 lines
Sweet, with that command line switch and Jim's patch, qemu (cvs HEAD) will start up and boot linux-ppc.img just fine :)
Next, I tried to install a real Linux distro (CRUX PPC, cruxppc.sunsite.dk):
I created a disk image (crux-ppc-2.0.img) and started qemu like this:
qemu-system-ppc -M prep -kernel zImage.prep -cdrom crux-ppc-2.0.iso -boot d -hda crux-ppc-2.0.img
Quoted 6 lines
Quoted 4 lines
However, it doesn't boot correctly:
http://code-monkey.de//files/qemu-crux_ppc.pngAny idea how to fix this?
Does the error still occur when you remove my patch?
Yes, reverting the patch doesn't help.
Regards,
Tilman
Signature · 1 line
learn to quote: http://www.netmeister.org/news/learn2quote.html
Tilman Sauerbeck <[email protected]> [2005-06-30 20:37]:
Quoted 10 lines
Next, I tried to install a real Linux distro (CRUX PPC, cruxppc.sunsite.dk):
I created a disk image (crux-ppc-2.0.img) and started qemu like this:
qemu-system-ppc -M prep -kernel zImage.prep -cdrom crux-ppc-2.0.iso -boot d -hda crux-ppc-2.0.img
However, it doesn't boot correctly:
http://code-monkey.de//files/qemu-crux_ppc.png
I was using the wrong root partition, the kernel tried to use /dev/hda6 instead of the cdrom, so I replaced
root=/dev/hda6 in zImage.prep with root=/dev/hdb.
Now the problem is that CRUX depends on devfs, which isn't enabled in the stock prep kernel.
Does anyone have a prep kernel that includes devfs support? Both Linux 2.4 and Linux 2.6 kernels would be appreciated (is Linux 2.6 supported by qemu-system-ppc yet?)
Thanks,
Tilman
Signature · 1 line
learn to quote: http://www.netmeister.org/news/learn2quote.html
[Qemu-devel] qemu-system-ppc
In reply to Tilman SauerbeckHi,
Just a clarification about the state of the QEMU PowerPC system emulator in the CVS head: I commited important changes in order to be able to launch Mac OS X, but important changes are needed in the PPC BIOS too and they are not yet commited because some merging is necessary. Sorry for the inconvenience, I am trying to find a temporary solution.
The state of Mac OS X is that the graphical installer launches, but the mouse and keyboard behavior is erratic in this mode. Darwin/ppc seems to work correctly on the command line. The performance is far from optimal because generic TLB flush optimisations must be done (I began to implement them but the code is not stable enough to be usable).
The PREP target should work as before except that -M prep should be used instead of -prep ('-M' selects the actual machine or platform you want to emulate).
Fabrice.