Re: [Qemu-devel] MIPS emulation?

2006-06-13 Thread Thiemo Seufer
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


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


Re: [Qemu-devel] MIPS emulation?

2006-06-13 Thread Alessandro Corradi
>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
>CodeSourceryHi,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 foundWhat's wrong?
ThanksAle
___
Qemu-devel mailing list
Qemu-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/qemu-devel


Re: [Qemu-devel] MIPS emulation?

2006-01-18 Thread Daniel Jacobowitz
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


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


RE: [Qemu-devel] MIPS emulation?

2006-01-17 Thread Mark E Mason
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: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] 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





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


Re: [Qemu-devel] MIPS emulation?

2006-01-14 Thread Daniel Jacobowitz
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


Re: [Qemu-devel] MIPS emulation?

2006-01-14 Thread Tomasz Chmielewski

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



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


Re: [Qemu-devel] MIPS emulation?

2006-01-14 Thread Daniel Jacobowitz
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


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


[Qemu-devel] MIPS emulation?

2006-01-13 Thread Tomasz Chmielewski
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


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