qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] MIPSEL emulation is broken in svn
@ 2009-01-15 16:02 yajin
  2009-01-15 16:40 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: yajin @ 2009-01-15 16:02 UTC (permalink / raw)
  To: qemu-devel

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

Hi everyone,

I check out the current qemu code in svn(version 6311 )  and compiled it using gcc 3.4 in ubuntu 8.04 for mipsel emulation. I follow the steps in http://www.aurel32.net/info/debian_mips_qemu.php.

1. ./configure --target-list=mipsel-softmmu
2. cd mipsel-softmmu
3. ../qemu-img create -f qcow hda.img 10G 
4. $ wget http://ftp.de.debian.org/debian/dists/etch/main/installer-mipsel/current/images/qemu/netboot/vmlinux-2.6.18-6-qemu 
    $ wget http://ftp.de.debian.org/debian/dists/etch/main/installer-mipsel/current/images/qemu/netboot/initrd.gz 

5. ./qemu-system-mipsel -kernel vmlinux-2.6.18-6-qemu -initrd initrd.gz -hda hda.img -append "root=/dev/ram console=ttyS0" -nographic


But there is no serial put on console. 

I try it on qemu 0.91 and it works.

I wonder whether the mipsel emulation of current svn version of qemu is broken?


Thanks & Regards

yajin

http://vm-kernel.org

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

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

* Re: [Qemu-devel] MIPSEL emulation is broken in svn
  2009-01-15 16:02 [Qemu-devel] MIPSEL emulation is broken in svn yajin
@ 2009-01-15 16:40 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2009-01-15 16:40 UTC (permalink / raw)
  To: qemu-devel, zyj001et

yajin a écrit :
> Hi everyone,
>  
> I check out the current qemu code in svn(version 6311 )  and compiled it
> using gcc 3.4 in ubuntu 8.04 for mipsel emulation. I follow the steps in
> http://www.aurel32.net/info/debian_mips_qemu.php.
>  
> 1. ./configure --target-list=mipsel-softmmu
> 2. cd mipsel-softmmu
> 3. ../qemu-img create -f qcow hda.img 10G
> 4. $ wget
> http://ftp.de.debian.org/debian/dists/etch/main/installer-mipsel/current/images/qemu/netboot/vmlinux-2.6.18-6-qemu
> 
>     $ wget
> http://ftp.de.debian.org/debian/dists/etch/main/installer-mipsel/current/images/qemu/netboot/initrd.gz
> 
>  
> 5. ./qemu-system-mipsel -kernel vmlinux-2.6.18-6-qemu -initrd initrd.gz
> -hda hda.img -append "root=/dev/ram console=ttyS0" -nographic
>  
>  
> But there is no serial put on console.
>  
> I try it on qemu 0.91 and it works.
>  
> I wonder whether the mipsel emulation of current svn version of qemu is
> broken?
>  

No, it is not, it's just that the default emulated machine has changed.
Try adding '-M mips' to the arguments.


-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

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

end of thread, other threads:[~2009-01-15 16:41 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-15 16:02 [Qemu-devel] MIPSEL emulation is broken in svn yajin
2009-01-15 16:40 ` Aurelien Jarno

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