Received: from eggs.gnu.org ([140.186.70.92]:58636) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QW29v-0006vB-Mv for qemu-devel@nongnu.org; Mon, 13 Jun 2011 04:06:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QW29t-00029s-Oo for qemu-devel@nongnu.org; Mon, 13 Jun 2011 04:06:07 -0400 Received: from nm3.bullet.mail.sg1.yahoo.com ([115.178.12.225]:44379) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QW29s-00028x-NJ for qemu-devel@nongnu.org; Mon, 13 Jun 2011 04:06:05 -0400 Message-ID: <440433.61213.qm@web77915.mail.sg1.yahoo.com> Date: Mon, 13 Jun 2011 16:05:59 +0800 (SGT) From: =?utf-8?B?TMOqIMSQ4bupYyBUw6Bp?= MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-2010282581-1307952359=:61213" Subject: Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: "Edgar E. Iglesias" Cc: Alexander Graf , "qemu-devel@nongnu.orgDevelopers" --0-2010282581-1307952359=:61213 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi,=0A=0AI have a new question about QEMU for virtex-ml507.=0ACan QEMU disp= lay X11 on this board?=0A=0ABecause I don't see any VGA output when remove = "-nographic" option.=0AQEMU just display "monitor console" and "serial cons= ole".=0A=0ATai=0A=0A=0A=0A=0A=0A________________________________=0AT=E1=BB= =AB: L=C3=AA =C4=90=E1=BB=A9c T=C3=A0i =0A=C4=90= =E1=BA=BFn: Edgar E. Iglesias =0ACc: Alexander Gr= af ; "qemu-devel@nongnu.orgDevelopers" =0A=0AG=E1=BB=ADi ng=C3=A0y: 10:56:14, Th=E1=BB=A9 B=E1=BA=A3y, 11 th=C3= =A1ng 6 2011 =0ACh=E1=BB=A7 =C4=91=E1=BB=81: [Qemu-devel] HDD problem with = Xilinx virtex-ml507 board=0A=0A=0AHi,=0AI have a problem when emulating vir= tex-ml507.=0ALoop device can not be mounted as hda, no partitions are liste= d.=0A=0AMy environment is as following:=0A=0A1. Qemu 0.14.1 build with libf= dt support.=0A=0A2. Kernel download from Xilinx Git server.=0A config is= customized from 44x/virtex_defconfig with enable some option to =0Amake k= ernel can automount filesystem:=0A Under device drivers--->block devices= :=0A CONFIG_BLK_DEV_LOOP=0A CONFIG_BLK_DEV_RAM=0A CONFIG_BLK_DEV_N= BD=0A Under device drivers--->ATA/ATAPI/MFM/RLL support =0A CONFIG_ID= E_GD=0A CONFIG_IDE_GD_ATA=0A CONFIG_BLK_DEV_GENERIC=0A CONFIG_BLK_= DEV_PIIX=0A Under file systems:=0A CONFIG_AUTOFS_FS=0A CONFIG_AUTO= FS4_FS=0A Also the ext2, ext3 file systems are supported=0A=0A3. RFS is= busybox=0A=0ARun Qemu:=0A$ qemu-system-ppc -M virtex-ml507 -kernel vmlinux= -m 256 -hda rootfs_ppc.ext2 =0A-append "console=3DttyS0 root=3D/dev/hda" = -nographic=0AOutput:=0A[ 0.755969] NET: Registered protocol family 17=0A= [ 0.760477] hd: no drives specified - use hd=3Dcyl,head,sectors on kerne= l =0Acommand line=0A[ 0.782726] Root-NFS: no NFS server address=0A[ 0= .782932] VFS: Unable to mount root fs via NFS, trying floppy.=0A[ 0.790= 541] VFS: Cannot open root device "hda" or unknown-block(2,0)=0A[ 0.7924= 38] Please append a correct "root=3D" boot option; here are the =0Aavailabl= e partitions:=0A[ 0.795265] Kernel panic - not syncing: VFS: Unable to m= ount root fs on =0Aunknown-block(2,0)=0A=0ACan you help me for this problem= ?=0AThank.=0A=0ATaiLD --0-2010282581-1307952359=:61213 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
Hi,

I have a new question abou= t QEMU for virtex-ml507.
Can QEMU display X11 on this board?

Beca= use I don't see any VGA output when remove "-nographic" option.
QEMU jus= t display "monitor console" and "serial console".

Tai

=


T=E1=BB=AB: L=C3=AA =C4=90=E1=BB=A9c T=C3=A0i <letai_dhqg@yahoo.com.vn>
= =C4=90=E1=BA=BFn: Edgar E. Ig= lesias <edgar.iglesias@gmail.com>
= Cc: Alexander Graf <agraf@suse.de>; "qemu-devel@nongnu.org= Developers" <qemu-devel@nongnu.org>
G=E1=BB=ADi ng=C3=A0y: 10:56:14, Th=E1=BB=A9 B=E1=BA=A3y= , 11 th=C3=A1ng 6 2011
Ch=E1=BB= =A7 =C4=91=E1=BB=81: [Qemu-devel] HDD problem with Xilinx virtex= -ml507 board

Hi,
I have a= problem when emulating virtex-ml507.
Loop device can not be moun= ted as hda, no partitions are listed.

My environmen= t is as following:

1. Qemu 0.14.1 build with libfdt support.

2. Kernel download from Xilinx Git server.

&nb= sp;   con
fig is=0A custom= ized from 44x/virtex_defconfig with enable some option to make kernel can a= utomount filesystem:
    Under device drivers--->block devices:
    CONFIG_BLK_DEV_LOOP
    C= ONFIG_BLK_DEV_RAM
    CONFIG_BLK_DEV_NBD
  &= nbsp; Under device drivers--->ATA/ATAPI/MFM/RLL support
 = ;   CONFIG_IDE_GD
    CONFIG_IDE_GD_ATA
&nbs= p;   CONFIG_BLK_DEV_GENERIC
    CONFIG_BLK_DEV_= PIIX

 &= nbsp;  Under file systems:
    CONFIG_A= UTOFS_FS
    CONFIG_AUTOFS= 4_FS

=     Also the
ext2, ext3 
file systems are supported<= br>
3. RFS is busybox

Run Qemu:
$ qemu-system-ppc -M virtex-ml507 -k= ernel vmlinux -m=0A 256 -hda rootfs_ppc.ext2 -append "console=3DttyS0 root= =3D/dev/hda" -nographic
Output:
[  &nbs= p; 0.755969] NET: Registered protocol family 17
[  &nbs= p; 0.760477] hd: no drives specified - use hd=3Dcyl,head,sectors on kernel = command line
[    0.782726] Root-NFS: no NFS serve= r address
[    0.782932] VFS: Unable to mount root= fs via NFS, trying=0A floppy.
[    0.790541] VFS:= Cannot open root device "hda" or unknown-block(2,0)
[  = ;  0.792438] Please append a correct "root=3D" boot option; here are t= he available partitions:
[    0.795265] Kernel pan= ic - not syncing: VFS: Unable to mount root fs on unknown-block(2,0)=


Can you help me for this problem?
Thank.

TaiLD
=
=0A
--0-2010282581-1307952359=:61213--