From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HoioY-0007Xs-Na for qemu-devel@nongnu.org; Thu, 17 May 2007 12:26:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HoioX-0007Xf-PO for qemu-devel@nongnu.org; Thu, 17 May 2007 12:26:54 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HoioX-0007Xc-J2 for qemu-devel@nongnu.org; Thu, 17 May 2007 12:26:53 -0400 Received: from ug-out-1314.google.com ([66.249.92.169]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1HoigQ-0003X5-1b for qemu-devel@nongnu.org; Thu, 17 May 2007 12:18:30 -0400 Received: by ug-out-1314.google.com with SMTP id j40so305920ugd for ; Thu, 17 May 2007 09:18:28 -0700 (PDT) Message-ID: <10541fa50705170918g16fc75d5m76bfa609a41703a7@mail.gmail.com> Date: Fri, 18 May 2007 00:18:28 +0800 From: PianoPan MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline Subject: [Qemu-devel] How to Linux kernel for MIPSEL qemu 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 Hello every one, I try to build a mipsel kernel by myself for qemu-system-mipsel. But the qemu can not boot it properly. Is there anyone can give me some suggestion about it. My method is following, * Get the kernel of 2.6.18.3 from kernel.org * Get the config.gz from the mipsel kernel that be provided by Qemu web. * uncompress config.gz and rename it as .config, copy it to Linux kernel directory . * in the kernel directory, use following command to build the kernel make ARCH=mips CROSS_COMPILE=/opt/noki/mipsel-unknown-linux/sdktool/bin/mipsel-unknown-linux- oldconfig make ARCH=mips CROSS_COMPILE=/opt/noki/mipsel-unknown-linux/sdktool/bin/mipsel-unknown-linux- all after build , I use qemu 0.9 to boot it, and do not successes. #qemu-system-mipsel -kernel vmlinux -initrd initrd.gz -append "console=ttyS0" qemu: Warning, could not load MIPS bios '/opt/noki/mipsel-unknown-linux//sdktool//share/qemu/mipsel_bios.bin' qemu: could not load kernel 'vmlinux' Best regard! Pan