* Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
@ 2011-06-13 8:05 Lê Đức Tài
2011-06-13 8:13 ` Edgar E. Iglesias
0 siblings, 1 reply; 6+ messages in thread
From: Lê Đức Tài @ 2011-06-13 8:05 UTC (permalink / raw)
To: Edgar E. Iglesias; +Cc: Alexander Graf, qemu-devel@nongnu.orgDevelopers
[-- Attachment #1: Type: text/plain, Size: 2115 bytes --]
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 <letai_dhqg@yahoo.com.vn>
Đến: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Cc: Alexander Graf <agraf@suse.de>; "qemu-devel@nongnu.orgDevelopers"
<qemu-devel@nongnu.org>
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?
Thank.
TaiLD
[-- Attachment #2: Type: text/html, Size: 6969 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
2011-06-13 8:05 [Qemu-devel] HDD problem with Xilinx virtex-ml507 board Lê Đức Tài
@ 2011-06-13 8:13 ` Edgar E. Iglesias
2011-06-13 8:29 ` Lê Đức Tài
0 siblings, 1 reply; 6+ messages in thread
From: Edgar E. Iglesias @ 2011-06-13 8:13 UTC (permalink / raw)
To: Lê ?????c Tài; +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 <letai_dhqg@yahoo.com.vn>
> Äến: Edgar E. Iglesias <edgar.iglesias@gmail.com>
> Cc: Alexander Graf <agraf@suse.de>; "qemu-devel@nongnu.orgDevelopers"
> <qemu-devel@nongnu.org>
> 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
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
2011-06-13 8:13 ` Edgar E. Iglesias
@ 2011-06-13 8:29 ` Lê Đức Tài
2011-06-13 8:49 ` Edgar E. Iglesias
0 siblings, 1 reply; 6+ messages in thread
From: Lê Đức Tài @ 2011-06-13 8:29 UTC (permalink / raw)
To: Edgar E. Iglesias; +Cc: Alexander Graf, qemu-devel@nongnu.orgDevelopers
[-- Attachment #1: Type: text/plain, Size: 3070 bytes --]
> There is no VGA controller.
OK, but virtex-ml507 have a DVI controler.
Does QEMU support DVI output?
________________________________
Từ: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Đến: Lê ?????c Tài <letai_dhqg@yahoo.com.vn>
Cc: Alexander Graf <agraf@suse.de>; "qemu-devel@nongnu.orgDevelopers"
<qemu-devel@nongnu.org>
Gửi ngày: 15:13:49, Thứ Hai, 13 tháng 6 2011
Chủ đề: Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
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 <letai_dhqg@yahoo.com.vn>
> Äến: Edgar E. Iglesias <edgar.iglesias@gmail.com>
> Cc: Alexander Graf <agraf@suse.de>; "qemu-devel@nongnu.orgDevelopers"
> <qemu-devel@nongnu.org>
> 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
[-- Attachment #2: Type: text/html, Size: 5168 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
2011-06-13 8:29 ` Lê Đức Tài
@ 2011-06-13 8:49 ` Edgar E. Iglesias
2011-06-13 9:21 ` Lê Đức Tài
0 siblings, 1 reply; 6+ messages in thread
From: Edgar E. Iglesias @ 2011-06-13 8:49 UTC (permalink / raw)
To: Lê ?????c Tài; +Cc: Alexander Graf, qemu-devel@nongnu.orgDevelopers
On Mon, Jun 13, 2011 at 04:29:10PM +0800, Lê ?????c Tài wrote:
> > There is no VGA controller.
> OK, but virtex-ml507 have a DVI controler.
> Does QEMU support DVI output?
Hi,
It's not so much about what you can do with the virtex (I bet
you can do lot's of stuff with it) but more limited to the
devices available on the reference design.
Take a look at:
arch/powerpc/boot/dts/virtex440-ml507.dts
to see what the reference design provides.
QEMU provides only a subset of those devices.
But you are of course free to create your own board or
qemu machine, with what ever devices you'd like to throw in.
Cheers
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
2011-06-13 8:49 ` Edgar E. Iglesias
@ 2011-06-13 9:21 ` Lê Đức Tài
0 siblings, 0 replies; 6+ messages in thread
From: Lê Đức Tài @ 2011-06-13 9:21 UTC (permalink / raw)
To: Edgar E. Iglesias; +Cc: Alexander Graf, qemu-devel@nongnu.orgDevelopers
[-- Attachment #1: Type: text/plain, Size: 1211 bytes --]
Can you give me any suggestion for create a face vga controler for my virtex
board.
I just want display a system with X support.
Can I reference to the vga of PowerMac emulator?
Thank
________________________________
Từ: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Đến: Lê ?????c Tài <letai_dhqg@yahoo.com.vn>
Cc: Alexander Graf <agraf@suse.de>; "qemu-devel@nongnu.orgDevelopers"
<qemu-devel@nongnu.org>
Gửi ngày: 15:49:38, Thứ Hai, 13 tháng 6 2011
Chủ đề: Re: [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
On Mon, Jun 13, 2011 at 04:29:10PM +0800, Lê ?????c Tài wrote:
> > There is no VGA controller.
> OK, but virtex-ml507 have a DVI controler.
> Does QEMU support DVI output?
Hi,
It's not so much about what you can do with the virtex (I bet
you can do lot's of stuff with it) but more limited to the
devices available on the reference design.
Take a look at:
arch/powerpc/boot/dts/virtex440-ml507.dts
to see what the reference design provides.
QEMU provides only a subset of those devices.
But you are of course free to create your own board or
qemu machine, with what ever devices you'd like to throw in.
Cheers
[-- Attachment #2: Type: text/html, Size: 1941 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Qemu-devel] HDD problem with Xilinx virtex-ml507 board
@ 2011-06-11 3:56 Lê Đức Tài
0 siblings, 0 replies; 6+ messages in thread
From: Lê Đức Tài @ 2011-06-11 3:56 UTC (permalink / raw)
To: Edgar E. Iglesias; +Cc: Alexander Graf, qemu-devel@nongnu.orgDevelopers
[-- Attachment #1: Type: text/plain, Size: 1506 bytes --]
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?
Thank.
TaiLD
[-- Attachment #2: Type: text/html, Size: 5671 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2011-06-13 9:21 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-06-13 8:05 [Qemu-devel] HDD problem with Xilinx virtex-ml507 board Lê Đức Tài
2011-06-13 8:13 ` Edgar E. Iglesias
2011-06-13 8:29 ` Lê Đức Tài
2011-06-13 8:49 ` Edgar E. Iglesias
2011-06-13 9:21 ` Lê Đức Tài
-- strict thread matches above, loose matches on Subject: below --
2011-06-11 3:56 Lê Đức Tài
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.