qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] qemu-system-sparc on windows
@ 2005-05-20 15:18 Joerg Platte
  2005-05-21 16:14 ` Damien Mascord
  0 siblings, 1 reply; 5+ messages in thread
From: Joerg Platte @ 2005-05-20 15:18 UTC (permalink / raw)
  To: qemu-devel

Hi!

I tried to build qemu-system-sparc on a windows host using mingw and all steps 
described in the qemu documentation. First of all, this doesn't work since 
qemu requires zlib. After compiling and installing zlib in the mingw 
environment qemu builds fine. But when trying to test qemu using the 
sparc-test image from the qemu homepage I run into two problems. At first, 
qemu can't find the proll.bin file. Therefore I generated it using objcopy -O 
binary proll.elf proll.bin on a sparc host.

Now qemu starts but crashes just after opening its window. This does not 
happen to the precompiled version from  
http://www.freeoszoo.org/ftp/qemu/win32/daily/, but this version does not 
boot linux either. It semms to get stuck in an endless loop...

Now I have two questions: 
Why does my compiled version crash? Did I forget something during the build 
process? 

Does anyone else managed to successfully start linux using qemu-system-sparc 
on a windows host?

regards,
Jörg

-- 
Hi! I'm a .signature virus! Copy me into your signature to help me spread!.-.
PGP Key: send mail with subject 'SEND PGP-KEY' PGP Key-ID: FD 4E 21 1D    oo|
PGP Fingerprint: 388A872AFC5649D3 BCEC65778BE0C605                  _ // /`'\
I am Ohm of Borg. Resistance is voltage divided by current.         \X/ (\_;/)

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

* Re: [Qemu-devel] qemu-system-sparc on windows
  2005-05-20 15:18 [Qemu-devel] qemu-system-sparc on windows Joerg Platte
@ 2005-05-21 16:14 ` Damien Mascord
  2005-05-23  6:55   ` Joerg Platte
  2005-05-23 14:25   ` Joerg Platte
  0 siblings, 2 replies; 5+ messages in thread
From: Damien Mascord @ 2005-05-21 16:14 UTC (permalink / raw)
  To: jplatte, qemu-devel

Joerg Platte wrote:

>Hi!
>  
>
<snip/>

>Now qemu starts but crashes just after opening its window. This does not 
>happen to the precompiled version from  
>http://www.freeoszoo.org/ftp/qemu/win32/daily/, but this version does not 
>boot linux either. It semms to get stuck in an endless loop...
>
>Now I have two questions: 
>Why does my compiled version crash? Did I forget something during the build 
>process? 
>
To answer one of your questions,

You are probably using GCC 3.4 for mingw rather than GCC 3.3.

Try the 3.3 toolset, and see how you fare :)

Damien

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

* Re: [Qemu-devel] qemu-system-sparc on windows
  2005-05-21 16:14 ` Damien Mascord
@ 2005-05-23  6:55   ` Joerg Platte
  2005-05-23  7:24     ` Joerg Platte
  2005-05-23 14:25   ` Joerg Platte
  1 sibling, 1 reply; 5+ messages in thread
From: Joerg Platte @ 2005-05-23  6:55 UTC (permalink / raw)
  To: qemu-devel

Am Samstag, 21. Mai 2005 18:14 schrieb Damien Mascord:

> You are probably using GCC 3.4 for mingw rather than GCC 3.3.
>
> Try the 3.3 toolset, and see how you fare :)

OK, now I tried gcc-3.3. Qemu does not really crash any more, but the 
behaviour is still different compared to the precompiled version. My version 
opens a bigger window and is stopped immediately (according to the title 
bar). But it still does not boot linux. What else can I try?

regards,
Jörg

-- 
Hi! I'm a .signature virus! Copy me into your signature to help me spread!.-.
PGP Key: send mail with subject 'SEND PGP-KEY' PGP Key-ID: FD 4E 21 1D    oo|
PGP Fingerprint: 388A872AFC5649D3 BCEC65778BE0C605                  _ // /`'\
I am Ohm of Borg. Resistance is voltage divided by current.         \X/ (\_;/)

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

* Re: [Qemu-devel] qemu-system-sparc on windows
  2005-05-23  6:55   ` Joerg Platte
@ 2005-05-23  7:24     ` Joerg Platte
  0 siblings, 0 replies; 5+ messages in thread
From: Joerg Platte @ 2005-05-23  7:24 UTC (permalink / raw)
  To: qemu-devel

Am Montag, 23. Mai 2005 08:55 schrieb Joerg Platte:

> OK, now I tried gcc-3.3. Qemu does not really crash any more, but the
> behaviour is still different compared to the precompiled version. My

This was a mistake. I did not change the path in my skript. Now my version and 
the precompiled version behave similar. But i can only see a white window. My 
proll.bin file is much smaller than the proll.elf file:
-rwxr-xr-x  1 root root  41080 2005-05-20 16:28 proll.bin
-rw-r-----  1 root root 152807 2005-05-20 16:08 proll.elf

Could this be a problem? Can somebody send me a working proll.bin file?

regards,
Jörg

-- 
Hi! I'm a .signature virus! Copy me into your signature to help me spread!.-.
PGP Key: send mail with subject 'SEND PGP-KEY' PGP Key-ID: FD 4E 21 1D    oo|
PGP Fingerprint: 388A872AFC5649D3 BCEC65778BE0C605                  _ // /`'\
I am Ohm of Borg. Resistance is voltage divided by current.         \X/ (\_;/)

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

* Re: [Qemu-devel] qemu-system-sparc on windows
  2005-05-21 16:14 ` Damien Mascord
  2005-05-23  6:55   ` Joerg Platte
@ 2005-05-23 14:25   ` Joerg Platte
  1 sibling, 0 replies; 5+ messages in thread
From: Joerg Platte @ 2005-05-23 14:25 UTC (permalink / raw)
  To: qemu-devel

Am Samstag, 21. Mai 2005 18:14 schrieb Damien Mascord:
Hi!

I tried to start qemu in nongraphical mode. This results in the following 
error message: 

qemu: could not open monitor device 'stdio'

What kind of monitor device can I use with mingw?  

regards,
Jörg

-- 
Hi! I'm a .signature virus! Copy me into your signature to help me spread!.-.
PGP Key: send mail with subject 'SEND PGP-KEY' PGP Key-ID: FD 4E 21 1D    oo|
PGP Fingerprint: 388A872AFC5649D3 BCEC65778BE0C605                  _ // /`'\
I am Ohm of Borg. Resistance is voltage divided by current.         \X/ (\_;/)

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

end of thread, other threads:[~2005-05-23 14:40 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-05-20 15:18 [Qemu-devel] qemu-system-sparc on windows Joerg Platte
2005-05-21 16:14 ` Damien Mascord
2005-05-23  6:55   ` Joerg Platte
2005-05-23  7:24     ` Joerg Platte
2005-05-23 14:25   ` Joerg Platte

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