From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:53045) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW2HT-00084j-SU for qemu-devel@nongnu.org; Mon, 13 Jun 2011 04:13:57 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW2HS-0003hR-MM for qemu-devel@nongnu.org; Mon, 13 Jun 2011 04:13:55 -0400 Received: from mail-ww0-f53.google.com ([74.125.82.53]:33955) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW2HS-0003hI-96 for qemu-devel@nongnu.org; Mon, 13 Jun 2011 04:13:54 -0400 Received: by wwj40 with SMTP id 40so4072974wwj.10 for ; Mon, 13 Jun 2011 01:13:52 -0700 (PDT) Date: Mon, 13 Jun 2011 10:13:49 +0200 From: "Edgar E. Iglesias" Message-ID: <20110613081349.GA9010@edde.se.axis.com> References: <440433.61213.qm@web77915.mail.sg1.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <440433.61213.qm@web77915.mail.sg1.yahoo.com> Subject: Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: =?iso-8859-1?B?TOogPz8/Pz9jIFTgaQ==?= Cc: Alexander Graf , "qemu-devel@nongnu.orgDevelopers" On Mon, Jun 13, 2011 at 04:05:59PM +0800, Lê ?????c Tài wrote: > Hi, > I have a new question about QEMU for virtex-ml507. > Can QEMU display X11 on this board? > Because I don't see any VGA output when remove "-nographic" option. > QEMU just display "monitor console" and "serial console". > Tai > __________________________________________________________________ > > Từ: Lê Äức Tà i > Äến: Edgar E. Iglesias > Cc: Alexander Graf ; "qemu-devel@nongnu.orgDevelopers" > > Gá»i ngà y: 10:56:14, Thứ Bảy, 11 tháng 6 2011 > Chá»§ Äá»: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board > Hi, > I have a problem when emulating virtex-ml507. > Loop device can not be mounted as hda, no partitions are listed. > My environment is as following: > 1. Qemu 0.14.1 build with libfdt support. > 2. Kernel download from Xilinx Git server. > config is customized from 44x/virtex_defconfig with enable some > option to make kernel can automount filesystem: > Under device drivers--->block devices: > CONFIG_BLK_DEV_LOOP > CONFIG_BLK_DEV_RAM > CONFIG_BLK_DEV_NBD > Under device drivers--->ATA/ATAPI/MFM/RLL support > CONFIG_IDE_GD > CONFIG_IDE_GD_ATA > CONFIG_BLK_DEV_GENERIC > CONFIG_BLK_DEV_PIIX > Under file systems: > CONFIG_AUTOFS_FS > CONFIG_AUTOFS4_FS > Also the ext2, ext3 file systems are supported > 3. RFS is busybox > Run Qemu: > $ qemu-system-ppc -M virtex-ml507 -kernel vmlinux -m 256 -hda > rootfs_ppc.ext2 -append "console=ttyS0 root=/dev/hda" -nographic > Output: > [ 0.755969] NET: Registered protocol family 17 > [ 0.760477] hd: no drives specified - use hd=cyl,head,sectors on > kernel command line > [ 0.782726] Root-NFS: no NFS server address > [ 0.782932] VFS: Unable to mount root fs via NFS, trying floppy. > [ 0.790541] VFS: Cannot open root device "hda" or unknown-block(2,0) > [ 0.792438] Please append a correct "root=" boot option; here are > the available partitions: > [ 0.795265] Kernel panic - not syncing: VFS: Unable to mount root fs > on unknown-block(2,0) > Can you help me for this problem? Hi, The emulated board doesn't have harddisks, you'll need to use ramdisks or the emulated NOR flash. There is no VGA controller. Cheers