From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=34678 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OTi8e-0000xl-GM for qemu-devel@nongnu.org; Tue, 29 Jun 2010 17:14:41 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OTi8Z-00076F-Fq for qemu-devel@nongnu.org; Tue, 29 Jun 2010 17:14:40 -0400 Received: from hall.aurel32.net ([88.191.82.174]:57371) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OTi8Z-000768-Aw for qemu-devel@nongnu.org; Tue, 29 Jun 2010 17:14:35 -0400 Date: Tue, 29 Jun 2010 23:14:24 +0200 From: Aurelien Jarno Subject: Re: [Qemu-devel] [PATCH v4 6/7] MIPS: Initial support of fulong mini pc (machine construction) Message-ID: <20100629211424.GB3811@ohm.aurel32.net> References: <1275734476-5223-1-git-send-email-zltjiangshi@gmail.com> <20100620223914.GH16320@hall.aurel32.net> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline In-Reply-To: List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: chen huacai Cc: blauwirbel@gmail.com, yamahata@valinux.co.jp, qemu-devel@nongnu.org On Mon, Jun 21, 2010 at 02:55:33PM +0800, chen huacai wrote: > Loongson-specific instructions haven't implememted now. So, if want to > boot a linux kernel, we should built a 32bit one and drop > -march=loongson2e compiler flags. For simplification, please use the > kernel patch (for 2.6.33) in the attachment and then use > arch/mips/configs/fuloong2e_defconfig to compile a kernel. Besides, > the disk image I used is debian-lenny built by you which is available > at http://people.debian.org/~aurel32/qemu/mipsel/debian_lenny_mipsel_small.qcow2. > It indeed works, however I still think there is a problem. 64-bit kernels should also boot when dropping -march=loongson2e. Also after adding the Loongson-specific integer instructions, I am able to boot a 32-bit kernel built with -march=loongson2e, but not a 64-bit kernel. -- Aurelien Jarno GPG: 1024D/F1BCDB73 aurelien@aurel32.net http://www.aurel32.net