All of lore.kernel.org
 help / color / mirror / Atom feed
From: Aurelien Jarno <aurelien@aurel32.net>
To: qemu-devel@nongnu.org, zyj001et@gmail.com
Subject: Re: [Qemu-devel] MIPSEL emulation is broken in svn
Date: Thu, 15 Jan 2009 17:40:49 +0100	[thread overview]
Message-ID: <496F6711.1050908@aurel32.net> (raw)
In-Reply-To: <200901160001567182376@gmail.com>

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

      reply	other threads:[~2009-01-15 16:41 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-15 16:02 [Qemu-devel] MIPSEL emulation is broken in svn yajin
2009-01-15 16:40 ` Aurelien Jarno [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=496F6711.1050908@aurel32.net \
    --to=aurelien@aurel32.net \
    --cc=qemu-devel@nongnu.org \
    --cc=zyj001et@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.