qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-system-ppc: blank screen
@ 2005-06-30 16:20 Tilman Sauerbeck
  2005-06-30 16:45 ` Tero Kaarlela
  2005-06-30 20:16 ` [Qemu-devel] qemu-system-ppc Fabrice Bellard
  0 siblings, 2 replies; 7+ messages in thread
From: Tilman Sauerbeck @ 2005-06-30 16:20 UTC (permalink / raw)
  To: qemu-devel

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

-- 
learn to quote: http://www.netmeister.org/news/learn2quote.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] qemu-system-ppc: blank screen
  2005-06-30 16:20 [Qemu-devel] qemu-system-ppc: blank screen Tilman Sauerbeck
@ 2005-06-30 16:45 ` Tero Kaarlela
  2005-06-30 18:37   ` Tilman Sauerbeck
  2005-06-30 20:16 ` [Qemu-devel] qemu-system-ppc Fabrice Bellard
  1 sibling, 1 reply; 7+ messages in thread
From: Tero Kaarlela @ 2005-06-30 16:45 UTC (permalink / raw)
  To: qemu-devel

Tilman Sauerbeck wrote:

>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 
>
>  
>
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

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] qemu-system-ppc: blank screen
  2005-06-30 16:45 ` Tero Kaarlela
@ 2005-06-30 18:37   ` Tilman Sauerbeck
  2005-06-30 19:35     ` Jim C. Brown
  2005-07-06 21:02     ` Tilman Sauerbeck
  0 siblings, 2 replies; 7+ messages in thread
From: Tilman Sauerbeck @ 2005-06-30 18:37 UTC (permalink / raw)
  To: qemu-devel

Tero Kaarlela <tero.kaarlela@kotinet.com> [2005-06-30 19:45]:
> >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  
> 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.

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

-- 
learn to quote: http://www.netmeister.org/news/learn2quote.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] qemu-system-ppc: blank screen
  2005-06-30 18:37   ` Tilman Sauerbeck
@ 2005-06-30 19:35     ` Jim C. Brown
  2005-06-30 19:59       ` Tilman Sauerbeck
  2005-07-06 21:02     ` Tilman Sauerbeck
  1 sibling, 1 reply; 7+ messages in thread
From: Jim C. Brown @ 2005-06-30 19:35 UTC (permalink / raw)
  To: qemu-devel

On Thu, Jun 30, 2005 at 08:37:36PM +0200, Tilman Sauerbeck wrote:
> 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
> 

Does the error still occur when you remove my patch?

-- 
Infinite complexity begets infinite beauty.
Infinite precision begets infinite perfection.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] qemu-system-ppc: blank screen
  2005-06-30 19:35     ` Jim C. Brown
@ 2005-06-30 19:59       ` Tilman Sauerbeck
  0 siblings, 0 replies; 7+ messages in thread
From: Tilman Sauerbeck @ 2005-06-30 19:59 UTC (permalink / raw)
  To: qemu-devel

Jim C. Brown <jma5@umd.edu> [2005-06-30 15:35]:
> On Thu, Jun 30, 2005 at 08:37:36PM +0200, Tilman Sauerbeck wrote:
> > 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?
> 
> Does the error still occur when you remove my patch?

Yes, reverting the patch doesn't help.

Regards,
Tilman

-- 
learn to quote: http://www.netmeister.org/news/learn2quote.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

* [Qemu-devel] qemu-system-ppc
  2005-06-30 16:20 [Qemu-devel] qemu-system-ppc: blank screen Tilman Sauerbeck
  2005-06-30 16:45 ` Tero Kaarlela
@ 2005-06-30 20:16 ` Fabrice Bellard
  1 sibling, 0 replies; 7+ messages in thread
From: Fabrice Bellard @ 2005-06-30 20:16 UTC (permalink / raw)
  To: qemu-devel

Hi,

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.

^ permalink raw reply	[flat|nested] 7+ messages in thread

* Re: [Qemu-devel] qemu-system-ppc: blank screen
  2005-06-30 18:37   ` Tilman Sauerbeck
  2005-06-30 19:35     ` Jim C. Brown
@ 2005-07-06 21:02     ` Tilman Sauerbeck
  1 sibling, 0 replies; 7+ messages in thread
From: Tilman Sauerbeck @ 2005-07-06 21:02 UTC (permalink / raw)
  To: qemu-devel

Tilman Sauerbeck <tilman@code-monkey.de> [2005-06-30 20:37]:
> 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

-- 
learn to quote: http://www.netmeister.org/news/learn2quote.html

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2005-07-06 21:04 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-30 16:20 [Qemu-devel] qemu-system-ppc: blank screen Tilman Sauerbeck
2005-06-30 16:45 ` Tero Kaarlela
2005-06-30 18:37   ` Tilman Sauerbeck
2005-06-30 19:35     ` Jim C. Brown
2005-06-30 19:59       ` Tilman Sauerbeck
2005-07-06 21:02     ` Tilman Sauerbeck
2005-06-30 20:16 ` [Qemu-devel] qemu-system-ppc Fabrice Bellard

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).