qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] MIPS emulation?
@ 2006-01-13 23:13 Tomasz Chmielewski
  2006-01-14 16:07 ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Tomasz Chmielewski @ 2006-01-13 23:13 UTC (permalink / raw)
  To: qemu-devel

According to the docs on http://qemu.org/qemu-doc.html#SEC45, Qemu "is 
able to boot a Linux kernel and to run a Linux Debian installation from 
NFS".

I downloaded debian-31r1a-mips-netinst.iso image, and tried to start it:

# qemu-system-mips -boot d -m 128 -cdrom debian-31r1a-mips-netinst.iso
mips_r4k_init: start
mips_r4k_init: load BIOS '/usr/share/qemu/mips_bios.bin' size 131072

The only thing that happen is Qemu window being open, black all the time.

When checked with "top", qemu-system-mips process takes about 70-80% of 
CPU time.

I created the /usr/share/qemu/mips_bios.bin file with dd command.


Why doesn't it start for me?


-- 
Tomasz Chmielewski
http://wpkg.org

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

* Re: [Qemu-devel] MIPS emulation?
  2006-01-13 23:13 [Qemu-devel] MIPS emulation? Tomasz Chmielewski
@ 2006-01-14 16:07 ` Daniel Jacobowitz
  2006-01-14 18:34   ` Tomasz Chmielewski
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel Jacobowitz @ 2006-01-14 16:07 UTC (permalink / raw)
  To: qemu-devel

On Sat, Jan 14, 2006 at 12:13:26AM +0100, Tomasz Chmielewski wrote:
> According to the docs on http://qemu.org/qemu-doc.html#SEC45, Qemu "is 
> able to boot a Linux kernel and to run a Linux Debian installation from 
> NFS".
> 
> I downloaded debian-31r1a-mips-netinst.iso image, and tried to start it:
> 
> # qemu-system-mips -boot d -m 128 -cdrom debian-31r1a-mips-netinst.iso
> mips_r4k_init: start
> mips_r4k_init: load BIOS '/usr/share/qemu/mips_bios.bin' size 131072
> 
> The only thing that happen is Qemu window being open, black all the time.
> 
> When checked with "top", qemu-system-mips process takes about 70-80% of 
> CPU time.
> 
> I created the /usr/share/qemu/mips_bios.bin file with dd command.
> 
> 
> Why doesn't it start for me?

(A) You have to build a qemu-specific kernel to use the MIPS QEMU.

(B) I have no idea if that method works with MIPS qemu; I only tested
-kernel.

-- 
Daniel Jacobowitz
CodeSourcery

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

* Re: [Qemu-devel] MIPS emulation?
  2006-01-14 16:07 ` Daniel Jacobowitz
@ 2006-01-14 18:34   ` Tomasz Chmielewski
  2006-01-14 20:44     ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Tomasz Chmielewski @ 2006-01-14 18:34 UTC (permalink / raw)
  To: qemu-devel

Daniel Jacobowitz schrieb:
> On Sat, Jan 14, 2006 at 12:13:26AM +0100, Tomasz Chmielewski wrote:
> 
>>According to the docs on http://qemu.org/qemu-doc.html#SEC45, Qemu "is 
>>able to boot a Linux kernel and to run a Linux Debian installation from 
>>NFS".
>>
>>I downloaded debian-31r1a-mips-netinst.iso image, and tried to start it:
>>
>># qemu-system-mips -boot d -m 128 -cdrom debian-31r1a-mips-netinst.iso
>>mips_r4k_init: start
>>mips_r4k_init: load BIOS '/usr/share/qemu/mips_bios.bin' size 131072
>>
>>The only thing that happen is Qemu window being open, black all the time.
>>
>>When checked with "top", qemu-system-mips process takes about 70-80% of 
>>CPU time.
>>
>>I created the /usr/share/qemu/mips_bios.bin file with dd command.
>>
>>
>>Why doesn't it start for me?
> 
> 
> (A) You have to build a qemu-specific kernel to use the MIPS QEMU.

And how to build "qemu-specific MIPS kernel"?

Is it just a kernel built for MIPS, or perhaps some qemu-specific 
patches have to be applied?


> (B) I have no idea if that method works with MIPS qemu; I only tested
> -kernel.

Hmm?

I didn't quite understand what you mean.


-- 
Tomasz Chmielewski
http://wpkg.org

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

* Re: [Qemu-devel] MIPS emulation?
  2006-01-14 18:34   ` Tomasz Chmielewski
@ 2006-01-14 20:44     ` Daniel Jacobowitz
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2006-01-14 20:44 UTC (permalink / raw)
  To: qemu-devel

On Sat, Jan 14, 2006 at 07:34:36PM +0100, Tomasz Chmielewski wrote:
> >(A) You have to build a qemu-specific kernel to use the MIPS QEMU.
> 
> And how to build "qemu-specific MIPS kernel"?
> 
> Is it just a kernel built for MIPS, or perhaps some qemu-specific 
> patches have to be applied?

You have to select QEMU as your machine type when you configure the
kernel.  Use the linux-mips.org CVS, of course.

> >(B) I have no idea if that method works with MIPS qemu; I only tested
> >-kernel.
> 
> Hmm?
> 
> I didn't quite understand what you mean.

I've never used -cdrom or -boot.

-- 
Daniel Jacobowitz
CodeSourcery

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

* RE: [Qemu-devel] MIPS emulation?
@ 2006-01-17 21:37 Mark E Mason
  2006-01-19  0:21 ` Daniel Jacobowitz
  0 siblings, 1 reply; 8+ messages in thread
From: Mark E Mason @ 2006-01-17 21:37 UTC (permalink / raw)
  To: qemu-devel

Hello Daniel,

linux-mips.org CVS hasn't been updated in a couple of months
(they switched to git).  What's the latest MIPS kernel you've
booted with qemu? The recent ones from the git repository seem
to spin processing interrupts after detecting the wait instruction.

Thanks,
Mark

-----Original Message-----
From: qemu-devel-bounces+mason=broadcom.com@nongnu.org
[mailto:qemu-devel-bounces+mason=broadcom.com@nongnu.org] On Behalf Of
Daniel Jacobowitz
Sent: Saturday, January 14, 2006 12:45 PM
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] MIPS emulation?

On Sat, Jan 14, 2006 at 07:34:36PM +0100, Tomasz Chmielewski wrote:
> >(A) You have to build a qemu-specific kernel to use the MIPS QEMU.
> 
> And how to build "qemu-specific MIPS kernel"?
> 
> Is it just a kernel built for MIPS, or perhaps some qemu-specific 
> patches have to be applied?

You have to select QEMU as your machine type when you configure the
kernel.  Use the linux-mips.org CVS, of course.

> >(B) I have no idea if that method works with MIPS qemu; I only tested

> >-kernel.
> 
> Hmm?
> 
> I didn't quite understand what you mean.

I've never used -cdrom or -boot.

--
Daniel Jacobowitz
CodeSourcery


_______________________________________________
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel

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

* Re: [Qemu-devel] MIPS emulation?
  2006-01-17 21:37 Mark E Mason
@ 2006-01-19  0:21 ` Daniel Jacobowitz
  0 siblings, 0 replies; 8+ messages in thread
From: Daniel Jacobowitz @ 2006-01-19  0:21 UTC (permalink / raw)
  To: qemu-devel

On Tue, Jan 17, 2006 at 01:37:05PM -0800, Mark E Mason wrote:
> Hello Daniel,
> 
> linux-mips.org CVS hasn't been updated in a couple of months
> (they switched to git).  What's the latest MIPS kernel you've
> booted with qemu? The recent ones from the git repository seem
> to spin processing interrupts after detecting the wait instruction.

Sorry, sticky fingers; I meant GIT, the CVS repo never had qemu
support.

Atsushi Nemoto reported the same problem.  I don't know what's changed.
The kernel I used for testing was 2.6.14-rc2, I believe, but you'd need
a few patches that were merged later; I haven't touched that build tree
since Nov. 27th.


-- 
Daniel Jacobowitz
CodeSourcery

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

* Re: [Qemu-devel] MIPS emulation?
@ 2006-06-13 15:31 Alessandro Corradi
  2006-06-13 16:04 ` Thiemo Seufer
  0 siblings, 1 reply; 8+ messages in thread
From: Alessandro Corradi @ 2006-06-13 15:31 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 859 bytes --]

>On Sat, Jan 14, 2006 at 07:34:36PM +0100, Tomasz Chmielewski wrote:
>>* >(A) You have to build a qemu-specific kernel to use the MIPS QEMU.*
>>* *
>>* And how to build "qemu-specific MIPS kernel"?*
>>* *
>>* Is it just a kernel built for MIPS, or perhaps some qemu-specific *
>>* patches have to be applied?*
>
>You have to select QEMU as your machine type when you configure the
>kernel.  Use the linux-mips.org CVS, of course..
>
>>* >(B) I have no idea if that method works with MIPS qemu; I only tested*
>>* >-kernel.*
>>* *
>>* Hmm?*
>>* *
>>* I didn't quite understand what you mean.*
>
>I've never used -cdrom or -boot.
>
>--
>Daniel Jacobowitz
>CodeSourcery


Hi,
I downloaded mips/linux kernel from git and I configure it for qemu.
But when I make it gets this error:


/bin/sh: line 1: mips-linux-gcc: command not found

What's wrong?

Thanks

Ale

[-- Attachment #2: Type: text/html, Size: 1205 bytes --]

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

* Re: [Qemu-devel] MIPS emulation?
  2006-06-13 15:31 Alessandro Corradi
@ 2006-06-13 16:04 ` Thiemo Seufer
  0 siblings, 0 replies; 8+ messages in thread
From: Thiemo Seufer @ 2006-06-13 16:04 UTC (permalink / raw)
  To: Alessandro Corradi; +Cc: qemu-devel

Alessandro Corradi wrote:
[snip]
> Hi,
> I downloaded mips/linux kernel from git and I configure it for qemu.
> But when I make it gets this error:
> 
> 
> /bin/sh: line 1: mips-linux-gcc: command not found
> 
> What's wrong?

You are either compiling natively on a mips system and have CONFIG_CROSS
enabled, or you have no cross-compiler, or the cross-compiler has a
different name than the default.


Thiemo

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

end of thread, other threads:[~2006-06-13 16:05 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-01-13 23:13 [Qemu-devel] MIPS emulation? Tomasz Chmielewski
2006-01-14 16:07 ` Daniel Jacobowitz
2006-01-14 18:34   ` Tomasz Chmielewski
2006-01-14 20:44     ` Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2006-01-17 21:37 Mark E Mason
2006-01-19  0:21 ` Daniel Jacobowitz
2006-06-13 15:31 Alessandro Corradi
2006-06-13 16:04 ` Thiemo Seufer

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