From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:38722) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgCPj-0000VZ-Q7 for qemu-devel@nongnu.org; Mon, 11 Jul 2011 05:04:28 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QgCPi-000369-Ae for qemu-devel@nongnu.org; Mon, 11 Jul 2011 05:04:27 -0400 Received: from mail.windriver.com ([147.11.1.11]:43656) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QgCPh-00035w-Jj for qemu-devel@nongnu.org; Mon, 11 Jul 2011 05:04:26 -0400 Message-ID: <4E1AC349.5010400@gmail.com> Date: Mon, 11 Jul 2011 17:32:57 +0800 From: Xiao Jiang MIME-Version: 1.0 References: <4E1AB285.90707@gmail.com> In-Reply-To: Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] How to run realview-pbx-a9 image in qemu List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: David Gilbert Cc: qemu-devel@nongnu.org David Gilbert wrote: > On 11 July 2011 09:21, Xiao Jiang wrote: > >> Hello, >> >> I downloaded latest qemu 0.14.1, it should support realview-pbx-a9 board now >> from >> below cmd. >> $ qemu-system-arm -M ?|grep Cortex-A9 >> realview-pbx-a9 ARM RealView Platform Baseboard Explore for Cortex-A9 >> >> Then I compiled a zImage from latest mainline with use >> realview-smp_defconfig as config >> file, but unfortunately qemu can't run with the image, I had tried the below >> instructions. >> 1. qemu-system-arm -M realview-pbx-a9 -kernel zImage -initrd initrd.img >> -nographic -append "console=ttyAMA0" >> 2. qemu-system-arm -M realview-pbx-a9 -m 1024M -kernel zImage -nographic >> -append "root=/dev/nfs nfsroot=128.225.160.22:/home/work/rootfs rw >> console=ttyAMA0 rdinit=/sbin/init" -net nic -net tap,ifname=tap0,script=no >> Both instructions can't work, console is hang and no informations is >> appeared. >> so I am wondering if there are something wrong about the kernel, am I choose >> the wrong >> config file for realview-pbx-a9 board? Or the native mainline kernel can't >> boot on >> qemu? Any suggestions? Thanks a lot! >> > > The command I use is: > > sudo ./arm-softmmu/qemu-system-arm -M realview-pbx-a9 -m 1024 -kernel > thekernel -serial telnet::4444,server -append "console=earlycon > console=ttyS0 console=ttyAMA0 earlyprintk root=/dev/nfs > nfsroot=10.1.1.1:/armroot rw > ip=10.1.1.2:10.1.1.1:10.1.1.1:255.255.255.0:armqemu nfsrootdebug " > -net nic -net tap,ifname=tap0,script=no,downscript=no > > and then telnet to port 4444 to get the console. > > (I'm using the linaro qemu tree). > > Hi Dave, Thanks you very much, I will try it :) Regards, Xiao > Dave >