From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LNVHD-0004TB-6l for qemu-devel@nongnu.org; Thu, 15 Jan 2009 11:41:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LNVH7-0004SS-Pi for qemu-devel@nongnu.org; Thu, 15 Jan 2009 11:41:02 -0500 Received: from [199.232.76.173] (port=44108 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LNVH7-0004SP-Nm for qemu-devel@nongnu.org; Thu, 15 Jan 2009 11:40:57 -0500 Received: from hall.aurel32.net ([88.191.82.174]:37074) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LNVH7-0004gL-7a for qemu-devel@nongnu.org; Thu, 15 Jan 2009 11:40:57 -0500 Message-ID: <496F6711.1050908@aurel32.net> Date: Thu, 15 Jan 2009 17:40:49 +0100 From: Aurelien Jarno MIME-Version: 1.0 Subject: Re: [Qemu-devel] MIPSEL emulation is broken in svn References: <200901160001567182376@gmail.com> In-Reply-To: <200901160001567182376@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, zyj001et@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