Skip to contentSkip to conversation

MIPS emulation?

Qemu-devel Tomasz Chmielewski 2 participants 4 messages Jan 13, 2006 – Jan 14, 2006

lore
Share & tools
lore
#0 lore raw

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?

Signature · 2 lines
Tomasz Chmielewski
http://wpkg.org
#1 lore raw
Quoted 12 lines · 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.

Quoted 7 lines

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.

Signature · 2 lines
Daniel Jacobowitz
CodeSourcery
#2 lore raw
Quoted 14 lines · Daniel Jacobowitz
Quoted 12 lines · 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.

Quoted 7 lines
Quoted 4 lines

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?

Quoted 2 lines

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

Signature · 2 lines
Tomasz Chmielewski
http://wpkg.org
#3 lore raw
Quoted 6 lines · Tomasz Chmielewski
Quoted 1 line

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

Quoted 6 lines
Quoted 2 lines

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

Signature · 2 lines
Daniel Jacobowitz
CodeSourcery